summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/.coveragerc4
-rw-r--r--utils/setup.cfg10
2 files changed, 10 insertions, 4 deletions
diff --git a/utils/.coveragerc b/utils/.coveragerc
new file mode 100644
index 000000000..0c870af42
--- /dev/null
+++ b/utils/.coveragerc
@@ -0,0 +1,4 @@
+[run]
+omit=
+ */lib/python*/site-packages/*
+ /usr/*
diff --git a/utils/setup.cfg b/utils/setup.cfg
index f5f0d8aad..18b4e3057 100644
--- a/utils/setup.cfg
+++ b/utils/setup.cfg
@@ -7,10 +7,12 @@ universal=1
[nosetests]
tests=../,../roles/openshift_master_facts/test/,test/
verbosity=2
-with_coverage=1
-cover_html=1
-cover_package=ooinstall
-cover_min_percentage=70
+with-coverage=1
+cover-html=1
+cover-inclusive=1
+cover-min-percentage=70
+detailed-errors=1
+cover-branches=1
[flake8]
max-line-length=120