mirror of https://github.com/zulip/zulip.git
Analyze branch coverage in test-tools.
This commit is contained in:
parent
4f091fd844
commit
911634d1d4
|
@ -29,7 +29,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if options.coverage:
|
if options.coverage:
|
||||||
import 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()
|
cov.start()
|
||||||
|
|
||||||
suite = loader.discover(start_dir=tools_test_dir, top_level_dir=root_dir)
|
suite = loader.discover(start_dir=tools_test_dir, top_level_dir=root_dir)
|
||||||
|
|
Loading…
Reference in New Issue