Skip to content

Commit

Permalink
Switch from nosetests to pytest test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Mar 11, 2020
1 parent 6219fc1 commit 922793e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion magicbus/test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Regression test suite for magicbus.
Run 'nosetests -s test/' to exercise all tests.
Run 'tox' to exercise all tests.
"""

from magicbus.compat import HTTPServer, HTTPConnection, HTTPHandler
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
],
extras_require={
'testing': [
'nose',
'collective.checkdocs',
'pytest',
],
'docs': [
'sphinx',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist = python

[testenv]
commands =
nosetests -s {posargs:-vv} []
pytest {posargs:-vv} magicbus/test
python setup.py checkdocs
usedevelop = True
extras = testing
Expand Down

0 comments on commit 922793e

Please sign in to comment.