create pytest.ini to contain DJANGO_SETTINGS_MODULE

This commit is contained in:
Timothy Laurent 2016-11-16 09:56:55 -08:00
parent 297b741cdb
commit f88590343b
2 changed files with 2 additions and 3 deletions

2
pytest.ini Normal file
View File

@ -0,0 +1,2 @@
[pytest]
DJANGO_SETTINGS_MODULE = django_test_settings

View File

@ -1,9 +1,6 @@
[aliases] [aliases]
test=pytest test=pytest
[tool:pytest]
DJANGO_SETTINGS_MODULE = django_test_settings
[flake8] [flake8]
exclude = setup.py,docs/*,examples/*,tests,graphene_django/debug/sql/* exclude = setup.py,docs/*,examples/*,tests,graphene_django/debug/sql/*
max-line-length = 120 max-line-length = 120