mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
test(test_completion.py): fix test case
This commit is contained in:
parent
e355a0674f
commit
62e83ce75a
1 changed files with 3 additions and 1 deletions
|
@ -440,10 +440,12 @@ def test_completion_openai_litellm_key():
|
||||||
|
|
||||||
##### unset litellm var
|
##### unset litellm var
|
||||||
litellm.api_key = None
|
litellm.api_key = None
|
||||||
|
except Timeout as e:
|
||||||
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pytest.fail(f"Error occurred: {e}")
|
pytest.fail(f"Error occurred: {e}")
|
||||||
|
|
||||||
# test_completion_openai_litellm_key()
|
test_completion_openai_litellm_key()
|
||||||
|
|
||||||
def test_completion_openrouter1():
|
def test_completion_openrouter1():
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue