Alex Shatov | 9144f04 | 2017-09-22 17:34:48 -0400 | [diff] [blame] | 1 | # .coveragerc to control coverage.py |
| 2 | [run] |
| 3 | branch = True |
| 4 | cover_pylib = False |
Alex Shatov | 2d452d1 | 2017-09-26 17:38:12 -0400 | [diff] [blame] | 5 | include = */policyhandler/*.py |
| 6 | omit = |
| 7 | # omit client libs |
Alex Shatov | 1369bea | 2018-01-10 11:00:50 -0500 | [diff] [blame] | 8 | # policyhandler/onap/CommonLogger.py |
Alex Shatov | 9144f04 | 2017-09-22 17:34:48 -0400 | [diff] [blame] | 9 | |
| 10 | [report] |
| 11 | # Regexes for lines to exclude from consideration |
| 12 | exclude_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 | |
| 28 | ignore_errors = True |
| 29 | |
| 30 | [xml] |
| 31 | output = coverage-reports/coverage-policyhandler.xml |
| 32 | |