[Python-modules-commits] [vcr.py] 06/07: set up DEP-8 tests

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Aug 1 08:32:16 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository vcr.py.

commit 207c0ba1f4f86eee149104df71bba79e51019f5b
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Aug 1 10:04:34 2015 +0200

    set up DEP-8 tests
---
 debian/changelog         | 2 +-
 debian/control           | 1 +
 debian/tests/control     | 5 +++++
 debian/tests/python-vcr  | 3 +++
 debian/tests/python3-vcr | 3 +++
 5 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e59b06f..be4c1a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ vcr.py (1.6.1-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #792700).
 
- -- Daniel Stender <debian at danielstender.com>  Fri, 31 Jul 2015 20:01:09 +0200
+ -- Daniel Stender <debian at danielstender.com>  Sat, 01 Aug 2015 10:10:25 +0200
diff --git a/debian/control b/debian/control
index e9710ce..dd8452f 100644
--- a/debian/control
+++ b/debian/control
@@ -42,6 +42,7 @@ Vcs-Git: git://anonscm.debian.org/python-modules/packages/vcr.py.git
 Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/vcr.py.git
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.3
+Testsuite: autopkgtest
 
 Package: python-vcr
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..9dbc5b5
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-vcr
+Depends: python-all, python-six, python-wrapt, python-yaml, python-contextlib2, python-mock, python-pytest, python-pytest-localserver, python-urllib3, python-requests, python-httplib2, python-tornado, python-pytest-tornado
+
+Tests: python3-vcr
+Depends: python3-all, python3-six, python3-wrapt, python3-yaml, python3-contextlib2, python3-mock, python3-pytest, python3-pytest-localserver, python3-urllib3, python3-requests, python3-httplib2, python3-tornado, python3-pytest-tornado
diff --git a/debian/tests/python-vcr b/debian/tests/python-vcr
new file mode 100755
index 0000000..69a0613
--- /dev/null
+++ b/debian/tests/python-vcr
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x -rs 2>&1
+
diff --git a/debian/tests/python3-vcr b/debian/tests/python3-vcr
new file mode 100755
index 0000000..0bc599e
--- /dev/null
+++ b/debian/tests/python3-vcr
@@ -0,0 +1,3 @@
+#!/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/vcr.py.git



More information about the Python-modules-commits mailing list