Commit 13ff6dd3
Changed files (2)
tests
api_resources
fine_tuning
checkpoints
tests/api_resources/fine_tuning/checkpoints/test_permissions.py
@@ -117,6 +117,7 @@ class TestPermissions:
fine_tuned_model_checkpoint="",
)
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
def test_method_delete(self, client: OpenAI) -> None:
permission = client.fine_tuning.checkpoints.permissions.delete(
@@ -124,6 +125,7 @@ class TestPermissions:
)
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
def test_raw_response_delete(self, client: OpenAI) -> None:
response = client.fine_tuning.checkpoints.permissions.with_raw_response.delete(
@@ -135,6 +137,7 @@ class TestPermissions:
permission = response.parse()
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
def test_streaming_response_delete(self, client: OpenAI) -> None:
with client.fine_tuning.checkpoints.permissions.with_streaming_response.delete(
@@ -148,6 +151,7 @@ class TestPermissions:
assert cast(Any, response.is_closed) is True
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
def test_path_params_delete(self, client: OpenAI) -> None:
with pytest.raises(
@@ -256,6 +260,7 @@ class TestAsyncPermissions:
fine_tuned_model_checkpoint="",
)
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
async def test_method_delete(self, async_client: AsyncOpenAI) -> None:
permission = await async_client.fine_tuning.checkpoints.permissions.delete(
@@ -263,6 +268,7 @@ class TestAsyncPermissions:
)
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
async def test_raw_response_delete(self, async_client: AsyncOpenAI) -> None:
response = await async_client.fine_tuning.checkpoints.permissions.with_raw_response.delete(
@@ -274,6 +280,7 @@ class TestAsyncPermissions:
permission = response.parse()
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
async def test_streaming_response_delete(self, async_client: AsyncOpenAI) -> None:
async with async_client.fine_tuning.checkpoints.permissions.with_streaming_response.delete(
@@ -287,6 +294,7 @@ class TestAsyncPermissions:
assert cast(Any, response.is_closed) is True
+ @pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
@parametrize
async def test_path_params_delete(self, async_client: AsyncOpenAI) -> None:
with pytest.raises(
.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 97
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-32de3bc513663c5fac922c49be41c222b6ee8c0b841d8966bcdfa489d441daa3.yml
openapi_spec_hash: ea86343b5e9858a74e85da8ab2c532f6
-config_hash: d6c61213488683418adb860a9ee1501b
+config_hash: 43dc8df20ffec9d1503f91866cb2b7d9