Merge pull request #54 from dukebody/add-pytest-runner

Add `pytest-runner` and test-->pytest alias to make tests run as documented
This commit is contained in:
Syrus Akbary 2016-11-13 21:26:39 -08:00 committed by GitHub
commit d5951b8477
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
[aliases]
test=pytest
[tool:pytest]
DJANGO_SETTINGS_MODULE = django_test_settings

View File

@ -38,6 +38,9 @@ setup(
'iso8601',
'singledispatch>=3.4.0.3',
],
setup_requires=[
'pytest-runner',
],
tests_require=[
'django-filter>=0.10.0',
'pytest',