mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
test(test_caching.py): fix test_redis_cache_acompletion_stream
This commit is contained in:
parent
be055f31ee
commit
eda65a25e3
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ def test_redis_cache_completion_stream():
|
||||||
response_2_id = ""
|
response_2_id = ""
|
||||||
for chunk in response2:
|
for chunk in response2:
|
||||||
print(chunk)
|
print(chunk)
|
||||||
response_2_id += chunk.id
|
response_2_id = chunk.id
|
||||||
assert (
|
assert (
|
||||||
response_1_id == response_2_id
|
response_1_id == response_2_id
|
||||||
), f"Response 1 != Response 2. Same params, Response 1{response_1_id} != Response 2{response_2_id}"
|
), f"Response 1 != Response 2. Same params, Response 1{response_1_id} != Response 2{response_2_id}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue