[Python-modules-commits] [wikipedia] 09/12: Add autopkg tests

Ethan Ward ethanward-guest at moszumanska.debian.org
Tue Aug 1 23:27:27 UTC 2017


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

ethanward-guest pushed a commit to branch master
in repository wikipedia.

commit 5da0a28bca9889ccc40a43abf1e4977f0276fff4
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Tue Aug 1 17:28:02 2017 -0500

    Add autopkg tests
---
 debian/tests/control | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..5034720
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,19 @@
+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 unittest discover -v tests/ '*test.py'
+ ; done
+Depends: python-all,
+         python-wikipedia
+
+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 unittest discover -v tests/ '*test.py'
+ ; done
+Depends: python3-all,
+         python3-wikipedia

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



More information about the Python-modules-commits mailing list