mirror of https://github.com/zulip/zulip.git
test-backend: Fix venv files being included in coverage reports.
This commit is contained in:
parent
f9bbc5d6ff
commit
e4707af2e2
|
@ -36,7 +36,7 @@ if __name__ == "__main__":
|
|||
|
||||
if options.coverage:
|
||||
import coverage
|
||||
cov = coverage.Coverage()
|
||||
cov = coverage.Coverage(omit="/srv/zulip-venv-cache/*")
|
||||
cov.start()
|
||||
if options.profile:
|
||||
import cProfile
|
||||
|
|
Loading…
Reference in New Issue