forked from pool/python-wsgi_intercept
- update to version 0.10.0 - refresh wsgi_intercept-disable-testbogusdomain.patch - update project URL - skip tests trying to access google.com with command line option OBS-URL: https://build.opensuse.org/request/show/307136 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=17
17 lines
573 B
Diff
17 lines
573 B
Diff
--- 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'
|
|
|
|
|
|
-def test_bogus_domain():
|
|
- with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
|
|
- py.test.raises(
|
|
- gaierror,
|
|
- 'httplib2_intercept.HTTP_WSGIInterceptorWithTimeout("_nonexistant_domain_").connect()')
|
|
-
|
|
-
|
|
def test_https():
|
|
with InstalledApp(wsgi_app.simple_app, host=HOST, port=443) as app:
|
|
http = httplib2.Http()
|