mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
test(integration): pin the ungranted-key llm endpoint status to 200
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
400c7c83fb
commit
ba07390948
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ def test_ungranted_key_gets_no_gateway_tools_and_the_peer_is_never_reached(gatew
|
|||
assert _peer_add_calls(rig.peer) == (), "denied caller reached the peer"
|
||||
requests: Final = rig.upstream_tools()
|
||||
assert requests and all(rig.tool not in names for names in requests), requests
|
||||
assert response.status_code in (200, 400, 401, 403), response.text
|
||||
assert response.status_code == 200, response.text
|
||||
|
||||
|
||||
@pytest.mark.parametrize("surface", ("chat", "responses", "messages"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue