tox: Use env specific tmpdir for py.test

This commit is contained in:
Stein Magnus Jodal 2015-03-05 09:16:32 +01:00
parent 2280a533c0
commit c916fcb421

View File

@ -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