diff --git a/tox.ini b/tox.ini index 33e5fa02c..e9c1dfa96 100644 --- a/tox.ini +++ b/tox.ini @@ -64,8 +64,9 @@ deps = mock nose hypothesis>=3.5.2 +changedir=testing commands = - pytest -n1 -rfsxX {posargs:testing} + pytest -n1 -rfsxX {posargs:.} [testenv:py36-xdist] deps = {[testenv:py27-xdist]deps} @@ -91,10 +92,11 @@ deps = pytest-xdist>=1.13 hypothesis>=3.5.2 distribute = true +changedir=testing setenv = PYTHONDONTWRITEBYTECODE=1 commands = - pytest -n3 -rfsxX {posargs:testing} + pytest -n3 -rfsxX {posargs:.} [testenv:py27-trial] deps = twisted