Skip to content

Commit f30af85

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#783)
1 parent c8dc5e3 commit f30af85

File tree

3 files changed

+384
-0
lines changed

3 files changed

+384
-0
lines changed

tests/api_resources/alerting/destinations/test_webhooks.py

+24
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
264264
account_id="023e105f4ecef8ad9ca31a8372d0c353",
265265
)
266266

267+
@pytest.mark.skip(
268+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
269+
)
267270
@parametrize
268271
def test_method_get(self, client: Cloudflare) -> None:
269272
webhook = client.alerting.destinations.webhooks.get(
@@ -272,6 +275,9 @@ def test_method_get(self, client: Cloudflare) -> None:
272275
)
273276
assert_matches_type(Optional[Webhooks], webhook, path=["response"])
274277

278+
@pytest.mark.skip(
279+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
280+
)
275281
@parametrize
276282
def test_raw_response_get(self, client: Cloudflare) -> None:
277283
response = client.alerting.destinations.webhooks.with_raw_response.get(
@@ -284,6 +290,9 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
284290
webhook = response.parse()
285291
assert_matches_type(Optional[Webhooks], webhook, path=["response"])
286292

293+
@pytest.mark.skip(
294+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
295+
)
287296
@parametrize
288297
def test_streaming_response_get(self, client: Cloudflare) -> None:
289298
with client.alerting.destinations.webhooks.with_streaming_response.get(
@@ -298,6 +307,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
298307

299308
assert cast(Any, response.is_closed) is True
300309

310+
@pytest.mark.skip(
311+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
312+
)
301313
@parametrize
302314
def test_path_params_get(self, client: Cloudflare) -> None:
303315
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
@@ -557,6 +569,9 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
557569
account_id="023e105f4ecef8ad9ca31a8372d0c353",
558570
)
559571

572+
@pytest.mark.skip(
573+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
574+
)
560575
@parametrize
561576
async def test_method_get(self, async_client: AsyncCloudflare) -> None:
562577
webhook = await async_client.alerting.destinations.webhooks.get(
@@ -565,6 +580,9 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
565580
)
566581
assert_matches_type(Optional[Webhooks], webhook, path=["response"])
567582

583+
@pytest.mark.skip(
584+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
585+
)
568586
@parametrize
569587
async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
570588
response = await async_client.alerting.destinations.webhooks.with_raw_response.get(
@@ -577,6 +595,9 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
577595
webhook = await response.parse()
578596
assert_matches_type(Optional[Webhooks], webhook, path=["response"])
579597

598+
@pytest.mark.skip(
599+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
600+
)
580601
@parametrize
581602
async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None:
582603
async with async_client.alerting.destinations.webhooks.with_streaming_response.get(
@@ -591,6 +612,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
591612

592613
assert cast(Any, response.is_closed) is True
593614

615+
@pytest.mark.skip(
616+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291"
617+
)
594618
@parametrize
595619
async def test_path_params_get(self, async_client: AsyncCloudflare) -> None:
596620
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):

0 commit comments

Comments
 (0)