python-openstackclient/.coveragerc
Jiri Podivin 7985d49689 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
2023-01-04 11:00:47 +00:00

8 lines
107 B
INI

[run]
branch = True
source = openstackclient
omit = openstackclient/tests/*
[report]
ignore_errors = True