From 403122281a3a7157e68db27e4778efb5bf848afb Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Sun, 22 Jan 2017 11:48:05 +0100 Subject: [PATCH] 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) --- tox.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index a5dec3fdc5a..4be692fc7f8 100644 --- a/tox.ini +++ b/tox.ini @@ -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