aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorBarry Warsaw <barry@debian.org>2014-06-04 15:00:00 +0000
committerBarry Warsaw <barry@debian.org>2014-06-04 15:00:00 +0000
commit6f2f83d78c087c37599a2a347c0f4b377a053ead (patch)
tree659d827800dbf92fda410fc78c01e41ec9857e7c /debian/rules
parent52f675ec01015fb5f674f9d307ba1f1d1b603827 (diff)
downloadpython-requests-6f2f83d78c087c37599a2a347c0f4b377a053ead.tar
python-requests-6f2f83d78c087c37599a2a347c0f4b377a053ead.tar.gz
Disable the test suite until upstream issue #1166 is fixed, since it
currently requires external internet access.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules17
1 files changed, 13 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 8adac87..d547907 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,20 @@ export PYBUILD_NAME=requests
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+# The test suite currently requires external network access, so we
+# can't enable it. Once this issue is fixed, it will be easy to
+# re-enable.
+#
+# https://github.com/kennethreitz/requests/issues/1166
+#
+# barry@debian.org 2014-06-04
+#override_dh_auto_test:
+# PYBUILD_SYSTEM=custom \
+# PYBUILD_TEST_ARGS="{interpreter} test_requests.py" \
+# http_proxy= https_proxy= \
+# dh_auto_test
+
override_dh_auto_test:
- PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="{interpreter} test_requests.py" \
- http_proxy= https_proxy= \
- dh_auto_test
override_dh_installchangelogs:
dh_installchangelogs HISTORY.rst