Skip to content

Commit 547f900

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

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/api_resources/alerting/test_policies.py

+24
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
374374
account_id="023e105f4ecef8ad9ca31a8372d0c353",
375375
)
376376

377+
@pytest.mark.skip(
378+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4274"
379+
)
377380
@parametrize
378381
def test_method_get(self, client: Cloudflare) -> None:
379382
policy = client.alerting.policies.get(
@@ -382,6 +385,9 @@ def test_method_get(self, client: Cloudflare) -> None:
382385
)
383386
assert_matches_type(Optional[Policy], policy, path=["response"])
384387

388+
@pytest.mark.skip(
389+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4274"
390+
)
385391
@parametrize
386392
def test_raw_response_get(self, client: Cloudflare) -> None:
387393
response = client.alerting.policies.with_raw_response.get(
@@ -394,6 +400,9 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
394400
policy = response.parse()
395401
assert_matches_type(Optional[Policy], policy, path=["response"])
396402

403+
@pytest.mark.skip(
404+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4274"
405+
)
397406
@parametrize
398407
def test_streaming_response_get(self, client: Cloudflare) -> None:
399408
with client.alerting.policies.with_streaming_response.get(
@@ -408,6 +417,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
408417

409418
assert cast(Any, response.is_closed) is True
410419

420+
@pytest.mark.skip(
421+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4274"
422+
)
411423
@parametrize
412424
def test_path_params_get(self, client: Cloudflare) -> None:
413425
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
@@ -777,6 +789,9 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
777789
account_id="023e105f4ecef8ad9ca31a8372d0c353",
778790
)
779791

792+
@pytest.mark.skip(
793+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4274"
794+
)
780795
@parametrize
781796
async def test_method_get(self, async_client: AsyncCloudflare) -> None:
782797
policy = await async_client.alerting.policies.get(
@@ -785,6 +800,9 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
785800
)
786801
assert_matches_type(Optional[Policy], policy, path=["response"])
787802

803+
@pytest.mark.skip(
804+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4274"
805+
)
788806
@parametrize
789807
async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
790808
response = await async_client.alerting.policies.with_raw_response.get(
@@ -797,6 +815,9 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
797815
policy = await response.parse()
798816
assert_matches_type(Optional[Policy], policy, path=["response"])
799817

818+
@pytest.mark.skip(
819+
reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4274"
820+
)
800821
@parametrize
801822
async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None:
802823
async with async_client.alerting.policies.with_streaming_response.get(
@@ -811,6 +832,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
811832

812833
assert cast(Any, response.is_closed) is True
813834

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

0 commit comments

Comments
 (0)