Skip to content

Commit 42c44fb

Browse files
feat: chore: skip ai.tomarkdown prism tests
* chore: skip ai.tomarkdown prism tests
1 parent 9a8c784 commit 42c44fb

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 2015
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-83f49bc3fa9273ef989d3e8bcd27f6fdaa7d04ae2519a91f4878f46acc501bb9.yml
33
openapi_spec_hash: 3f4be3af6f51eea4787dc8345f9ca9c1
4-
config_hash: 92ad329e5d0b8cf6f4abe59cc46264b2
4+
config_hash: 3b5a073ea01bcd6be97d48c78c243b9e

tests/api_resources/ai/test_to_markdown.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def test_path_params_supported(self, client: Cloudflare) -> None:
5656
account_id="",
5757
)
5858

59+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
5960
@parametrize
6061
def test_method_transform(self, client: Cloudflare) -> None:
6162
to_markdown = client.ai.to_markdown.transform(
@@ -64,6 +65,7 @@ def test_method_transform(self, client: Cloudflare) -> None:
6465
)
6566
assert_matches_type(SyncSinglePage[ToMarkdownTransformResponse], to_markdown, path=["response"])
6667

68+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
6769
@parametrize
6870
def test_raw_response_transform(self, client: Cloudflare) -> None:
6971
response = client.ai.to_markdown.with_raw_response.transform(
@@ -76,6 +78,7 @@ def test_raw_response_transform(self, client: Cloudflare) -> None:
7678
to_markdown = response.parse()
7779
assert_matches_type(SyncSinglePage[ToMarkdownTransformResponse], to_markdown, path=["response"])
7880

81+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
7982
@parametrize
8083
def test_streaming_response_transform(self, client: Cloudflare) -> None:
8184
with client.ai.to_markdown.with_streaming_response.transform(
@@ -90,6 +93,7 @@ def test_streaming_response_transform(self, client: Cloudflare) -> None:
9093

9194
assert cast(Any, response.is_closed) is True
9295

96+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
9397
@parametrize
9498
def test_path_params_transform(self, client: Cloudflare) -> None:
9599
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
@@ -142,6 +146,7 @@ async def test_path_params_supported(self, async_client: AsyncCloudflare) -> Non
142146
account_id="",
143147
)
144148

149+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
145150
@parametrize
146151
async def test_method_transform(self, async_client: AsyncCloudflare) -> None:
147152
to_markdown = await async_client.ai.to_markdown.transform(
@@ -150,6 +155,7 @@ async def test_method_transform(self, async_client: AsyncCloudflare) -> None:
150155
)
151156
assert_matches_type(AsyncSinglePage[ToMarkdownTransformResponse], to_markdown, path=["response"])
152157

158+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
153159
@parametrize
154160
async def test_raw_response_transform(self, async_client: AsyncCloudflare) -> None:
155161
response = await async_client.ai.to_markdown.with_raw_response.transform(
@@ -162,6 +168,7 @@ async def test_raw_response_transform(self, async_client: AsyncCloudflare) -> No
162168
to_markdown = await response.parse()
163169
assert_matches_type(AsyncSinglePage[ToMarkdownTransformResponse], to_markdown, path=["response"])
164170

171+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
165172
@parametrize
166173
async def test_streaming_response_transform(self, async_client: AsyncCloudflare) -> None:
167174
async with async_client.ai.to_markdown.with_streaming_response.transform(
@@ -176,6 +183,7 @@ async def test_streaming_response_transform(self, async_client: AsyncCloudflare)
176183

177184
assert cast(Any, response.is_closed) is True
178185

186+
@pytest.mark.skip(reason="TODO: investigate prism error for invalid security scheme used")
179187
@parametrize
180188
async def test_path_params_transform(self, async_client: AsyncCloudflare) -> None:
181189
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):

0 commit comments

Comments
 (0)