test code should be excluded from test coverage summary
Since the recent movement of the test code directory, now entire test code is included in the test coverage summary, it makes a rather strange loop, test code in the summary also shows being tested or not tested. This patch will fix the problem so that the test coverage summary will not show the coverage percentage for test code. Change-Id: Ibbb4a009f01515befdd7045d6eec1afaf24ca99f
This commit is contained in:
parent
2dfc578b2d
commit
5746d52ea8
11
.coveragerc
11
.coveragerc
@ -1,5 +1,8 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = ceilometer
|
||||
omit = ceilometer/tests/*, ceilometer/openstack/common/*
|
||||
|
||||
[report]
|
||||
# code copied from oslo openstack common code, we do not have
|
||||
# test cases particularly for these modules, excluding them
|
||||
# from coverage report
|
||||
omit = ceilometer/openstack/common/*.py
|
||||
ignore-errors = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user