Make pytest the test runner.

This commit is contained in:
Michael Elsdörfer 2016-08-30 13:09:29 +02:00
parent 3d8626d17e
commit 4496ea91bd
2 changed files with 4 additions and 2 deletions

View File

@ -117,7 +117,7 @@ setup(
setup_requires=[
'setuptools_scm',
],
tests_require=['tox', 'nose', 'scripttest', 'mock', 'hypothesis'],
tests_require=['tox', 'pytest', 'pytest-cov', 'nose', 'scripttest', 'mock', 'hypothesis'],
cmdclass={'test': Tox},
entry_points={
'console_scripts': [

View File

@ -6,8 +6,10 @@ deps = nose
coverage
scripttest
mock
pytest
pytest-cov
hypothesis
commands = nosetests --with-coverage --cover-erase --cover-branches
commands = py.test
[testenv:docs]
basepython = python