Prepare new upstream release

This commit is contained in:
Julian Gilbey 2022-05-27 07:37:45 +01:00
parent ef4053bd25
commit d09d76bd84
3 changed files with 10 additions and 3 deletions

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
pytest-mock (3.7.0-1) unstable; urgency=medium
* Team upload
* New upstream version (Closes: 1006736)
-- Julian Gilbey <jdg@debian.org> Fri, 27 May 2022 07:37:21 +0100
pytest-mock (3.6.1-1) unstable; urgency=medium
[ Diego M. Rodriguez ]

2
debian/rules vendored
View file

@ -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
%:

View file

@ -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,