[TIP] Getting Weird Coverage Reports
John Anderson
sontek at gmail.com
Fri Nov 25 03:55:05 PST 2011
I have a base class that all my models inherit from:
http://paste2.org/p/1796621
and majority of my tests are touching models and I even have tests against
this specific class:
http://paste2.org/p/1796622
Yet, when I run a coverage test in py.test:
py.test --cov-report=term-missing --cov app/models.py
app/models 46 23 50% 1-27, 37-40, 59, 65, 76, 82-84
How are lines 1-27 not covered?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20111125/30d93c3c/attachment.html>
More information about the testing-in-python
mailing list