1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

Making new reports more accurate

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@10961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Kevin Kubasik 2009-06-09 11:22:19 +00:00
parent 125135430e
commit 40ad3e0c83

View File

@ -57,7 +57,7 @@ class BaseCoverageRunner(object):
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