[Python-modules-commits] [pytest-httpbin] 02/02: Calls to pytest with argument -s, to avoid capturing stdout/stderr on concurrent operations

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Wed Jan 24 13:12:23 UTC 2018


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

peb-guest pushed a commit to branch debian/master
in repository pytest-httpbin.

commit 2134da60e5584c69adbe2e823463643921220a1d
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Wed Jan 24 14:12:13 2018 +0100

    Calls to pytest with argument -s, to avoid capturing stdout/stderr on concurrent operations
---
 debian/changelog                    | 7 ++++++-
 debian/rules                        | 2 +-
 debian/tests/python-pytest-httpbin  | 2 +-
 debian/tests/python3-pytest-httpbin | 2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 30c5d06..50a07d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,13 @@ pytest-httpbin (0.3.0-1) unstable; urgency=medium
     - Bump compat to 11
   * d/copyright:
     - Switching format URL to https
+  * d/rules:
+    - pytest called with argument -s to avoid capturing stdout/stderr (Closes:
+      #844358, #884432)
+  * d/tests/*:
+    - Calls to pytest with argument -s, for the same reason as above.
 
- -- Pierre-Elliott Bécue <becue at crans.org>  Fri, 12 Jan 2018 13:12:14 +0100
+ -- Pierre-Elliott Bécue <becue at crans.org>  Wed, 24 Jan 2018 14:10:19 +0100
 
 pytest-httpbin (0.2.3-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 22b8f09..0f97b6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_test:
 
 override_dh_auto_install:
 	dh_auto_install
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x -s" dh_auto_test
 	# run tests after install: plugin needs to get registered by setup.py/entry_points
 
 override_dh_installdocs:
diff --git a/debian/tests/python-pytest-httpbin b/debian/tests/python-pytest-httpbin
index cbfe5b0..39927ce 100755
--- a/debian/tests/python-pytest-httpbin
+++ b/debian/tests/python-pytest-httpbin
@@ -1,3 +1,3 @@
 #!/bin/sh
 set -e
-for py in $(pyversions -i); do echo "[*] testing on $py:"; $py -Wd -m pytest -v -x 2>&1; done
+for py in $(pyversions -i); do echo "[*] testing on $py:"; $py -Wd -m pytest -v -x -s 2>&1; done
diff --git a/debian/tests/python3-pytest-httpbin b/debian/tests/python3-pytest-httpbin
index a0d8f18..9bdd18b 100755
--- a/debian/tests/python3-pytest-httpbin
+++ b/debian/tests/python3-pytest-httpbin
@@ -1,3 +1,3 @@
 #!/bin/sh
 set -e
-for py in $(py3versions -i); do echo "[*] testing on $py:"; $py -Wd -m pytest -v -x 2>&1; done
+for py in $(py3versions -i); do echo "[*] testing on $py:"; $py -Wd -m pytest -v -x -s 2>&1; done

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



More information about the Python-modules-commits mailing list