packages/s3ql: remove ssl monkeypatch (backport from 5.2.1)
This commit is contained in:
parent
ace350216e
commit
a21a003aea
1 changed files with 12 additions and 0 deletions
12
patches/base/s3ql/remove-ssl-monkeypatch.patch
Normal file
12
patches/base/s3ql/remove-ssl-monkeypatch.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/tests/t0_http.py b/tests/t0_http.py
|
||||||
|
index 66ed564f..36bebab1 100755
|
||||||
|
--- a/tests/t0_http.py
|
||||||
|
+++ b/tests/t0_http.py
|
||||||
|
@@ -289,7 +289,6 @@ def do_GET(self):
|
||||||
|
|
||||||
|
# We don't *actually* want to establish SSL, that'd be
|
||||||
|
# to complex for our mock server
|
||||||
|
- monkeypatch.setattr('ssl.match_hostname', lambda x, y: True)
|
||||||
|
conn = HTTPConnection(
|
||||||
|
test_host,
|
||||||
|
test_port,
|
Loading…
Reference in a new issue