Skip to content

Commit

Permalink
test(test_completion.py): fix openai testing
Browse files Browse the repository at this point in the history
  • Loading branch information
krrishdholakia committed Nov 10, 2023
1 parent 7769abe commit 86f9bb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litellm/tests/test_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 86f9bb0

Please sign in to comment.