Skip to content
Myr

ch ch changes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 57dbab2 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:test_requests_ext.py+2 added-2 removed
26 unmodified lines
2728 def test_ssl_hostname_not_ok(self):29 requests.get('https://kennethreitz.com', verify=False)3031 self.assertRaises(requests.exceptions.SSLError, requests.get, 'https://kennethreitz.com', verify=True)31 self.assertRaises(requests.exceptions.SSLError, requests.get, 'https://kennethreitz.com')3233 def test_ssl_hostname_session_not_ok(self):3435 s = requests.session(verify=True)35 s = requests.session()3637 s.get('https://kennethreitz.com', verify=False)3839 self.assertRaises(requests.exceptions.SSLError, s.get, 'https://kennethreitz.com')
6 unmodified lines