Reputation: 223
I wrote a unittest for my model, the test passes but it says I have zero percent coverage. Any advice would be appreciated.
Upvotes: 0
Views: 206
Reputation: 39689
This is a known issue, models are already imported before test command is executed because of app configuration process. Try to apply the patch given by eliangcs.
Upvotes: 1