Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ def test_validate_headers(self) -> None:
client_secret=client_secret,
_strict_response_validation=True,
)

with pytest.raises(
TypeError,
match="Could not resolve authentication method. Expected either access_token, sandbox_client_id or sandbox_client_secret to be set. Or for one of the `Authorization` or `Authorization` headers to be explicitly omitted",
Expand Down Expand Up @@ -1300,6 +1301,7 @@ def test_validate_headers(self) -> None:
client_secret=client_secret,
_strict_response_validation=True,
)

with pytest.raises(
TypeError,
match="Could not resolve authentication method. Expected either access_token, sandbox_client_id or sandbox_client_secret to be set. Or for one of the `Authorization` or `Authorization` headers to be explicitly omitted",
Expand Down