[Python-modules-commits] [python-socksipy] 08/10: Added simple Debian tests

Ondřej Nový onovy-guest at moszumanska.debian.org
Sat Apr 30 20:58:46 UTC 2016


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

onovy-guest pushed a commit to branch master
in repository python-socksipy.

commit d7f73832a3c7d5f18ccb7a7627a1b1811b3c8ca0
Author: Ondřej Nový <novy at ondrej.org>
Date:   Sat Apr 30 22:52:07 2016 +0200

    Added simple Debian tests
---
 debian/changelog     | 1 +
 debian/tests/control | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 02a4bee..b5e379d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ python-socksipy (1.5.6-1) UNRELEASED; urgency=medium
     - Added myself to Debian part
   * d/watch: Changed to pypi.debian.net
   * Added d/README.md to dsc, because it's not in orig from pypi
+  * Added simple Debian tests
 
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 22:23:57 +0200
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..bfd9db2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Depends: python-socks
+Test-Command: cd "$ADTTMP" ; python -c "import socks ; print socks.__version__"
+
+Depends: python3-socks
+Test-Command: cd "$ADTTMP" ; python3 -c "import socks ; print(socks.__version__)"

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



More information about the Python-modules-commits mailing list