Skip to content

Commit

Permalink
Replace nose by pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Apr 21, 2020
1 parent 6ee3b33 commit d35ca6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -15,7 +15,6 @@ docs/build
._build.etag
_build.py.bak*
test
nosetests.xml
man
.channel
dist/
Expand Down
3 changes: 2 additions & 1 deletion tests/requirements.txt
Expand Up @@ -4,5 +4,6 @@ colander>=1.0b1
marshmallow>=2.0.0,<3.0.0
coverage
mock
nose
pytest
pytest-cov
simplejson
5 changes: 3 additions & 2 deletions tox.ini
Expand Up @@ -5,14 +5,15 @@ skip_missing_interpreters = True
[testenv]
commands =
python --version
nosetests --with-coverage --cover-package=cornice --cover-min-percentage=100 {posargs}
pytest tests --cov-report term-missing --cov-fail-under 100 --cov cornice {posargs}
deps =
-rtests/requirements.txt
install_command = pip install --pre {opts} {packages}

[testenv:py37-raw]
deps =
nose
pytest
pytest-cov
webtest
mock
install_command = pip install --pre {opts} {packages}
Expand Down

0 comments on commit d35ca6c

Please sign in to comment.