[Python-modules-commits] [python-bcrypt] 05/05: added DEP-8 tests

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Jan 9 12:07:43 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository python-bcrypt.

commit b45eadf430fb70011eef0ff865ff92d804a86a5d
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Jan 9 13:01:13 2016 +0100

    added DEP-8 tests
---
 debian/changelog            | 5 +++--
 debian/control              | 1 +
 debian/tests/control        | 5 +++++
 debian/tests/python-bcrypt  | 3 +++
 debian/tests/python3-bcrypt | 3 +++
 5 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 57193bf..2d843bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,12 @@
-python-bcrypt (2.0.0-2) UNRELEASED; urgency=medium
+python-bcrypt (2.0.0-2) unstable; urgency=medium
 
   * Added import-tests-from-github.patch.
   * deb/control: added python3-six to build-deps.
   * deb/rules: removed test break failsafe from dh_auto_test override,
     added customized py.test call.
+  * Added DEP-8 tests.
 
- -- Daniel Stender <debian at danielstender.com>  Sat, 09 Jan 2016 12:37:14 +0100
+ -- Daniel Stender <debian at danielstender.com>  Sat, 09 Jan 2016 13:02:12 +0100
 
 python-bcrypt (2.0.0-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index e408dea..5ac19e1 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Homepage: https://github.com/pyca/bcrypt
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-bcrypt.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-bcrypt.git
+Testsuite: autopkgtest
 
 Package: python-bcrypt
 Architecture: any
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..bef8221
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-bcrypt
+Depends: python-bcrypt, python-pytest
+
+Tests: python3-bcrypt
+Depends: python3-bcrypt, python3-pytest
\ No newline at end of file
diff --git a/debian/tests/python-bcrypt b/debian/tests/python-bcrypt
new file mode 100755
index 0000000..83108fb
--- /dev/null
+++ b/debian/tests/python-bcrypt
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e -u
+for py in $(pyversions -i); do echo "[*] testing $py:\n"; $py -Wd -m pytest -v -x 2>&1; done
diff --git a/debian/tests/python3-bcrypt b/debian/tests/python3-bcrypt
new file mode 100755
index 0000000..140a74d
--- /dev/null
+++ b/debian/tests/python3-bcrypt
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e -u
+for py in $(py3versions -i); do echo "[*] testing $py:\n"; $py -Wd -m pytest -v -x 2>&1; done

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



More information about the Python-modules-commits mailing list