From 16ffe4d70f100c3a36dd44ded4e0a4ed47041741 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Sun, 19 Feb 2017 10:48:45 +0100 Subject: Replace nose with pytest --- setup.cfg | 14 -------------- test-requirements.txt | 1 - tox.ini | 2 +- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/setup.cfg b/setup.cfg index c8f1f9b87..e6bf2c5d1 100644 --- a/setup.cfg +++ b/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 diff --git a/test-requirements.txt b/test-requirements.txt index c4b54fabe..9bb6e058c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,6 @@ pylint setuptools-lint PyYAML yamllint -nose coverage mock pytest diff --git a/tox.ini b/tox.ini index ae781a04c..08c3d84d0 100644 --- a/tox.ini +++ b/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 -- cgit v1.2.1