mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-12 11:07:15 +00:00
test(test_completion.py): fix test case
This commit is contained in:
@@ -440,10 +440,12 @@ def test_completion_openai_litellm_key():
|
||||
|
||||
##### unset litellm var
|
||||
litellm.api_key = None
|
||||
except Timeout as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
# test_completion_openai_litellm_key()
|
||||
test_completion_openai_litellm_key()
|
||||
|
||||
def test_completion_openrouter1():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user