mirror of https://github.com/zulip/zulip.git
Remove tools/tests/* from test-tools test coverage.
Testing the tests seems redundant.
This commit is contained in:
parent
91a1e8aebc
commit
7070e1ce7c
|
@ -29,7 +29,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if options.coverage:
|
if options.coverage:
|
||||||
import coverage
|
import coverage
|
||||||
cov = coverage.Coverage(omit="*/zulip-venv-cache/*")
|
cov = coverage.Coverage(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