[Python-modules-commits] [python-pygerrit2] 09/09: Fix non-standard tests run
Filip Pytloun
fpytloun-guest at moszumanska.debian.org
Wed Jan 10 18:33:02 UTC 2018
This is an automated email from the git hooks/post-receive script.
fpytloun-guest pushed a commit to branch master
in repository python-pygerrit2.
commit 1dafe803d1a6eee5c34526cda259af46a1fa7498
Author: Filip Pytloun <filip at pytloun.cz>
Date: Wed Jan 10 18:21:17 2018 +0100
Fix non-standard tests run
---
debian/control | 4 ++--
debian/rules | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 1a0774e..1db14ab 100644
--- a/debian/control
+++ b/debian/control
@@ -28,7 +28,7 @@ Multi-Arch: foreign
Depends:
${misc:Depends},
${python:Depends},
-Description: client library to interact with Gerrit Code Review via the REST API - Python 2.7
+Description: library to interact with Gerrit via the REST API - Python 2.7
pygerrit2 is simple Python library to provide interface to interact with
Gerrit Code Review via it's REST API.
.
@@ -40,7 +40,7 @@ Multi-Arch: foreign
Depends:
${misc:Depends},
${python3:Depends},
-Description: client library to interact with Gerrit Code Review via the REST API - Python 3.x
+Description: library to interact with Gerrit via the REST API - Python 3.x
pygerrit2 is simple Python library to provide interface to interact with
Gerrit Code Review via it's REST API.
.
diff --git a/debian/rules b/debian/rules
index 268e37d..3c4f2cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,7 @@ export PYBUILD_NAME=pygerrit2
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ for py in $$(pyversions -r 2>/dev/null) ; do echo "Testing with $$py:" ; $$py unittests.py; done
+ for py in $$(py3versions -r 2>/dev/null) ; do echo "Testing with $$py:" ; $$py unittests.py; done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pygerrit2.git
More information about the Python-modules-commits
mailing list