mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
# expect an error when getting the response again since
This commit is contained in:
parent
0cc0da37f3
commit
2e9fb2f6ba
1 changed files with 1 additions and 4 deletions
|
|
@ -86,10 +86,7 @@ def test_basic_response():
|
|||
delete_response = client.responses.delete(response.id)
|
||||
print("DELETE response=", delete_response)
|
||||
|
||||
# try getting the response again, we should not get it back
|
||||
get_response = client.responses.retrieve(response.id)
|
||||
print("GET response after delete=", get_response)
|
||||
|
||||
# expect an error when getting the response again since it was deleted
|
||||
with pytest.raises(Exception):
|
||||
get_response = client.responses.retrieve(response.id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue