]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
Pass more environment variables through to tox
authorDaniel Axtens <dja@axtens.net>
Tue, 9 Aug 2016 04:55:22 +0000 (14:55 +1000)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sun, 21 Aug 2016 16:00:25 +0000 (17:00 +0100)
In order to get tox tests working, we want db host, db port, home,
and xauthority.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephenfinucane@hotmail.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index d1703251a1978ea805bc4c0c2cdb3dade20e15dc..37e6939157f4815106e32c13afd2cba621ae509c 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,8 +14,9 @@ setenv =
     DJANGO_SETTINGS_MODULE = patchwork.settings.dev
 passenv =
     http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
-    PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS
-    DISPLAY SELENIUM_BROWSER PW_SKIP_BROWSER_TESTS
+    PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST
+    PW_TEST_DB_PORT DISPLAY SELENIUM_BROWSER PW_SKIP_BROWSER_TESTS
+    DISPLAY HOME XAUTHORITY
 commands =
     {toxinidir}/manage.py test --noinput --liveserver=localhost:9000-9200 \
         '{posargs:patchwork}'