We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53878f0 commit 5ed9c82Copy full SHA for 5ed9c82
tests/system/utils/test_main.py
@@ -23,14 +23,12 @@ def test_get_storage_init_args():
23
assert not required
24
25
26
-def test_request_ssl(httpsserver):
27
- httpsserver.serve_content('') # we need to serve something
28
-
+def test_request_ssl():
29
with pytest.raises(requests.exceptions.ConnectionError) as excinfo:
30
- http.request('GET', httpsserver.url)
+ http.request('GET', "https://self-signed.badssl.com/")
31
assert 'certificate verify failed' in str(excinfo.value)
32
33
- http.request('GET', httpsserver.url, verify=False)
+ http.request('GET', "https://self-signed.badssl.com/", verify=False)
34
35
36
def _fingerprints_broken():
0 commit comments