[Python-modules-commits] [python-mechanicalsoup] 05/06: Add DEP-8 tests, drop superfluous Testsuite field

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue May 16 13:59:29 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository python-mechanicalsoup.

commit a1b8f54cc7185c900b53c1d2fb73745ba91e33d1
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue May 16 14:42:38 2017 +0100

    Add DEP-8 tests, drop superfluous Testsuite field
---
 debian/control       |  1 -
 debian/tests/control | 23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 867eb85..d556736 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,6 @@ Source: python-mechanicalsoup
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
 Section: python
-Testsuite: autopkgtest-pkg-python
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..04a97dd
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,23 @@
+Test-Command: set -e
+ ; cp -r tests "$AUTOPKGTEST_TMP"
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m pytest -v
+ ; done
+Depends: python-all,
+         python-mechanicalsoup,
+         python-pytest,
+         python-requests-mock
+
+Test-Command: set -e
+ ; cp -r tests "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m pytest -v
+ ; done
+Depends: python3-all,
+         python3-mechanicalsoup,
+         python3-pytest,
+         python3-requests-mock

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



More information about the Python-modules-commits mailing list