From 6efcc450a37e0f046061753209386e681b140e42 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 11 Jul 2018 13:06:40 +1000 Subject: [PATCH] Fix the tests by ensuring lemoncurry.settings.test is always loaded regardless of the environment --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 0df535e..a4f0168 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,3 @@ [pytest] -DJANGO_SETTINGS_MODULE = lemoncurry.settings.test +addopts = --ds=lemoncurry.settings.test python_files = tests/*.py