Skip to content

Commit f885903

Browse files
author
Timothy Laurent
committed
create pytest.ini to contain DJANGO_SETTINGS_MODULE
1 parent 297b741 commit f885903

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pytest]
2+
DJANGO_SETTINGS_MODULE = django_test_settings

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
[aliases]
22
test=pytest
33

4-
[tool:pytest]
5-
DJANGO_SETTINGS_MODULE = django_test_settings
6-
74
[flake8]
85
exclude = setup.py,docs/*,examples/*,tests,graphene_django/debug/sql/*
96
max-line-length = 120

0 commit comments

Comments
 (0)