summaryrefslogtreecommitdiffstats
path: root/conductor/.coveragerc
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-07 18:33:33 -0800
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-09 05:37:34 -0800
commit4cff4c23d5f17f6e67b25b1224996c4f56c544f4 (patch)
tree26f22c3f04e27d315413cc6101622e6570472b3b /conductor/.coveragerc
parentb0eaf268072c637f68a1d7cf6dd162ab4f3e74f7 (diff)
Adding more unit tests and .coveragerc
Added more unit tests for DataEndpoint class Usage of pragma reverted Change-Id: Id8d4ff76c3ca75a2538352b7eb29b87b1a598794 Issue-ID: OPTFRA-101 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'conductor/.coveragerc')
-rw-r--r--conductor/.coveragerc21
1 files changed, 21 insertions, 0 deletions
diff --git a/conductor/.coveragerc b/conductor/.coveragerc
new file mode 100644
index 0000000..10eba38
--- /dev/null
+++ b/conductor/.coveragerc
@@ -0,0 +1,21 @@
+# .coveragerc to control coverage.py
+[report]
+# Regexes for lines to exclude from consideration
+exclude_lines =
+ # Have to re-enable the standard pragma
+ pragma: no cover
+
+ # Don't complain about missing debug-only code:
+ def __repr__
+ def main()
+ if self\.debug
+
+ # Don't complain if tests don't hit defensive assertion code:
+ raise AssertionError
+ raise NotImplementedError
+
+ # Don't complain if non-runnable code isn't run:
+ if 0:
+ if __name__ == .__main__.:
+
+ignore_errors = True