Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
python3-urllib3
urllib3-test-ssl-drop-sslv3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File urllib3-test-ssl-drop-sslv3.patch of Package python3-urllib3
Index: b/test/with_dummyserver/test_https.py =================================================================== --- a/test/with_dummyserver/test_https.py +++ b/test/with_dummyserver/test_https.py @@ -425,21 +425,21 @@ class TestHTTPS(HTTPSDummyServerTestCase class TestHTTPS_TLSv1(HTTPSDummyServerTestCase): certs = DEFAULT_CERTS.copy() - certs['ssl_version'] = ssl.PROTOCOL_TLSv1 + certs['ssl_version'] = ssl.PROTOCOL_TLSv1_2 def setUp(self): self._pool = HTTPSConnectionPool(self.host, self.port) - def test_set_ssl_version_to_sslv3(self): - self._pool.ssl_version = ssl.PROTOCOL_SSLv3 + def test_set_ssl_version_to_tlsv1(self): + self._pool.ssl_version = ssl.PROTOCOL_TLSv1 self.assertRaises(SSLError, self._pool.request, 'GET', '/') def test_ssl_version_as_string(self): - self._pool.ssl_version = 'PROTOCOL_SSLv3' + self._pool.ssl_version = 'PROTOCOL_TLSv1' self.assertRaises(SSLError, self._pool.request, 'GET', '/') def test_ssl_version_as_short_string(self): - self._pool.ssl_version = 'SSLv3' + self._pool.ssl_version = 'TLSv1' self.assertRaises(SSLError, self._pool.request, 'GET', '/') def test_discards_connection_on_sslerror(self):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor