From c916fcb421ff07dede3efbb73528dd8673fd134d Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Thu, 5 Mar 2015 09:16:32 +0100 Subject: [PATCH] tox: Use env specific tmpdir for py.test --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3d48e311..bffdb2df 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,10 @@ envlist = py27, py27-tornado23, py27-tornado31, docs, flake8 [testenv] sitepackages = true -commands = py.test --junit-xml=xunit-{envname}.xml --cov=mopidy +commands = + py.test \ + --basetemp={envtmpdir} \ + --junit-xml=xunit-{envname}.xml --cov=mopidy deps = mock pytest