Alex Shatov | 8cdeeeb | 2017-09-26 17:03:11 -0400 | [diff] [blame] | 1 | # .coveragerc to control coverage.py |
| 2 | [run] |
| 3 | branch = True |
| 4 | cover_pylib = False |
| 5 | # include = */onap_dcae_dcaepolicy_lib/*.py |
| 6 | |
| 7 | [report] |
| 8 | # Regexes for lines to exclude from consideration |
| 9 | exclude_lines = |
| 10 | # Have to re-enable the standard pragma |
| 11 | pragma: no cover |
| 12 | |
| 13 | # Don't complain about missing debug-only code: |
| 14 | def __repr__ |
| 15 | if self\.debug |
| 16 | |
| 17 | # Don't complain if tests don't hit defensive assertion code: |
| 18 | raise AssertionError |
| 19 | raise NotImplementedError |
| 20 | |
| 21 | # Don't complain if non-runnable code isn't run: |
| 22 | if 0: |
| 23 | if __name__ == .__main__.: |
| 24 | |
| 25 | ignore_errors = True |