From 408293085c7456c7256a1f7df877ccaf7331faf0 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 29 Dec 2017 13:49:24 +0100 Subject: [PATCH] Try to pass the environment variable for JEDI_TEST_ENVIRONMENT to pytest over tox --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d341908b..1cd3c4e7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py33, py34, py35, py36, py36-env27, py36-env33, py36-env34, py36-env35 +envlist = py27, py33, py34, py35, py36 [testenv] deps = pytest>=2.3.5, < 3.3 @@ -9,6 +9,7 @@ deps = # coloroma for colored debug output colorama -rrequirements.txt +passenv = JEDI_TEST_ENVIRONMENT setenv = # https://github.com/tomchristie/django-rest-framework/issues/1957 # tox corrupts __pycache__, solution from here: