[Python-modules-commits] [pytest] 01/01: Fix tests.

Tristan Seligmann mithrandi at moszumanska.debian.org
Thu Dec 17 16:36:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

mithrandi pushed a commit to branch master
in repository pytest.

commit 1d0bdd5b2c331bc760a7f7f768b892dfb5a0fef7
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Thu Dec 17 18:23:29 2015 +0200

    Fix tests.
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index b8f860d..aa5ad9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,7 @@ export PYBUILD_VERBOSE=1
 override_dh_auto_test:
 	TMPDIR=`mktemp -t -d pytest.XXXXXXXXXX` \
 	PYBUILD_SYSTEM=custom \
-	PYTHONPATH=$$(CURDIR) \
-	PYBUILD_TEST_ARGS="{interpreter} -m pytest --lsof -rfsxX {dir}/testing" dh_auto_test
+	PYBUILD_TEST_ARGS="cd $$TMPDIR && {interpreter} -m pytest --lsof -rfsxX {dir}/testing" dh_auto_test
 
 override_dh_installdocs:
 	PYTHONPATH=`pwd` make -C doc/en man

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest.git



More information about the Python-modules-commits mailing list