Skip to content

Commit 328ba36

Browse files
authored
chore(openai): skip Azure text completions tests (#34021)
1 parent 6f677ef commit 328ba36

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

libs/partners/openai/tests/integration_tests/llms/test_azure.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
os.environ.get("AZURE_OPENAI_LLM_DEPLOYMENT_NAME", ""),
2020
)
2121

22+
pytestmark = pytest.mark.skipif(
23+
True,
24+
reason=(
25+
"This entire module is skipped as all Azure OpenAI models supporting text "
26+
"completions are retired. See: "
27+
"https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/legacy-models"
28+
),
29+
)
30+
2231

2332
def _get_llm(**kwargs: Any) -> AzureOpenAI:
2433
return AzureOpenAI( # type: ignore[call-arg, call-arg, call-arg]

0 commit comments

Comments
 (0)