mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
test(test_completion.py): fix test
This commit is contained in:
parent
7311e82f47
commit
7c1e2bf01c
1 changed files with 0 additions and 4 deletions
|
@ -97,8 +97,6 @@ def test_null_role_response():
|
|||
"""
|
||||
import openai
|
||||
|
||||
litellm.success_callback = ["lunary"]
|
||||
|
||||
openai_client = openai.OpenAI()
|
||||
with patch.object(
|
||||
openai_client.chat.completions, "create", side_effect=_openai_mock_response
|
||||
|
@ -114,8 +112,6 @@ def test_null_role_response():
|
|||
|
||||
assert response.choices[0].message.role == "assistant"
|
||||
|
||||
assert False
|
||||
|
||||
|
||||
def test_completion_azure_command_r():
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue