Skip to content

Commit ff36cdb

Browse files
skip failing models.list tests (Azure#40073)
* skip failing models.list tests * fix test fails
1 parent 1f7312f commit ff36cdb

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

sdk/openai/azure-openai/tests/test_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
@pytest.mark.live_test_only
1515
class TestModels(AzureRecordedTestCase):
1616

17+
@pytest.mark.skip("InternalServerError, opened issue")
1718
@configure
1819
@pytest.mark.parametrize(
1920
"api_type, api_version",

sdk/openai/azure-openai/tests/test_models_async.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
@pytest.mark.live_test_only
1515
class TestModelsAsync(AzureRecordedTestCase):
1616

17+
@pytest.mark.skip("InternalServerError, opened issue")
1718
@configure_async
1819
@pytest.mark.asyncio
1920
@pytest.mark.parametrize(

sdk/openai/azure-openai/tests/test_module_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def test_module_client_embeddings(self, client, api_type, api_version, **kwargs)
200200
assert embedding.data[0].index is not None
201201
assert len(embedding.data[0].embedding) > 0
202202

203+
@pytest.mark.skip("InternalServerError, opened issue")
203204
@configure
204205
@pytest.mark.parametrize("api_type, api_version", [(AZURE, LATEST)])
205206
def test_module_client_models(self, client, api_type, api_version, **kwargs):

sdk/openai/azure-openai/tests/test_vector_stores.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright (c) Microsoft Corporation.
33
# Licensed under the MIT License.
44
# ------------------------------------
5+
from __future__ import annotations
56

67
import os
78
import pytest

sdk/openai/azure-openai/tests/test_vector_stores_async.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright (c) Microsoft Corporation.
33
# Licensed under the MIT License.
44
# ------------------------------------
5+
from __future__ import annotations
56

67
import os
78
import pytest

0 commit comments

Comments
 (0)