From f88590343b84125715aa347ef72f9ce1e07126b6 Mon Sep 17 00:00:00 2001 From: Timothy Laurent Date: Wed, 16 Nov 2016 09:56:55 -0800 Subject: [PATCH] create pytest.ini to contain DJANGO_SETTINGS_MODULE --- pytest.ini | 2 ++ setup.cfg | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..4e47ff4 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +DJANGO_SETTINGS_MODULE = django_test_settings diff --git a/setup.cfg b/setup.cfg index c50ce70..fe61dcf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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