blob: f059bcfcf52be4c7c810367d3f1ac4349d0ba587 [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
8 policyhandler/PolicyEngine.py
9 policyhandler/onap/CommonLogger.py
Alex Shatov9144f042017-09-22 17:34:48 -040010
11[report]
12# Regexes for lines to exclude from consideration
13exclude_lines =
14 # Have to re-enable the standard pragma
15 pragma: no cover
16
17 # Don't complain about missing debug-only code:
18 def __repr__
19 if self\.debug
20
21 # Don't complain if tests don't hit defensive assertion code:
22 raise AssertionError
23 raise NotImplementedError
24
25 # Don't complain if non-runnable code isn't run:
26 if 0:
27 if __name__ == .__main__.:
28
29ignore_errors = True
30
31[xml]
32output = coverage-reports/coverage-policyhandler.xml
33