make pexpect specific environments so that the canonical ones also run on windows. Also add a little sleep to a pexpect-related tests in the hope it helps the test consistently passing (Bah).

This commit is contained in:
holger krekel
2014-01-27 19:47:37 +01:00
parent ffa156ced5
commit ab987d512c
2 changed files with 9 additions and 7 deletions

15
tox.ini
View File

@@ -1,25 +1,26 @@
[tox]
envlist=py26,py32,py33,py27,py26,py26-old,py33-old
envlist=py26,py32,py33,py27,py27-pexpect,py33-pexpect,py26,py26-old,py33-old
[testenv]
changedir=testing
deps=pytest>=2.5.1
commands= py.test --junitxml={envlogdir}/junit-{envname}.xml []
[testenv:py27]
deps=
pytest>=2.4.2
[testenv:py27-pexpect]
deps={[testenv]deps}
pexpect
[testenv:py33-pexpect]
deps={[testenv]deps}
pexpect
[testenv:py26-old]
deps=
pytest==2.3.5
pexpect
pytest==2.4.2
[testenv:py33-old]
basepython = python3.3
deps=
pytest==2.3.5
pytest==2.4.2
[pytest]
addopts = -rsfxX