Skip to content

Commit e2c9bce

Browse files
chore(internal): skip broken test (#2289)
1 parent 39defd6 commit e2c9bce

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Diff for: .stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 97
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-32de3bc513663c5fac922c49be41c222b6ee8c0b841d8966bcdfa489d441daa3.yml
33
openapi_spec_hash: ea86343b5e9858a74e85da8ab2c532f6
4-
config_hash: d6c61213488683418adb860a9ee1501b
4+
config_hash: 43dc8df20ffec9d1503f91866cb2b7d9

Diff for: tests/api_resources/fine_tuning/checkpoints/test_permissions.py

+8
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,15 @@ def test_path_params_retrieve(self, client: OpenAI) -> None:
117117
fine_tuned_model_checkpoint="",
118118
)
119119

120+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
120121
@parametrize
121122
def test_method_delete(self, client: OpenAI) -> None:
122123
permission = client.fine_tuning.checkpoints.permissions.delete(
123124
"ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd",
124125
)
125126
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
126127

128+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
127129
@parametrize
128130
def test_raw_response_delete(self, client: OpenAI) -> None:
129131
response = client.fine_tuning.checkpoints.permissions.with_raw_response.delete(
@@ -135,6 +137,7 @@ def test_raw_response_delete(self, client: OpenAI) -> None:
135137
permission = response.parse()
136138
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
137139

140+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
138141
@parametrize
139142
def test_streaming_response_delete(self, client: OpenAI) -> None:
140143
with client.fine_tuning.checkpoints.permissions.with_streaming_response.delete(
@@ -148,6 +151,7 @@ def test_streaming_response_delete(self, client: OpenAI) -> None:
148151

149152
assert cast(Any, response.is_closed) is True
150153

154+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
151155
@parametrize
152156
def test_path_params_delete(self, client: OpenAI) -> None:
153157
with pytest.raises(
@@ -256,13 +260,15 @@ async def test_path_params_retrieve(self, async_client: AsyncOpenAI) -> None:
256260
fine_tuned_model_checkpoint="",
257261
)
258262

263+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
259264
@parametrize
260265
async def test_method_delete(self, async_client: AsyncOpenAI) -> None:
261266
permission = await async_client.fine_tuning.checkpoints.permissions.delete(
262267
"ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd",
263268
)
264269
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
265270

271+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
266272
@parametrize
267273
async def test_raw_response_delete(self, async_client: AsyncOpenAI) -> None:
268274
response = await async_client.fine_tuning.checkpoints.permissions.with_raw_response.delete(
@@ -274,6 +280,7 @@ async def test_raw_response_delete(self, async_client: AsyncOpenAI) -> None:
274280
permission = response.parse()
275281
assert_matches_type(PermissionDeleteResponse, permission, path=["response"])
276282

283+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
277284
@parametrize
278285
async def test_streaming_response_delete(self, async_client: AsyncOpenAI) -> None:
279286
async with async_client.fine_tuning.checkpoints.permissions.with_streaming_response.delete(
@@ -287,6 +294,7 @@ async def test_streaming_response_delete(self, async_client: AsyncOpenAI) -> Non
287294

288295
assert cast(Any, response.is_closed) is True
289296

297+
@pytest.mark.skip(reason="OpenAPI spec is slightly incorrect")
290298
@parametrize
291299
async def test_path_params_delete(self, async_client: AsyncOpenAI) -> None:
292300
with pytest.raises(

0 commit comments

Comments
 (0)