diff options
author | Jiri Podivin <jpodivin@redhat.com> | 2022-09-07 09:05:58 +0200 |
---|---|---|
committer | Jiri Podivin <jpodivin@redhat.com> | 2023-01-04 11:00:47 +0000 |
commit | 7985d496892635b70b71be552c52946824d73e9b (patch) | |
tree | e75ff18dbbcb2835dca490de5781a9dae14533f4 | |
parent | 5501ac7d1dc9bef97840fea98c55c86bcb10792f (diff) | |
download | python-openstackclient-7985d496892635b70b71be552c52946824d73e9b.tar.gz |
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
-rw-r--r-- | .coveragerc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc index 3685187b..8dc03265 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,7 @@ [run] branch = True source = openstackclient +omit = openstackclient/tests/* [report] ignore_errors = True |