mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-02 18:21:56 +00:00
test: cleanup codestral tests - backend api unavailable
This commit is contained in:
@@ -1088,6 +1088,7 @@ def test_completion_mistral_api():
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="backend api unavailable")
|
||||
@pytest.mark.asyncio
|
||||
async def test_completion_codestral_chat_api():
|
||||
try:
|
||||
|
||||
@@ -4109,9 +4109,7 @@ async def test_async_text_completion_chat_model_stream():
|
||||
# asyncio.run(test_async_text_completion_chat_model_stream())
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"model", ["vertex_ai/codestral@2405", "text-completion-codestral/codestral-2405"] #
|
||||
)
|
||||
@pytest.mark.parametrize("model", ["vertex_ai/codestral@2405"]) #
|
||||
@pytest.mark.asyncio
|
||||
async def test_completion_codestral_fim_api(model):
|
||||
try:
|
||||
@@ -4154,7 +4152,7 @@ async def test_completion_codestral_fim_api(model):
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"model",
|
||||
["vertex_ai/codestral@2405", "text-completion-codestral/codestral-2405"],
|
||||
["vertex_ai/codestral@2405"],
|
||||
)
|
||||
@pytest.mark.asyncio
|
||||
async def test_completion_codestral_fim_api_stream(model):
|
||||
|
||||
Reference in New Issue
Block a user