From d09d76bd84aa52b87c8524004fb4f9a7b95d47d3 Mon Sep 17 00:00:00 2001 From: Julian Gilbey Date: Fri, 27 May 2022 07:37:45 +0100 Subject: [PATCH] Prepare new upstream release --- debian/changelog | 7 +++++++ debian/rules | 2 +- debian/tests/control | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 48ebfb5..de758a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pytest-mock (3.7.0-1) unstable; urgency=medium + + * Team upload + * New upstream version (Closes: 1006736) + + -- Julian Gilbey Fri, 27 May 2022 07:37:21 +0100 + pytest-mock (3.6.1-1) unstable; urgency=medium [ Diego M. Rodriguez ] diff --git a/debian/rules b/debian/rules index b246160..b351bde 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ export PYBUILD_NAME=pytest-mock # Add the pytest-mock egg to the build dir, so pytest can find it when # running the tests. export PYBUILD_BEFORE_TEST=cp -r {dir}/src/*.egg-info {build_dir} -export PYBUILD_TEST_ARGS={dir}/tests +export PYBUILD_TEST_ARGS=--assert=plain {dir}/tests export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info %: diff --git a/debian/tests/control b/debian/tests/control index 5614961..ed4856c 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,9 +1,9 @@ Test-Command: set -e ; cp -r tests "$AUTOPKGTEST_TMP" - ; for py in $(py3versions -r 2>/dev/null) + ; for py in $(py3versions -s) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" - ; $py -m pytest -v --assert=plain + ; $py -m pytest -v --assert=plain -o asyncio_mode=auto ; done Depends: python3-all, python3-pytest,