Commit 28dd67cb authored by Valentin Samir's avatar Valentin Samir

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

parent b1b7562e
......@@ -18,3 +18,4 @@ test_venv
htmlcov/
tox_logs/
.cache/
.eggs/
......@@ -27,10 +27,12 @@ clean_tild_backup:
clean_docs:
rm -rf docs/_build/
rm -rf docs/package/
clean_eggs:
rm -rf .eggs/
clean: clean_pyc clean_build clean_coverage clean_tild_backup
clean_all: clean clean_tox clean_test_venv clean_docs
clean_all: clean clean_tox clean_test_venv clean_docs clean_eggs
dist:
python setup.py sdist
......
[metadata]
description-file = README.rst
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
[aliases]
test=pytest
......@@ -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'],
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment