Commit c2bbe628 by Tom Christie

Fix coverage to not include migrations

parent 9f71f8e6
...@@ -46,7 +46,7 @@ def main(): ...@@ -46,7 +46,7 @@ def main():
for (path, dirs, files) in os.walk(project_dir): for (path, dirs, files) in os.walk(project_dir):
# Drop tests and runtests directories from the test coverage report # Drop tests and runtests directories from the test coverage report
if os.path.basename(path) == 'tests' or os.path.basename(path) == 'runtests': if os.path.basename(path) in ['tests', 'runtests', 'migrations']:
continue continue
# Drop the compat module from coverage, since we're not interested in the coverage # Drop the compat module from coverage, since we're not interested in the coverage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment