[Python-modules-commits] [python-pip] 01/01: Update the DEP-8 tests.

Barry Warsaw barry at moszumanska.debian.org
Fri Jan 29 22:44:34 UTC 2016


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

barry pushed a commit to branch master
in repository python-pip.

commit d7ceefb122973826ee8096b0b0f8f41411cc103f
Author: Barry Warsaw <barry at python.org>
Date:   Fri Jan 29 17:43:24 2016 -0500

    Update the DEP-8 tests.
---
 debian/tests/control | 6 ++++--
 debian/tests/pip2.sh | 6 ++++++
 debian/tests/pip3.sh | 6 ++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 5f1f389..e40299e 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,5 @@
-Test-Command: pip install flufl.lock
+Tests: pip2.sh
+Restrictions: needs-root
 
-Test-Command: pip3 install flufl.lock
+Tests: pip3.sh
+Restrictions: needs-root
diff --git a/debian/tests/pip2.sh b/debian/tests/pip2.sh
new file mode 100644
index 0000000..6d4ef12
--- /dev/null
+++ b/debian/tests/pip2.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+pip install six
+pip list
+pip uninstall -y six
+pip list
diff --git a/debian/tests/pip3.sh b/debian/tests/pip3.sh
new file mode 100644
index 0000000..58af5c8
--- /dev/null
+++ b/debian/tests/pip3.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+pip3 install six
+pip3 list
+pip3 uninstall -y six
+pip3 list

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



More information about the Python-modules-commits mailing list