summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-08-09 14:55:22 +1000
committerStephen Finucane <stephenfinucane@hotmail.com>2016-08-21 17:00:25 +0100
commit2f452486e2b82368e2a0f850e835a24fb45368d7 (patch)
tree59d3d9bad1eb8d5f79e7c3dde16db700094cdb67 /tox.ini
parent9983229eb6b96f40ca66087132077e6887e8721b (diff)
downloadpatchwork-2f452486e2b82368e2a0f850e835a24fb45368d7.tar
patchwork-2f452486e2b82368e2a0f850e835a24fb45368d7.tar.gz
Pass more environment variables through to tox
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>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index d170325..37e6939 100644
--- 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}'