mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-07 06:29:41 +00:00
test(test_completion.py): fix test
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user