File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1486,7 +1486,7 @@ def test_update_namespace_properties_invalid_namespace(rest_mock: Mocker) -> Non
14861486 assert "Empty namespace identifier" in str (e .value )
14871487
14881488
1489- def test_request_session_with_ssl_ca_bundle () -> None :
1489+ def test_request_session_with_ssl_ca_bundle (monkeypatch : pytest . MonkeyPatch ) -> None :
14901490 # Given
14911491 catalog_properties = {
14921492 "uri" : TEST_URI ,
@@ -1496,6 +1496,8 @@ def test_request_session_with_ssl_ca_bundle() -> None:
14961496 },
14971497 }
14981498 with pytest .raises (OSError ) as e :
1499+ monkeypatch .delenv ("REQUESTS_CA_BUNDLE" , raising = False )
1500+ monkeypatch .delenv ("CURL_CA_BUNDLE" , raising = False )
14991501 # Missing namespace
15001502 RestCatalog ("rest" , ** catalog_properties ) # type: ignore
15011503 assert "Could not find a suitable TLS CA certificate bundle, invalid path: path_to_ca_bundle" in str (e .value )
You can’t perform that action at this time.
0 commit comments