mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
test(test_completion.py): fix openai testing
This commit is contained in:
parent
7769abe432
commit
86f9bb0af6
1 changed files with 2 additions and 0 deletions
|
@ -385,6 +385,8 @@ def test_completion_openai():
|
|||
assert len(response_str) > 1
|
||||
|
||||
litellm.api_key = None
|
||||
except Timeout as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
# test_completion_openai()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue