create pytest.ini to contain DJANGO_SETTINGS_MODULE

pull/60/head
Timothy Laurent 6 years ago
parent 297b741cdb
commit f88590343b
  1. 2
      pytest.ini
  2. 3
      setup.cfg

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

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

Loading…
Cancel
Save