mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
test(test_completion.py): fix test
This commit is contained in:
parent
eaa5e0f747
commit
8ebae96008
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
Reference in a new issue