[Python-modules-commits] [python-webob] 05/06: Switching back to pytest.

Thomas Goirand zigo at moszumanska.debian.org
Mon Sep 11 11:39:52 UTC 2017


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

zigo pushed a commit to branch master
in repository python-webob.

commit 50da1db6aa9391892884ff8123e1c485b36d9f76
Author: Thomas Goirand <zigo at debian.org>
Date:   Sun Sep 10 18:21:33 2017 +0200

    Switching back to pytest.
---
 debian/changelog | 1 +
 debian/control   | 4 ++--
 debian/rules     | 4 +++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b09fb4b..66dec60 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 python-webob (1:1.7.3-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Switching back to pytest.
 
  -- Thomas Goirand <zigo at debian.org>  Sun, 10 Sep 2017 11:51:33 +0200
 
diff --git a/debian/control b/debian/control
index 0b2c6e2..1de4d82 100644
--- a/debian/control
+++ b/debian/control
@@ -9,12 +9,12 @@ Uploaders: Piotr Ożarowski <piotr at debian.org>,
 Build-Depends: debhelper (>= 9), dh-python
 Build-Depends-Indep: python-all (>= 2.6.6-3),
                      python-doc,
-                     python-nose,
+                     python-pytest,
                      python-setuptools (>= 0.6b3-1~),
                      python-sphinx (>= 1.0.7+dfsg-1~),
                      python3-all,
                      python3-doc,
-                     python3-nose,
+                     python3-pytest,
                      python3-setuptools
 Standards-Version: 3.9.8
 Homepage: http://webob.org/
diff --git a/debian/rules b/debian/rules
index 46c4675..247f04c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,9 @@ export PYBUILD_NAME=webob
 
 override_dh_auto_test:
 	# enable network, tests.test_in_wsgiref.test_request_reading needs it
-	http_proxy='' dh_auto_test
+	set -e ; for vers in 2.7 `py3versions -vr` ; do \
+		http_proxy='' PYTHONPATH=. python$$vers -m pytest tests ; \
+	done
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k CHANGES.txt

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



More information about the Python-modules-commits mailing list