You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-12-28 00:33:48 +02:00
Merge pull request #584 from scorphus/hotfix/new-requests
Support requests>=2.14.0
This commit is contained in:
@@ -90,7 +90,8 @@ class TestServerCert:
|
||||
http(httpbin_secure_untrusted.url + '/get')
|
||||
|
||||
def test_verify_custom_ca_bundle_invalid_path(self, httpbin_secure):
|
||||
with pytest.raises(SSLError):
|
||||
# since 2.14.0 requests raises IOError
|
||||
with pytest.raises((SSLError, IOError)):
|
||||
http(httpbin_secure.url + '/get', '--verify', '/__not_found__')
|
||||
|
||||
def test_verify_custom_ca_bundle_invalid_bundle(self, httpbin_secure):
|
||||
|
||||
Reference in New Issue
Block a user