Skip to content

Commit 1ffd959

Browse files
Update tests/test_client.py
Co-authored-by: Robert Craigie <[email protected]>
1 parent 771af2c commit 1ffd959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ def test_refresh_auth_headers_key(self) -> None:
956956
assert client.auth_headers.get("Authorization") == "Bearer test_api_key"
957957

958958
@pytest.mark.respx()
959-
def test_bearer_token_refresh(self, respx_mock: MockRouter) -> None:
959+
def test_api_key_refresh_on_retry(self, respx_mock: MockRouter) -> None:
960960
respx_mock.post(base_url + "/chat/completions").mock(
961961
side_effect=[
962962
httpx.Response(500, json={"error": "server error"}),

0 commit comments

Comments
 (0)