Merge "bugfix: /resources.json and /APIs cannot be accessed"
[releng.git] / utils / test / testapi / .coveragerc
1 # .coveragerc to control coverage.py
2
3 [run]
4 branch = True
5 source =
6     opnfv_testapi
7
8 [report]
9 # Regexes for lines to exclude from consideration
10 exclude_lines =
11         # Have to re-enable the standard pragma
12         pragma: no cover
13
14         # Don't complain about missing debug-only code:
15         def __repr__
16         if self\.debug
17
18         # Don't complain if tests don't hit defensive assertion code:
19         raise AssertionError
20         raise NotImplementedError
21
22         # Don't complain if non-runnable code isn't run:
23         if 0:
24         if __name__ == .__main__.:
25
26 ignore_errors = True
27