[Python-modules-commits] [pyjwt] 01/02: Run "as-installed" tests (DEP8)
Daniele Tricoli
eriol-guest at moszumanska.debian.org
Thu Jul 7 02:14:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
eriol-guest pushed a commit to branch master
in repository pyjwt.
commit 1bae82b9f3bd4a1592c0db6440b829931649e6e8
Author: Daniele Tricoli <eriol at mornie.org>
Date: Thu Jul 7 02:21:11 2016 +0200
Run "as-installed" tests (DEP8)
---
debian/control | 1 +
debian/tests/control | 5 +++++
debian/tests/python-jwt | 2 ++
debian/tests/python3-jwt | 2 ++
4 files changed, 10 insertions(+)
diff --git a/debian/control b/debian/control
index c0027d8..c77975c 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ X-Python3-Version: >= 3.3
Homepage: https://github.com/jpadilla/pyjwt
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyjwt.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pyjwt.git
+Testsuite: autopkgtest
Package: python-jwt
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0a1b6f3
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-jwt
+Depends: python-all, python-cryptography, python-pytest, python-pytest-cov, python-pytest-runner
+
+Tests: python3-jwt
+Depends: python3-all, python3-cryptography, python3-pytest, python3-pytest-cov, python3-pytest-runner
diff --git a/debian/tests/python-jwt b/debian/tests/python-jwt
new file mode 100644
index 0000000..e8570ea
--- /dev/null
+++ b/debian/tests/python-jwt
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x -rs 2>&1
diff --git a/debian/tests/python3-jwt b/debian/tests/python3-jwt
new file mode 100644
index 0000000..29defea
--- /dev/null
+++ b/debian/tests/python3-jwt
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x -rs 2>&1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyjwt.git
More information about the Python-modules-commits
mailing list