chore: Use pytest runner instead of nose collector for "setup.py test" (#924)

This commit is contained in:
Kurt Griffiths 2016-10-09 16:39:57 -06:00 committed by John Vrbanac
parent 1d508ee4e8
commit 24605a88c3
3 changed files with 9 additions and 3 deletions

1
.gitignore vendored
View File

@ -13,6 +13,7 @@
dist
build
eggs
.eggs
parts
var
sdist

View File

@ -3,3 +3,9 @@ tag_build = b1
[wheel]
universal = 1
[aliases]
test=pytest
[tool:pytest]
addopts = tests

View File

@ -104,11 +104,10 @@ setup(
include_package_data=True,
zip_safe=False,
install_requires=REQUIRES,
setup_requires=[],
setup_requires=['pytest-runner'],
cmdclass=cmdclass,
ext_modules=ext_modules,
test_suite='nose.collector',
tests_require=['nose', 'ddt', 'testtools', 'requests', 'pyyaml', 'pytest'],
tests_require=['ddt', 'testtools', 'requests', 'pyyaml', 'pytest'],
entry_points={
'console_scripts': [
'falcon-bench = falcon.cmd.bench:main',