Add the possibility to run tests with "setup.py test"

This commit is contained in:
Valentin Samir
2016-07-10 11:48:43 +02:00
parent b1b7562e55
commit 28dd67cb32
4 changed files with 16 additions and 2 deletions

View File

@ -73,5 +73,7 @@ setup(
],
url="https://github.com/nitmir/django-cas-server",
download_url="https://github.com/nitmir/django-cas-server/releases",
zip_safe=False
zip_safe=False,
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-django', 'pytest-pythonpath'],
)