Excluding test code from coverage reports
Coverage report should not include statiststics on test modules which is not only unnecessary, but also pollutes the coverage statistics and pollutes the final report. Requesting the path to tests to be omitted in .coveragerc resolves the issue. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: Ifedaa1c8bfab23d92958e58c69c03e778454a408
This commit is contained in:
parent
5501ac7d1d
commit
7985d49689
@ -1,6 +1,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = openstackclient
|
||||
omit = openstackclient/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
|
Loading…
Reference in New Issue
Block a user