mirror of https://github.com/zulip/zulip.git
testing: Write the .coverage file.
We need to call save explicitly to make coverage write the .coverage file.
This commit is contained in:
parent
a926559889
commit
1d183eabf1
|
@ -328,6 +328,8 @@ if __name__ == "__main__":
|
||||||
cov.stop()
|
cov.stop()
|
||||||
cov.save()
|
cov.save()
|
||||||
cov.combine()
|
cov.combine()
|
||||||
|
cov.data_suffix = False # Disable suffix so that filename is .coverage
|
||||||
|
cov.save()
|
||||||
if options.verbose_coverage:
|
if options.verbose_coverage:
|
||||||
print("Printing coverage data")
|
print("Printing coverage data")
|
||||||
cov.report(show_missing=False)
|
cov.report(show_missing=False)
|
||||||
|
|
Loading…
Reference in New Issue