Relative Content

Tag Archive for pythondjangotestingcoverage.py

Why ‘coverage’ considers all of my class-based-views as tested?

I’m just learning django testing.
When I use ‘Coverage’ module to check which parts of my code is tested, it considers almost all of class-based-views as tested while I have commented out all of my tests.
I investigated this problem and found that in urls.py I have this line: