diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-12-06 11:02:36 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-12-06 22:25:08 -0500 |
commit | 0c555d2d41977025ccfa853685903587b2175c46 (patch) | |
tree | 38dcf8bd2ef66fb3ae8d0e6b7b96c14316d8ddbe | |
parent | a3ce4c106304773b6002458dfb113de9fd36efde (diff) | |
download | openshift-0c555d2d41977025ccfa853685903587b2175c46.tar.gz openshift-0c555d2d41977025ccfa853685903587b2175c46.tar.bz2 openshift-0c555d2d41977025ccfa853685903587b2175c46.tar.xz openshift-0c555d2d41977025ccfa853685903587b2175c46.zip |
test updates
- fix nose coverage flags
- add coverage support for files tested outside of the utils directory
- exclude stdlib and virtualenv installed dependencies
-rw-r--r-- | utils/.coveragerc | 4 | ||||
-rw-r--r-- | utils/setup.cfg | 10 |
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 |