We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c4121 commit 285d516Copy full SHA for 285d516
tests/multisafepay/unit/test_unit_sdk.py
@@ -101,8 +101,14 @@ def test_sdk_blocks_custom_base_url_in_release(
101
)
102
103
104
-def test_sdk_allows_resolver_only_initialization() -> None:
+def test_sdk_allows_resolver_only_initialization(
105
+ monkeypatch: pytest.MonkeyPatch,
106
+) -> None:
107
"""Allow constructing SDK without api_key when resolver is provided."""
108
+ monkeypatch.delenv("MSP_SDK_BUILD_PROFILE", raising=False)
109
+ monkeypatch.delenv("MSP_SDK_CUSTOM_BASE_URL", raising=False)
110
+ monkeypatch.delenv("MSP_SDK_ALLOW_CUSTOM_BASE_URL", raising=False)
111
+
112
resolver = ScopedCredentialResolver(default_api_key="resolver_api_key")
113
114
sdk = Sdk(
0 commit comments