This commit is contained in:
Swifty
2026-02-17 11:40:54 +01:00
parent 37d575901f
commit cbfdf229ef

View File

@@ -395,7 +395,8 @@ def test_extraction_prompt_no_format_placeholders():
def test_make_tally_client_returns_configured_client():
"""_make_tally_client should create a Requests client with auth headers."""
client = _make_tally_client("test-api-key")
assert "Bearer test-api-key" in str(client.extra_headers.get("Authorization", ""))
assert client.extra_headers is not None
assert client.extra_headers.get("Authorization") == "Bearer test-api-key"
@pytest.mark.asyncio