Browse Source

Replace nose with pytest

Rodolfo Carvalho 8 years ago
parent
commit
16ffe4d70f
3 changed files with 1 additions and 16 deletions
  1. 0 14
      setup.cfg
  2. 0 1
      test-requirements.txt
  3. 1 1
      tox.ini

+ 0 - 14
setup.cfg

@@ -4,20 +4,6 @@
 # will need to generate wheels for each Python version that you support.
 universal=1
 
-[nosetests]
-tests=roles/lib_openshift/src/test/unit,
-      roles/lib_utils/src/test/unit,
-      roles/openshift_master_facts/test,
-      test
-verbosity=2
-with-coverage=1
-cover-html=1
-cover-inclusive=1
-cover-min-percentage=25
-cover-erase=1
-detailed-errors=1
-cover-branches=1
-
 [yamllint]
 excludes=.tox,utils,files
 

+ 0 - 1
test-requirements.txt

@@ -7,7 +7,6 @@ pylint
 setuptools-lint
 PyYAML
 yamllint
-nose
 coverage
 mock
 pytest

+ 1 - 1
tox.ini

@@ -12,10 +12,10 @@ deps =
     ansible22: ansible~=2.2
 
 commands =
+    unit: pytest
     flake8: flake8
     pylint: python setup.py lint
     yamllint: python setup.py yamllint
-    unit: nosetests
     generate_validation: python setup.py generate_validation