Author: kkubasik
Date: 2009-06-09 06:22:19 -0500 (Tue, 09 Jun 2009)
New Revision: 10961
Modified:
django/branches/soc2009/test-improvements/django/test/test_coverage.py
Log:
Making new reports more accurate
Modified: django/branches/soc2009/test-improvements/django/test/test_coverage.py
===================================================================
--- django/branches/soc2009/test-improvements/django/test/test_coverage.py
2009-06-09 11:21:57 UTC (rev 10960)
+++ django/branches/soc2009/test-improvements/django/test/test_coverage.py
2009-06-09 11:22:19 UTC (rev 10961)
@@ -57,7 +57,7 @@
coverage_modules, getattr(settings, 'COVERAGE_MODULE_EXCLUDES',
[]),
getattr(settings, 'COVERAGE_PATH_EXCLUDES', []))
for mods in self.modules.keys():
- coverage.analysis2(ModuleVars(mods, self.modules[mods]))
+ coverage.analysis2(ModuleVars(mods,
self.modules[mods]).source_file)
coverage.report(self.modules.values(), show_missing=1)
if self.excludes:
print >> sys.stdout
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---