Add `pytest-runner` and test-->pytest alias to make tests run as documented.

pull/54/head
Israel Saeta Pérez 6 years ago
parent bb0b4fa766
commit 9e9a08ffe4
  1. 3
      setup.cfg
  2. 3
      setup.py

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

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

Loading…
Cancel
Save