2015-05-18 13:37:34 +00:00
|
|
|
--- wsgi_intercept-0.10.0.orig/test/test_httplib2.py
|
|
|
|
+++ wsgi_intercept-0.10.0/test/test_httplib2.py
|
|
|
|
@@ -40,13 +40,6 @@ def test_http_other_port():
|
|
|
|
assert environ['wsgi.url_scheme'] == 'http'
|
2014-01-30 16:44:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
-def test_bogus_domain():
|
2015-05-18 13:37:34 +00:00
|
|
|
- with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
|
|
|
|
- py.test.raises(
|
|
|
|
- gaierror,
|
2014-01-30 16:44:55 +00:00
|
|
|
- 'httplib2_intercept.HTTP_WSGIInterceptorWithTimeout("_nonexistant_domain_").connect()')
|
|
|
|
-
|
2015-05-18 13:37:34 +00:00
|
|
|
-
|
|
|
|
def test_https():
|
|
|
|
with InstalledApp(wsgi_app.simple_app, host=HOST, port=443) as app:
|
|
|
|
http = httplib2.Http()
|