We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370e770 commit 757f298Copy full SHA for 757f298
tests/catalog/test_rest.py
@@ -1496,6 +1496,10 @@ def test_request_session_with_ssl_ca_bundle() -> None:
1496
},
1497
}
1498
with pytest.raises(OSError) as e:
1499
+ if "REQUESTS_CA_BUNDLE" in os.environ:
1500
+ os.environ.pop("REQUESTS_CA_BUNDLE")
1501
+ if "CURL_CA_BUNDLE" in os.environ:
1502
+ os.environ.pop("CURL_CA_BUNDLE")
1503
# Missing namespace
1504
RestCatalog("rest", **catalog_properties) # type: ignore
1505
assert "Could not find a suitable TLS CA certificate bundle, invalid path: path_to_ca_bundle" in str(e.value)
0 commit comments