summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..baeea14f0 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
+cover-erase=1
+detailed-errors=1
[flake8]
max-line-length=120