Analyze branch coverage in test-tools.

This commit is contained in:
Gordon P. Hemsley 2016-09-10 23:43:39 -04:00 committed by Steve Howell
parent 4f091fd844
commit 911634d1d4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ if __name__ == '__main__':
if options.coverage:
import coverage
cov = coverage.Coverage(omit=[ "*/zulip-venv-cache/*", dir_join(tools_test_dir, "*") ])
cov = coverage.Coverage(branch=True, omit=[ "*/zulip-venv-cache/*", dir_join(tools_test_dir, "*") ])
cov.start()
suite = loader.discover(start_dir=tools_test_dir, top_level_dir=root_dir)