Skip to content

Commit

Permalink
fix devpi test for doctesting env
Browse files Browse the repository at this point in the history
due to a devpi bug, we always get a sdist install which in turn triggers
the pytest issue pytest-dev#2042 / pytest-dev#726

going for pyargs and a changed folder, it should no longer happen
(and will be tested firther after rebasing the release branch)
  • Loading branch information
RonnyPfannschmidt committed Jan 22, 2017
1 parent 15a3b57 commit 4031222
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4031222

Please sign in to comment.