forked from phoenix/litellm-mirror
test(test_caching.py): reset to none
This commit is contained in:
parent
029084ccb8
commit
3ec103f712
3 changed files with 17 additions and 13 deletions
|
@ -342,6 +342,7 @@ def test_custom_redis_cache_with_key():
|
|||
|
||||
if response3['choices'][0]['message']['content'] == response2['choices'][0]['message']['content']:
|
||||
pytest.fail(f"Error occurred:")
|
||||
litellm.cache = None
|
||||
|
||||
test_custom_redis_cache_with_key()
|
||||
|
||||
|
@ -359,6 +360,7 @@ def test_hosted_cache():
|
|||
print(f"response1: {response1}")
|
||||
print(f"response2: {response2}")
|
||||
pytest.fail(f"Hosted cache: Response2 is not cached and the same as response 1")
|
||||
litellm.cache = None
|
||||
|
||||
# test_hosted_cache()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue