[Python-modules-commits] [pytest-localserver] 04/04: set up DEP-8 tests

Daniel Stender danstender-guest at moszumanska.debian.org
Tue Jul 21 08:43:11 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository pytest-localserver.

commit 0eb5806e5fdbcf4936f97261b3ade49bf3a8fa1c
Author: Daniel Stender <debian at danielstender.com>
Date:   Tue Jul 21 10:36:31 2015 +0200

    set up DEP-8 tests
---
 debian/changelog                      | 2 +-
 debian/control                        | 1 +
 debian/tests/control                  | 6 ++++++
 debian/tests/python-pytest-localhost  | 2 ++
 debian/tests/python3-pytest-localhost | 2 ++
 5 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1a125c0..091a2fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ pytest-localserver (0.3.4-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #792784)
 
- -- Daniel Stender <debian at danielstender.com>  Sat, 18 Jul 2015 19:11:35 +0200
+ -- Daniel Stender <debian at danielstender.com>  Tue, 21 Jul 2015 10:35:15 +0200
diff --git a/debian/control b/debian/control
index 5214f81..0348683 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Vcs-Git: git://anonscm.debian.org/python-modules/packages/pytest-localserver.git
 Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/pytest-localserver.git
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.3
+Testsuite: autopkgtest
 
 Package: python-pytest-localserver
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..9de7175
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Tests: python-pytest-localhost
+Depends: python-all, python-werkzeug, python-pytest, python-six, python-requests
+
+Tests: python3-pytest-localhost
+Depends: python3-all, python3-werkzeug, python3-pytest, python3-six, python3-requests
+
diff --git a/debian/tests/python-pytest-localhost b/debian/tests/python-pytest-localhost
new file mode 100755
index 0000000..d1e0b0e
--- /dev/null
+++ b/debian/tests/python-pytest-localhost
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x 2>&1
\ No newline at end of file
diff --git a/debian/tests/python3-pytest-localhost b/debian/tests/python3-pytest-localhost
new file mode 100755
index 0000000..c99936d
--- /dev/null
+++ b/debian/tests/python3-pytest-localhost
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x 2>&1

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



More information about the Python-modules-commits mailing list