diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-19 10:48:45 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-20 18:12:03 +0100 |
commit | 16ffe4d70f100c3a36dd44ded4e0a4ed47041741 (patch) | |
tree | 56d5309a2c6bd0f268a7893083a1108e5a200987 | |
parent | a17ba66cb7a50f2d968ec5d6bca0a9722437f18c (diff) | |
download | openshift-16ffe4d70f100c3a36dd44ded4e0a4ed47041741.tar.gz openshift-16ffe4d70f100c3a36dd44ded4e0a4ed47041741.tar.bz2 openshift-16ffe4d70f100c3a36dd44ded4e0a4ed47041741.tar.xz openshift-16ffe4d70f100c3a36dd44ded4e0a4ed47041741.zip |
Replace nose with pytest
-rw-r--r-- | setup.cfg | 14 | ||||
-rw-r--r-- | test-requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 1 insertions, 16 deletions
@@ -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 @@ -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 |