Browse Source

Include missing unit tests to test runner config

We were not running those tests in CI, bad :(
Rodolfo Carvalho 8 years ago
parent
commit
6ea3e74060

roles/lib_openshift/src/test/unit/oadm_manage_node.py → roles/lib_openshift/src/test/unit/test_oadm_manage_node.py


roles/lib_openshift/src/test/unit/oc_env.py → roles/lib_openshift/src/test/unit/test_oc_env.py


roles/lib_openshift/src/test/unit/oc_label.py → roles/lib_openshift/src/test/unit/test_oc_label.py


roles/lib_openshift/src/test/unit/oc_process.py → roles/lib_openshift/src/test/unit/test_oc_process.py


roles/lib_openshift/src/test/unit/oc_route.py → roles/lib_openshift/src/test/unit/test_oc_route.py


roles/lib_openshift/src/test/unit/oc_scale.py → roles/lib_openshift/src/test/unit/test_oc_scale.py


roles/lib_openshift/src/test/unit/oc_secret.py → roles/lib_openshift/src/test/unit/test_oc_secret.py


roles/lib_openshift/src/test/unit/oc_service.py → roles/lib_openshift/src/test/unit/test_oc_service.py


roles/lib_openshift/src/test/unit/oc_serviceaccount.py → roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py


roles/lib_openshift/src/test/unit/oc_serviceaccount_secret.py → roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py


roles/lib_openshift/src/test/unit/oc_version.py → roles/lib_openshift/src/test/unit/test_oc_version.py


roles/lib_utils/src/test/unit/repoquery.py → roles/lib_utils/src/test/unit/test_repoquery.py


roles/lib_utils/src/test/unit/yedit_test.py → roles/lib_utils/src/test/unit/test_yedit.py


+ 5 - 1
setup.cfg

@@ -5,7 +5,11 @@
 universal=1
 
 [nosetests]
-tests=roles/openshift_master_facts/test/, test/
+tests=roles/lib_openshift/src/test/unit,
+      roles/lib_utils/src/test/unit,
+      roles/openshift_master_facts/test,
+      test
+exe=1  # TODO(rhcarvalho): unset executable bits in test files and remove this
 verbosity=2
 with-coverage=1
 cover-html=1