1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Fri, 1 Jun 2018 18:03:50 +0200
Subject: Add DJANGO_SETTINGS_MODULE to get picked up by pytest-django.
---
tox.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/tox.ini b/tox.ini
index 96f2bbd..7a1d12b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,6 +8,7 @@ envlist =
[pytest]
django_find_project = false
+DJANGO_SETTINGS_MODULE = tests.settings
[testenv]
commands = pytest --cov=oauth2_provider --cov-report= --cov-append {posargs}
|