[Python-modules-commits] [python-bcrypt] 01/01: DEP-8 tests: unneeded control field, copy tests to tmpdir, bashism
Daniel Stender
danstender-guest at moszumanska.debian.org
Sun Jan 10 22:15:38 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 225329c5b55b1b6afe1394de4bf78a182db0846c
Author: Daniel Stender <debian at danielstender.com>
Date: Sun Jan 10 23:15:21 2016 +0100
DEP-8 tests: unneeded control field, copy tests to tmpdir, bashism
---
debian/changelog | 2 +-
debian/control | 1 -
debian/tests/python-bcrypt | 4 +++-
debian/tests/python3-bcrypt | 4 +++-
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2d843bc..ab918b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,7 +6,7 @@ python-bcrypt (2.0.0-2) unstable; urgency=medium
added customized py.test call.
* Added DEP-8 tests.
- -- Daniel Stender <debian at danielstender.com> Sat, 09 Jan 2016 13:02:12 +0100
+ -- Daniel Stender <debian at danielstender.com> Sun, 10 Jan 2016 23:10:49 +0100
python-bcrypt (2.0.0-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 5ac19e1..e408dea 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,6 @@ 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/python-bcrypt b/debian/tests/python-bcrypt
index 83108fb..7dc4676 100755
--- a/debian/tests/python-bcrypt
+++ b/debian/tests/python-bcrypt
@@ -1,3 +1,5 @@
#!/bin/sh
set -e -u
-for py in $(pyversions -i); do echo "[*] testing $py:\n"; $py -Wd -m pytest -v -x 2>&1; done
+cp -a tests "$ADTTMP"
+cd "$ADTTMP"
+for py in $(pyversions -i); do echo "[*] testing $py:"; $py -Wd -m pytest -v -x 2>&1; done
diff --git a/debian/tests/python3-bcrypt b/debian/tests/python3-bcrypt
index 140a74d..7d65fbf 100755
--- a/debian/tests/python3-bcrypt
+++ b/debian/tests/python3-bcrypt
@@ -1,3 +1,5 @@
#!/bin/sh
set -e -u
-for py in $(py3versions -i); do echo "[*] testing $py:\n"; $py -Wd -m pytest -v -x 2>&1; done
+cp -a tests "$ADTTMP"
+cd "$ADTTMP"
+for py in $(py3versions -i); do echo "[*] testing $py:"; $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