summaryrefslogtreecommitdiffstats
path: root/.coveragerc
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2017-09-26 17:38:12 -0400
committerAlex Shatov <alexs@att.com>2017-09-26 17:38:12 -0400
commit2d452d17a679ac85b7a7eba0da8767d6fafb8e4c (patch)
tree013a9cf47f7eb010937df752a56a3717db4adda5 /.coveragerc
parent9144f04afe7c56e762b6e4d0c28fd5726a3746ba (diff)
omit external libs from coverage on UT
* omit the client libs of outside components * omit = # omit client libs policyhandler/PolicyEngine.py policyhandler/onap/CommonLogger.py Change-Id: If28158913b025a9f2217c61acd17a7d5e5cee668 Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc
index ffa5826..f059bcf 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -2,7 +2,11 @@
[run]
branch = True
cover_pylib = False
-# include = */policyhandler/*.py
+include = */policyhandler/*.py
+omit =
+ # omit client libs
+ policyhandler/PolicyEngine.py
+ policyhandler/onap/CommonLogger.py
[report]
# Regexes for lines to exclude from consideration