fix devpi test for doctesting env

due to a devpi bug, we always get a sdist install which in turn triggers
the pytest issue #2042 / #726

going for pyargs and a changed folder, it should no longer happen
(and will be tested firther after rebasing the release branch)
This commit is contained in:
Ronny Pfannschmidt 2017-01-22 11:48:05 +01:00
parent 15a3b57ec7
commit 403122281a
1 changed files with 4 additions and 2 deletions

View File

@ -118,11 +118,13 @@ commands=
basepython = python
usedevelop=True
skipsdist=True
# ensure the given pyargs cant mean anytrhing else
changedir=doc/
deps=
PyYAML
commands=
pytest -rfsxX doc/en
pytest --doctest-modules {toxinidir}/_pytest
pytest -rfsxX en
pytest --doctest-modules --pyargs _pytest
[testenv:regen]
changedir=doc/en