blob: b4635f937aa3da91974d98c8b1de34c29f2562d1 [file] [log] [blame]
Alex Shatov9144f042017-09-22 17:34:48 -04001# .coveragerc to control coverage.py
2[run]
3branch = True
4cover_pylib = False
Alex Shatov2d452d12017-09-26 17:38:12 -04005include = */policyhandler/*.py
6omit =
7 # omit client libs
Alex Shatov1369bea2018-01-10 11:00:50 -05008 # policyhandler/onap/CommonLogger.py
Alex Shatov9144f042017-09-22 17:34:48 -04009
10[report]
11# Regexes for lines to exclude from consideration
12exclude_lines =
13 # Have to re-enable the standard pragma
14 pragma: no cover
15
16 # Don't complain about missing debug-only code:
17 def __repr__
18 if self\.debug
19
20 # Don't complain if tests don't hit defensive assertion code:
21 raise AssertionError
22 raise NotImplementedError
23
24 # Don't complain if non-runnable code isn't run:
25 if 0:
26 if __name__ == .__main__.:
27
28ignore_errors = True
29
30[xml]
31output = coverage-reports/coverage-policyhandler.xml
32