From 0402b7cccbb0e3d7df4db9937b9a3b79047985ac Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:30:39 +0000 Subject: [PATCH] chore: updates --- tests/api_resources/test_zones.py | 34 -- .../applications/policy_tests/test_users.py | 8 - .../access/applications/test_policy_tests.py | 18 - .../access/infrastructure/test_targets.py | 62 --- .../access/logs/test_access_requests.py | 10 - .../zero_trust/access/test_bookmarks.py | 40 -- .../zero_trust/access/test_custom_pages.py | 44 -- .../zero_trust/access/test_keys.py | 24 - .../zero_trust/access/test_policies.py | 44 -- .../zero_trust/access/test_service_tokens.py | 16 - .../zero_trust/access/test_tags.py | 42 -- .../zero_trust/access/test_users.py | 10 - .../access/users/test_active_sessions.py | 16 - .../access/users/test_failed_logins.py | 8 - .../access/users/test_last_seen_identity.py | 8 - .../devices/policies/default/test_excludes.py | 16 - .../policies/default/test_fallback_domains.py | 16 - .../devices/policies/default/test_includes.py | 16 - .../devices/policies/test_default.py | 18 - .../devices/posture/test_integrations.py | 44 -- .../zero_trust/devices/test_dex_tests.py | 44 -- .../zero_trust/devices/test_networks.py | 44 -- .../zero_trust/devices/test_posture.py | 44 -- .../zero_trust/devices/test_revoke.py | 8 - .../zero_trust/devices/test_settings.py | 28 -- .../zero_trust/devices/test_unrevoke.py | 8 - .../zero_trust/dex/commands/test_downloads.py | 8 - .../zero_trust/dex/commands/test_quota.py | 8 - .../zero_trust/dex/test_colos.py | 10 - .../zero_trust/dex/test_commands.py | 18 - .../zero_trust/dex/test_fleet_status.py | 18 - .../zero_trust/dex/test_http_tests.py | 10 - .../zero_trust/dex/test_tests.py | 10 - .../zero_trust/dex/test_traceroute_tests.py | 28 -- .../dex/tests/test_unique_devices.py | 10 - .../zero_trust/dlp/datasets/test_upload.py | 8 - .../zero_trust/dlp/datasets/test_versions.py | 8 - .../dlp/datasets/versions/test_entries.py | 8 - .../zero_trust/dlp/profiles/test_custom.py | 44 -- .../dlp/profiles/test_predefined.py | 18 - .../zero_trust/dlp/test_datasets.py | 44 -- .../zero_trust/dlp/test_entries.py | 60 --- .../zero_trust/dlp/test_limits.py | 8 - .../zero_trust/dlp/test_patterns.py | 10 - .../zero_trust/dlp/test_payload_logs.py | 18 - .../zero_trust/dlp/test_profiles.py | 18 - .../zero_trust/gateway/test_app_types.py | 8 - .../gateway/test_audit_ssh_settings.py | 24 - .../zero_trust/gateway/test_categories.py | 8 - .../zero_trust/gateway/test_certificates.py | 50 -- .../zero_trust/gateway/test_configurations.py | 28 -- .../zero_trust/gateway/test_lists.py | 56 --- .../zero_trust/gateway/test_locations.py | 44 -- .../zero_trust/gateway/test_logging.py | 18 - .../gateway/test_proxy_endpoints.py | 42 -- .../zero_trust/gateway/test_rules.py | 52 --- .../networks/routes/test_networks.py | 28 -- .../zero_trust/networks/test_routes.py | 46 -- .../networks/test_virtual_networks.py | 46 -- .../zero_trust/organizations/test_doh.py | 18 - .../integrations/test_references.py | 8 - .../risk_scoring/test_behaviours.py | 16 - .../risk_scoring/test_integrations.py | 36 -- .../zero_trust/risk_scoring/test_summary.py | 8 - .../zero_trust/test_connectivity_settings.py | 18 - .../api_resources/zero_trust/test_devices.py | 16 - .../api_resources/zero_trust/test_gateway.py | 16 - .../zero_trust/test_risk_scoring.py | 16 - .../api_resources/zero_trust/test_tunnels.py | 46 -- .../zero_trust/tunnels/test_configurations.py | 18 - .../zero_trust/tunnels/test_connections.py | 18 - .../zero_trust/tunnels/test_connectors.py | 8 - .../zero_trust/tunnels/test_management.py | 8 - .../zero_trust/tunnels/test_token.py | 8 - .../zero_trust/tunnels/test_warp_connector.py | 52 --- .../zones/test_activation_check.py | 8 - .../zones/test_custom_nameservers.py | 18 - tests/api_resources/zones/test_holds.py | 28 -- tests/api_resources/zones/test_plans.py | 16 - tests/api_resources/zones/test_rate_plans.py | 8 - tests/api_resources/zones/test_settings.py | 438 ------------------ .../api_resources/zones/test_subscriptions.py | 28 -- 82 files changed, 2338 deletions(-) diff --git a/tests/api_resources/test_zones.py b/tests/api_resources/test_zones.py index 0b14711254d..bf6924494f7 100644 --- a/tests/api_resources/test_zones.py +++ b/tests/api_resources/test_zones.py @@ -21,7 +21,6 @@ class TestZones: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: zone = client.zones.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.create( @@ -68,13 +64,11 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: zone = client.zones.list() assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.list( @@ -92,7 +86,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.list() @@ -102,7 +95,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.list() as response: @@ -156,7 +148,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: zone = client.zones.edit( @@ -164,7 +155,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.edit( @@ -174,7 +164,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.edit( @@ -186,7 +175,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.edit( @@ -200,7 +188,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -208,7 +195,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: zone = client.zones.get( @@ -216,7 +202,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.get( @@ -228,7 +213,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.get( @@ -242,7 +226,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -254,7 +237,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncZones: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.create( @@ -263,7 +245,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.create( @@ -273,7 +254,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.create( @@ -286,7 +266,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.create( @@ -301,13 +280,11 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.list() assert_matches_type(AsyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.list( @@ -325,7 +302,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.list() @@ -335,7 +311,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.list() as response: @@ -389,7 +364,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.edit( @@ -397,7 +371,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.edit( @@ -407,7 +380,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.edit( @@ -419,7 +391,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.edit( @@ -433,7 +404,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -441,7 +411,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.get( @@ -449,7 +418,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.get( @@ -461,7 +429,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.get( @@ -475,7 +442,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/applications/policy_tests/test_users.py b/tests/api_resources/zero_trust/access/applications/policy_tests/test_users.py index e593bc87fe0..ab93135bd20 100755 --- a/tests/api_resources/zero_trust/access/applications/policy_tests/test_users.py +++ b/tests/api_resources/zero_trust/access/applications/policy_tests/test_users.py @@ -17,7 +17,6 @@ class TestUsers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: user = client.zero_trust.access.applications.policy_tests.users.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(UserListResponse, user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policy_tests.users.with_raw_response.list( @@ -39,7 +37,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(UserListResponse, user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policy_tests.users.with_streaming_response.list( @@ -54,7 +51,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,7 +69,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncUsers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: user = await async_client.zero_trust.access.applications.policy_tests.users.list( @@ -82,7 +77,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UserListResponse, user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policy_tests.users.with_raw_response.list( @@ -95,7 +89,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: user = await response.parse() assert_matches_type(UserListResponse, user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policy_tests.users.with_streaming_response.list( @@ -110,7 +103,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/applications/test_policy_tests.py b/tests/api_resources/zero_trust/access/applications/test_policy_tests.py index 6949e8d2270..34cb5ec96f1 100755 --- a/tests/api_resources/zero_trust/access/applications/test_policy_tests.py +++ b/tests/api_resources/zero_trust/access/applications/test_policy_tests.py @@ -20,7 +20,6 @@ class TestPolicyTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: policy_test = client.zero_trust.access.applications.policy_tests.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyTestCreateResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy_test = client.zero_trust.access.applications.policy_tests.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyTestCreateResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policy_tests.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy_test = response.parse() assert_matches_type(PolicyTestCreateResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policy_tests.with_streaming_response.create( @@ -68,7 +64,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: policy_test = client.zero_trust.access.applications.policy_tests.get( @@ -85,7 +79,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyTestGetResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policy_tests.with_raw_response.get( @@ -98,7 +91,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy_test = response.parse() assert_matches_type(PolicyTestGetResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policy_tests.with_streaming_response.get( @@ -113,7 +105,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -132,7 +123,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolicyTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy_test = await async_client.zero_trust.access.applications.policy_tests.create( @@ -140,7 +130,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PolicyTestCreateResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy_test = await async_client.zero_trust.access.applications.policy_tests.create( @@ -154,7 +143,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PolicyTestCreateResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policy_tests.with_raw_response.create( @@ -166,7 +154,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy_test = await response.parse() assert_matches_type(PolicyTestCreateResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policy_tests.with_streaming_response.create( @@ -180,7 +167,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -188,7 +174,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy_test = await async_client.zero_trust.access.applications.policy_tests.get( @@ -197,7 +182,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PolicyTestGetResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policy_tests.with_raw_response.get( @@ -210,7 +194,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy_test = await response.parse() assert_matches_type(PolicyTestGetResponse, policy_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policy_tests.with_streaming_response.get( @@ -225,7 +208,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/infrastructure/test_targets.py b/tests/api_resources/zero_trust/access/infrastructure/test_targets.py index ccd9eeff856..6d6fec64674 100644 --- a/tests/api_resources/zero_trust/access/infrastructure/test_targets.py +++ b/tests/api_resources/zero_trust/access/infrastructure/test_targets.py @@ -25,7 +25,6 @@ class TestTargets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TargetCreateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.create( @@ -54,7 +52,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TargetCreateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.infrastructure.targets.with_raw_response.create( @@ -68,7 +65,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: target = response.parse() assert_matches_type(Optional[TargetCreateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.infrastructure.targets.with_streaming_response.create( @@ -84,7 +80,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -94,7 +89,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: ip={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.update( @@ -105,7 +99,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TargetUpdateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.update( @@ -125,7 +118,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TargetUpdateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.infrastructure.targets.with_raw_response.update( @@ -140,7 +132,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: target = response.parse() assert_matches_type(Optional[TargetUpdateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.infrastructure.targets.with_streaming_response.update( @@ -157,7 +148,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -176,7 +166,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ip={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.list( @@ -184,7 +173,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TargetListResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.list( @@ -201,7 +189,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TargetListResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.infrastructure.targets.with_raw_response.list( @@ -213,7 +200,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: target = response.parse() assert_matches_type(SyncV4PagePaginationArray[TargetListResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.infrastructure.targets.with_streaming_response.list( @@ -227,7 +213,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -235,7 +220,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.delete( @@ -244,7 +228,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.infrastructure.targets.with_raw_response.delete( @@ -257,7 +240,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: target = response.parse() assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.infrastructure.targets.with_streaming_response.delete( @@ -272,7 +254,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -287,7 +268,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_bulk_delete(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.bulk_delete( @@ -295,7 +275,6 @@ def test_method_bulk_delete(self, client: Cloudflare) -> None: ) assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_bulk_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.infrastructure.targets.with_raw_response.bulk_delete( @@ -307,7 +286,6 @@ def test_raw_response_bulk_delete(self, client: Cloudflare) -> None: target = response.parse() assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_bulk_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.infrastructure.targets.with_streaming_response.bulk_delete( @@ -321,7 +299,6 @@ def test_streaming_response_bulk_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_bulk_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -329,7 +306,6 @@ def test_path_params_bulk_delete(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_bulk_update(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.bulk_update( @@ -343,7 +319,6 @@ def test_method_bulk_update(self, client: Cloudflare) -> None: ) assert_matches_type(TargetBulkUpdateResponse, target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_bulk_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.infrastructure.targets.with_raw_response.bulk_update( @@ -361,7 +336,6 @@ def test_raw_response_bulk_update(self, client: Cloudflare) -> None: target = response.parse() assert_matches_type(TargetBulkUpdateResponse, target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_bulk_update(self, client: Cloudflare) -> None: with client.zero_trust.access.infrastructure.targets.with_streaming_response.bulk_update( @@ -381,7 +355,6 @@ def test_streaming_response_bulk_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_bulk_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -395,7 +368,6 @@ def test_path_params_bulk_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: target = client.zero_trust.access.infrastructure.targets.get( @@ -404,7 +376,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TargetGetResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.infrastructure.targets.with_raw_response.get( @@ -417,7 +388,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: target = response.parse() assert_matches_type(Optional[TargetGetResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.infrastructure.targets.with_streaming_response.get( @@ -432,7 +402,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -451,7 +420,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTargets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.create( @@ -461,7 +429,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TargetCreateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.create( @@ -480,7 +447,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TargetCreateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.infrastructure.targets.with_raw_response.create( @@ -494,7 +460,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: target = await response.parse() assert_matches_type(Optional[TargetCreateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.infrastructure.targets.with_streaming_response.create( @@ -510,7 +475,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -520,7 +484,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ip={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.update( @@ -531,7 +494,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TargetUpdateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.update( @@ -551,7 +513,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TargetUpdateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.infrastructure.targets.with_raw_response.update( @@ -566,7 +527,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: target = await response.parse() assert_matches_type(Optional[TargetUpdateResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.infrastructure.targets.with_streaming_response.update( @@ -583,7 +543,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -602,7 +561,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ip={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.list( @@ -610,7 +568,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[TargetListResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.list( @@ -627,7 +584,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[TargetListResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.infrastructure.targets.with_raw_response.list( @@ -639,7 +595,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: target = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[TargetListResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.infrastructure.targets.with_streaming_response.list( @@ -653,7 +608,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -661,7 +615,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.delete( @@ -670,7 +623,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.infrastructure.targets.with_raw_response.delete( @@ -683,7 +635,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: target = await response.parse() assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.infrastructure.targets.with_streaming_response.delete( @@ -698,7 +649,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -713,7 +663,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_bulk_delete(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.bulk_delete( @@ -721,7 +670,6 @@ async def test_method_bulk_delete(self, async_client: AsyncCloudflare) -> None: ) assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_bulk_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.infrastructure.targets.with_raw_response.bulk_delete( @@ -733,7 +681,6 @@ async def test_raw_response_bulk_delete(self, async_client: AsyncCloudflare) -> target = await response.parse() assert target is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_bulk_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.infrastructure.targets.with_streaming_response.bulk_delete( @@ -747,7 +694,6 @@ async def test_streaming_response_bulk_delete(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_bulk_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -755,7 +701,6 @@ async def test_path_params_bulk_delete(self, async_client: AsyncCloudflare) -> N account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_bulk_update(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.bulk_update( @@ -769,7 +714,6 @@ async def test_method_bulk_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TargetBulkUpdateResponse, target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_bulk_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.infrastructure.targets.with_raw_response.bulk_update( @@ -787,7 +731,6 @@ async def test_raw_response_bulk_update(self, async_client: AsyncCloudflare) -> target = await response.parse() assert_matches_type(TargetBulkUpdateResponse, target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_bulk_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.infrastructure.targets.with_streaming_response.bulk_update( @@ -807,7 +750,6 @@ async def test_streaming_response_bulk_update(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_bulk_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -821,7 +763,6 @@ async def test_path_params_bulk_update(self, async_client: AsyncCloudflare) -> N ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: target = await async_client.zero_trust.access.infrastructure.targets.get( @@ -830,7 +771,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TargetGetResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.infrastructure.targets.with_raw_response.get( @@ -843,7 +783,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: target = await response.parse() assert_matches_type(Optional[TargetGetResponse], target, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.infrastructure.targets.with_streaming_response.get( @@ -858,7 +797,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/logs/test_access_requests.py b/tests/api_resources/zero_trust/access/logs/test_access_requests.py index a0430a6f12b..3eafad4f1a6 100644 --- a/tests/api_resources/zero_trust/access/logs/test_access_requests.py +++ b/tests/api_resources/zero_trust/access/logs/test_access_requests.py @@ -18,7 +18,6 @@ class TestAccessRequests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: access_request = client.zero_trust.access.logs.access_requests.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: access_request = client.zero_trust.access.logs.access_requests.list( @@ -38,7 +36,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.logs.access_requests.with_raw_response.list( @@ -50,7 +47,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: access_request = response.parse() assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.logs.access_requests.with_streaming_response.list( @@ -64,7 +60,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAccessRequests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: access_request = await async_client.zero_trust.access.logs.access_requests.list( @@ -84,7 +78,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: access_request = await async_client.zero_trust.access.logs.access_requests.list( @@ -96,7 +89,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.logs.access_requests.with_raw_response.list( @@ -108,7 +100,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: access_request = await response.parse() assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.logs.access_requests.with_streaming_response.list( @@ -122,7 +113,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_bookmarks.py b/tests/api_resources/zero_trust/access/test_bookmarks.py index bc0a3af9cea..2e04d6c5af3 100644 --- a/tests/api_resources/zero_trust/access/test_bookmarks.py +++ b/tests/api_resources/zero_trust/access/test_bookmarks.py @@ -21,7 +21,6 @@ class TestBookmarks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.create( @@ -45,7 +43,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.create( @@ -61,7 +58,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -78,7 +74,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.update( @@ -88,7 +83,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.update( @@ -102,7 +96,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.update( @@ -118,7 +111,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -135,7 +127,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.list( @@ -143,7 +134,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.list( @@ -155,7 +145,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(SyncSinglePage[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.list( @@ -169,7 +158,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -177,7 +165,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.delete( @@ -186,7 +173,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.delete( @@ -199,7 +185,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.delete( @@ -214,7 +199,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -229,7 +213,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.get( @@ -238,7 +221,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.get( @@ -251,7 +233,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.get( @@ -266,7 +247,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -285,7 +265,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBookmarks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.create( @@ -295,7 +274,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.create( @@ -309,7 +287,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.create( @@ -325,7 +302,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -342,7 +318,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.update( @@ -352,7 +327,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.update( @@ -366,7 +340,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.update( @@ -382,7 +355,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -399,7 +371,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.list( @@ -407,7 +378,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.list( @@ -419,7 +389,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(AsyncSinglePage[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.list( @@ -433,7 +402,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -441,7 +409,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.delete( @@ -450,7 +417,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.delete( @@ -463,7 +429,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.delete( @@ -478,7 +443,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -493,7 +457,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.get( @@ -502,7 +465,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.get( @@ -515,7 +477,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.get( @@ -530,7 +491,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_custom_pages.py b/tests/api_resources/zero_trust/access/test_custom_pages.py index 1f5536ae4f9..b21a942f7b8 100644 --- a/tests/api_resources/zero_trust/access/test_custom_pages.py +++ b/tests/api_resources/zero_trust/access/test_custom_pages.py @@ -22,7 +22,6 @@ class TestCustomPages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.create( @@ -45,7 +43,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.create( @@ -60,7 +57,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.create( @@ -77,7 +73,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -88,7 +83,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.update( @@ -100,7 +94,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.update( @@ -113,7 +106,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.update( @@ -129,7 +121,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.update( @@ -147,7 +138,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -168,7 +158,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.list( @@ -176,7 +165,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.list( @@ -188,7 +176,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(SyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.list( @@ -202,7 +189,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -210,7 +196,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.delete( @@ -219,7 +204,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.delete( @@ -232,7 +216,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.delete( @@ -247,7 +230,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -262,7 +244,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.get( @@ -271,7 +252,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.get( @@ -284,7 +264,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.get( @@ -299,7 +278,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -318,7 +296,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomPages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.create( @@ -329,7 +306,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.create( @@ -341,7 +317,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.create( @@ -356,7 +331,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.create( @@ -373,7 +347,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -384,7 +357,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.update( @@ -396,7 +368,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.update( @@ -409,7 +380,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.update( @@ -425,7 +395,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.update( @@ -443,7 +412,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -464,7 +432,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.list( @@ -472,7 +439,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.list( @@ -484,7 +450,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(AsyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.list( @@ -498,7 +463,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -506,7 +470,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.delete( @@ -515,7 +478,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.delete( @@ -528,7 +490,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.delete( @@ -543,7 +504,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -558,7 +518,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.get( @@ -567,7 +526,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.get( @@ -580,7 +538,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.get( @@ -595,7 +552,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_keys.py b/tests/api_resources/zero_trust/access/test_keys.py index 686fff3deff..f0b87f16c0f 100644 --- a/tests/api_resources/zero_trust/access/test_keys.py +++ b/tests/api_resources/zero_trust/access/test_keys.py @@ -17,7 +17,6 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: key = client.zero_trust.access.keys.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.keys.with_raw_response.update( @@ -39,7 +37,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.keys.with_streaming_response.update( @@ -54,7 +51,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: key_rotation_interval_days=30, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: key = client.zero_trust.access.keys.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.keys.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.keys.with_streaming_response.get( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -105,7 +97,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_rotate(self, client: Cloudflare) -> None: key = client.zero_trust.access.keys.rotate( @@ -113,7 +104,6 @@ def test_method_rotate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_rotate(self, client: Cloudflare) -> None: response = client.zero_trust.access.keys.with_raw_response.rotate( @@ -125,7 +115,6 @@ def test_raw_response_rotate(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_rotate(self, client: Cloudflare) -> None: with client.zero_trust.access.keys.with_streaming_response.rotate( @@ -139,7 +128,6 @@ def test_streaming_response_rotate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_rotate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -151,7 +139,6 @@ def test_path_params_rotate(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: key = await async_client.zero_trust.access.keys.update( @@ -160,7 +147,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.keys.with_raw_response.update( @@ -173,7 +159,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.keys.with_streaming_response.update( @@ -188,7 +173,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -197,7 +181,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: key_rotation_interval_days=30, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: key = await async_client.zero_trust.access.keys.get( @@ -205,7 +188,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.keys.with_raw_response.get( @@ -217,7 +199,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.keys.with_streaming_response.get( @@ -231,7 +212,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -239,7 +219,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: key = await async_client.zero_trust.access.keys.rotate( @@ -247,7 +226,6 @@ async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.keys.with_raw_response.rotate( @@ -259,7 +237,6 @@ async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.keys.with_streaming_response.rotate( @@ -273,7 +250,6 @@ async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_rotate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_policies.py b/tests/api_resources/zero_trust/access/test_policies.py index 8a8e2ed2810..fd986e438f9 100644 --- a/tests/api_resources/zero_trust/access/test_policies.py +++ b/tests/api_resources/zero_trust/access/test_policies.py @@ -24,7 +24,6 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.zero_trust.access.policies.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyCreateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.policies.create( @@ -48,7 +46,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyCreateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.policies.with_raw_response.create( @@ -63,7 +60,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyCreateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.policies.with_streaming_response.create( @@ -80,7 +76,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -91,7 +86,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="Allow devs", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: policy = client.zero_trust.access.policies.update( @@ -103,7 +97,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyUpdateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.policies.update( @@ -117,7 +110,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyUpdateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.policies.with_raw_response.update( @@ -133,7 +125,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyUpdateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.policies.with_streaming_response.update( @@ -151,7 +142,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -172,7 +162,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="Allow devs", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.zero_trust.access.policies.list( @@ -180,7 +169,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[PolicyListResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.policies.with_raw_response.list( @@ -192,7 +180,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[PolicyListResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.policies.with_streaming_response.list( @@ -206,7 +193,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -214,7 +200,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.zero_trust.access.policies.delete( @@ -223,7 +208,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.policies.with_raw_response.delete( @@ -236,7 +220,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.policies.with_streaming_response.delete( @@ -251,7 +234,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -266,7 +248,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.zero_trust.access.policies.get( @@ -275,7 +256,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyGetResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.policies.with_raw_response.get( @@ -288,7 +268,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyGetResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.policies.with_streaming_response.get( @@ -303,7 +282,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -322,7 +300,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolicies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.policies.create( @@ -333,7 +310,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyCreateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.policies.create( @@ -346,7 +322,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[PolicyCreateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.policies.with_raw_response.create( @@ -361,7 +336,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[PolicyCreateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.policies.with_streaming_response.create( @@ -378,7 +352,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -389,7 +362,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="Allow devs", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.policies.update( @@ -401,7 +373,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyUpdateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.policies.update( @@ -415,7 +386,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[PolicyUpdateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.policies.with_raw_response.update( @@ -431,7 +401,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[PolicyUpdateResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.policies.with_streaming_response.update( @@ -449,7 +418,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -470,7 +438,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="Allow devs", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.policies.list( @@ -478,7 +445,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[PolicyListResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.policies.with_raw_response.list( @@ -490,7 +456,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[PolicyListResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.policies.with_streaming_response.list( @@ -504,7 +469,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -512,7 +476,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.policies.delete( @@ -521,7 +484,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.policies.with_raw_response.delete( @@ -534,7 +496,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.policies.with_streaming_response.delete( @@ -549,7 +510,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -564,7 +524,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.policies.get( @@ -573,7 +532,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyGetResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.policies.with_raw_response.get( @@ -586,7 +544,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[PolicyGetResponse], policy, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.policies.with_streaming_response.get( @@ -601,7 +558,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_service_tokens.py b/tests/api_resources/zero_trust/access/test_service_tokens.py index 4aa7bfd48f8..fe1bff4c531 100644 --- a/tests/api_resources/zero_trust/access/test_service_tokens.py +++ b/tests/api_resources/zero_trust/access/test_service_tokens.py @@ -344,7 +344,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_refresh(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.refresh( @@ -353,7 +352,6 @@ def test_method_refresh(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_refresh(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.refresh( @@ -366,7 +364,6 @@ def test_raw_response_refresh(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_refresh(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.refresh( @@ -381,7 +378,6 @@ def test_streaming_response_refresh(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_refresh(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -396,7 +392,6 @@ def test_path_params_refresh(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_rotate(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.rotate( @@ -405,7 +400,6 @@ def test_method_rotate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_rotate(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.rotate( @@ -418,7 +412,6 @@ def test_raw_response_rotate(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_rotate(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.rotate( @@ -433,7 +426,6 @@ def test_streaming_response_rotate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_rotate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -774,7 +766,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_refresh(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.refresh( @@ -783,7 +774,6 @@ async def test_method_refresh(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_refresh(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.refresh( @@ -796,7 +786,6 @@ async def test_raw_response_refresh(self, async_client: AsyncCloudflare) -> None service_token = await response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_refresh(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.refresh( @@ -811,7 +800,6 @@ async def test_streaming_response_refresh(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_refresh(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -826,7 +814,6 @@ async def test_path_params_refresh(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.rotate( @@ -835,7 +822,6 @@ async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.rotate( @@ -848,7 +834,6 @@ async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.rotate( @@ -863,7 +848,6 @@ async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_rotate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_tags.py b/tests/api_resources/zero_trust/access/test_tags.py index ec0b5c145e7..26cebba1a61 100644 --- a/tests/api_resources/zero_trust/access/test_tags.py +++ b/tests/api_resources/zero_trust/access/test_tags.py @@ -18,7 +18,6 @@ class TestTags: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.create( @@ -35,7 +33,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.create( @@ -47,7 +44,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.create( @@ -61,7 +57,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,7 +64,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.update( @@ -79,7 +73,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.update( @@ -93,7 +86,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.update( @@ -109,7 +101,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -126,7 +117,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="engineers", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.list( @@ -134,7 +124,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.list( @@ -146,7 +135,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(SyncSinglePage[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.list( @@ -160,7 +148,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -168,7 +155,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.delete( @@ -177,7 +163,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.delete( @@ -190,7 +175,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.delete( @@ -205,7 +189,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -220,7 +203,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.get( @@ -229,7 +211,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.get( @@ -242,7 +223,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.get( @@ -257,7 +237,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -276,7 +255,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTags: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.create( @@ -284,7 +262,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.create( @@ -293,7 +270,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.create( @@ -305,7 +281,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.create( @@ -319,7 +294,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -327,7 +301,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.update( @@ -337,7 +310,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.update( @@ -351,7 +323,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.update( @@ -367,7 +338,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -384,7 +354,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="engineers", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.list( @@ -392,7 +361,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.list( @@ -404,7 +372,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(AsyncSinglePage[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.list( @@ -418,7 +385,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -426,7 +392,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.delete( @@ -435,7 +400,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.delete( @@ -448,7 +412,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.delete( @@ -463,7 +426,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -478,7 +440,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.get( @@ -487,7 +448,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.get( @@ -500,7 +460,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.get( @@ -515,7 +474,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_users.py b/tests/api_resources/zero_trust/access/test_users.py index 5ad143cdbca..718418f8b98 100644 --- a/tests/api_resources/zero_trust/access/test_users.py +++ b/tests/api_resources/zero_trust/access/test_users.py @@ -18,7 +18,6 @@ class TestUsers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: user = client.zero_trust.access.users.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: user = client.zero_trust.access.users.list( @@ -37,7 +35,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.with_raw_response.list( @@ -49,7 +46,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(SyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.users.with_streaming_response.list( @@ -63,7 +59,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -75,7 +70,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncUsers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: user = await async_client.zero_trust.access.users.list( @@ -83,7 +77,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: user = await async_client.zero_trust.access.users.list( @@ -94,7 +87,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.with_raw_response.list( @@ -106,7 +98,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: user = await response.parse() assert_matches_type(AsyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.with_streaming_response.list( @@ -120,7 +111,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/users/test_active_sessions.py b/tests/api_resources/zero_trust/access/users/test_active_sessions.py index d26d1567bab..e0f1db9ea66 100644 --- a/tests/api_resources/zero_trust/access/users/test_active_sessions.py +++ b/tests/api_resources/zero_trust/access/users/test_active_sessions.py @@ -18,7 +18,6 @@ class TestActiveSessions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: active_session = client.zero_trust.access.users.active_sessions.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.active_sessions.with_raw_response.list( @@ -40,7 +38,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: active_session = response.parse() assert_matches_type(SyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.users.active_sessions.with_streaming_response.list( @@ -55,7 +52,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,7 +66,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: active_session = client.zero_trust.access.users.active_sessions.get( @@ -80,7 +75,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.active_sessions.with_raw_response.get( @@ -94,7 +88,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: active_session = response.parse() assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.users.active_sessions.with_streaming_response.get( @@ -110,7 +103,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -138,7 +130,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncActiveSessions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: active_session = await async_client.zero_trust.access.users.active_sessions.list( @@ -147,7 +138,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.active_sessions.with_raw_response.list( @@ -160,7 +150,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: active_session = await response.parse() assert_matches_type(AsyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.active_sessions.with_streaming_response.list( @@ -175,7 +164,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -190,7 +178,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: active_session = await async_client.zero_trust.access.users.active_sessions.get( @@ -200,7 +187,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.active_sessions.with_raw_response.get( @@ -214,7 +200,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: active_session = await response.parse() assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.active_sessions.with_streaming_response.get( @@ -230,7 +215,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/users/test_failed_logins.py b/tests/api_resources/zero_trust/access/users/test_failed_logins.py index 4cd22769902..697dbe9181f 100644 --- a/tests/api_resources/zero_trust/access/users/test_failed_logins.py +++ b/tests/api_resources/zero_trust/access/users/test_failed_logins.py @@ -18,7 +18,6 @@ class TestFailedLogins: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: failed_login = client.zero_trust.access.users.failed_logins.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.failed_logins.with_raw_response.list( @@ -40,7 +38,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: failed_login = response.parse() assert_matches_type(SyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.users.failed_logins.with_streaming_response.list( @@ -55,7 +52,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,7 +70,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncFailedLogins: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: failed_login = await async_client.zero_trust.access.users.failed_logins.list( @@ -83,7 +78,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.failed_logins.with_raw_response.list( @@ -96,7 +90,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: failed_login = await response.parse() assert_matches_type(AsyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.failed_logins.with_streaming_response.list( @@ -111,7 +104,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py b/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py index 5314b84d9b3..9b7d2644d33 100644 --- a/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py +++ b/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py @@ -17,7 +17,6 @@ class TestLastSeenIdentity: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: last_seen_identity = client.zero_trust.access.users.last_seen_identity.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.last_seen_identity.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: last_seen_identity = response.parse() assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.users.last_seen_identity.with_streaming_response.get( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,7 +69,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLastSeenIdentity: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: last_seen_identity = await async_client.zero_trust.access.users.last_seen_identity.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.last_seen_identity.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: last_seen_identity = await response.parse() assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.last_seen_identity.with_streaming_response.get( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/default/test_excludes.py b/tests/api_resources/zero_trust/devices/policies/default/test_excludes.py index 643b70898ad..ac6423b718f 100644 --- a/tests/api_resources/zero_trust/devices/policies/default/test_excludes.py +++ b/tests/api_resources/zero_trust/devices/policies/default/test_excludes.py @@ -20,7 +20,6 @@ class TestExcludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.default.excludes.update( @@ -34,7 +33,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.excludes.with_raw_response.update( @@ -52,7 +50,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.excludes.with_streaming_response.update( @@ -72,7 +69,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,7 +82,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.default.excludes.get( @@ -94,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.excludes.with_raw_response.get( @@ -106,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.excludes.with_streaming_response.get( @@ -120,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -132,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncExcludes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.default.excludes.update( @@ -146,7 +137,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.excludes.with_raw_response.update( @@ -164,7 +154,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: exclude = await response.parse() assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.excludes.with_streaming_response.update( @@ -184,7 +173,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -198,7 +186,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.default.excludes.get( @@ -206,7 +193,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.excludes.with_raw_response.get( @@ -218,7 +204,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: exclude = await response.parse() assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.excludes.with_streaming_response.get( @@ -232,7 +217,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/default/test_fallback_domains.py b/tests/api_resources/zero_trust/devices/policies/default/test_fallback_domains.py index d4ba1b05978..cf6b9551f58 100644 --- a/tests/api_resources/zero_trust/devices/policies/default/test_fallback_domains.py +++ b/tests/api_resources/zero_trust/devices/policies/default/test_fallback_domains.py @@ -20,7 +20,6 @@ class TestFallbackDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.default.fallback_domains.update( @@ -29,7 +28,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.fallback_domains.with_raw_response.update( @@ -42,7 +40,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: fallback_domain = response.parse() assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.fallback_domains.with_streaming_response.update( @@ -57,7 +54,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -66,7 +62,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: domains=[{"suffix": "example.com"}], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.default.fallback_domains.get( @@ -74,7 +69,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.fallback_domains.with_raw_response.get( @@ -86,7 +80,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: fallback_domain = response.parse() assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.fallback_domains.with_streaming_response.get( @@ -100,7 +93,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -112,7 +104,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFallbackDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.default.fallback_domains.update( @@ -121,7 +112,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.fallback_domains.with_raw_response.update( @@ -134,7 +124,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: fallback_domain = await response.parse() assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.fallback_domains.with_streaming_response.update( @@ -149,7 +138,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -158,7 +146,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: domains=[{"suffix": "example.com"}], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.default.fallback_domains.get( @@ -166,7 +153,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.fallback_domains.with_raw_response.get( @@ -178,7 +164,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: fallback_domain = await response.parse() assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.fallback_domains.with_streaming_response.get( @@ -192,7 +177,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/default/test_includes.py b/tests/api_resources/zero_trust/devices/policies/default/test_includes.py index a9d03f83b9f..ba57af2c6bc 100644 --- a/tests/api_resources/zero_trust/devices/policies/default/test_includes.py +++ b/tests/api_resources/zero_trust/devices/policies/default/test_includes.py @@ -20,7 +20,6 @@ class TestIncludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.default.includes.update( @@ -34,7 +33,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.includes.with_raw_response.update( @@ -52,7 +50,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.includes.with_streaming_response.update( @@ -72,7 +69,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,7 +82,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.default.includes.get( @@ -94,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.includes.with_raw_response.get( @@ -106,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.includes.with_streaming_response.get( @@ -120,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -132,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIncludes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.default.includes.update( @@ -146,7 +137,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.includes.with_raw_response.update( @@ -164,7 +154,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: include = await response.parse() assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.includes.with_streaming_response.update( @@ -184,7 +173,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -198,7 +186,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.default.includes.get( @@ -206,7 +193,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.includes.with_raw_response.get( @@ -218,7 +204,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: include = await response.parse() assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.includes.with_streaming_response.get( @@ -232,7 +217,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/test_default.py b/tests/api_resources/zero_trust/devices/policies/test_default.py index 5016c1fc3e4..166f4259bcc 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_default.py +++ b/tests/api_resources/zero_trust/devices/policies/test_default.py @@ -17,7 +17,6 @@ class TestDefault: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: default = client.zero_trust.devices.policies.default.edit( @@ -25,7 +24,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DefaultEditResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: default = client.zero_trust.devices.policies.default.edit( @@ -47,7 +45,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DefaultEditResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.with_raw_response.edit( @@ -59,7 +56,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: default = response.parse() assert_matches_type(Optional[DefaultEditResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.with_streaming_response.edit( @@ -73,7 +69,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,7 +76,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: default = client.zero_trust.devices.policies.default.get( @@ -89,7 +83,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DefaultGetResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default.with_raw_response.get( @@ -101,7 +94,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: default = response.parse() assert_matches_type(Optional[DefaultGetResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default.with_streaming_response.get( @@ -115,7 +107,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -127,7 +118,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDefault: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: default = await async_client.zero_trust.devices.policies.default.edit( @@ -135,7 +125,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DefaultEditResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: default = await async_client.zero_trust.devices.policies.default.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[DefaultEditResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.with_raw_response.edit( @@ -169,7 +157,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: default = await response.parse() assert_matches_type(Optional[DefaultEditResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.with_streaming_response.edit( @@ -183,7 +170,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -191,7 +177,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: default = await async_client.zero_trust.devices.policies.default.get( @@ -199,7 +184,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DefaultGetResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default.with_raw_response.get( @@ -211,7 +195,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: default = await response.parse() assert_matches_type(Optional[DefaultGetResponse], default, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default.with_streaming_response.get( @@ -225,7 +208,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/posture/test_integrations.py b/tests/api_resources/zero_trust/devices/posture/test_integrations.py index eb310feecbe..6ad1c0fabd0 100644 --- a/tests/api_resources/zero_trust/devices/posture/test_integrations.py +++ b/tests/api_resources/zero_trust/devices/posture/test_integrations.py @@ -21,7 +21,6 @@ class TestIntegrations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.create( @@ -38,7 +37,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.create( @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.create( @@ -76,7 +73,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.create( @@ -99,7 +95,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -116,7 +111,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="workspace_one", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.list( @@ -124,7 +118,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.list( @@ -136,7 +129,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(SyncSinglePage[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.list( @@ -150,7 +142,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -158,7 +149,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.delete( @@ -167,7 +157,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.delete( @@ -180,7 +169,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.delete( @@ -195,7 +183,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -210,7 +197,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.edit( @@ -219,7 +205,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.edit( @@ -237,7 +222,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.edit( @@ -250,7 +234,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.edit( @@ -265,7 +248,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -280,7 +262,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.get( @@ -289,7 +270,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.get( @@ -302,7 +282,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.get( @@ -317,7 +296,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -336,7 +314,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIntegrations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.create( @@ -353,7 +330,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.create( @@ -370,7 +346,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.create( @@ -391,7 +366,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.create( @@ -414,7 +388,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -431,7 +404,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="workspace_one", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.list( @@ -439,7 +411,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.list( @@ -451,7 +422,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(AsyncSinglePage[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.list( @@ -465,7 +435,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -473,7 +442,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.delete( @@ -482,7 +450,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.delete( @@ -495,7 +462,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.delete( @@ -510,7 +476,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -525,7 +490,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.edit( @@ -534,7 +498,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.edit( @@ -552,7 +515,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.edit( @@ -565,7 +527,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.edit( @@ -580,7 +541,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -595,7 +555,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.get( @@ -604,7 +563,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.get( @@ -617,7 +575,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.get( @@ -632,7 +589,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_dex_tests.py b/tests/api_resources/zero_trust/devices/test_dex_tests.py index 27c8470c66b..58102027ea5 100644 --- a/tests/api_resources/zero_trust/devices/test_dex_tests.py +++ b/tests/api_resources/zero_trust/devices/test_dex_tests.py @@ -21,7 +21,6 @@ class TestDEXTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.create( @@ -58,7 +56,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.create( @@ -74,7 +71,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.create( @@ -92,7 +88,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -104,7 +99,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.update( @@ -117,7 +111,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.update( @@ -143,7 +136,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.update( @@ -160,7 +152,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.update( @@ -179,7 +170,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -202,7 +192,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.list( @@ -210,7 +199,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.list( @@ -222,7 +210,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(SyncSinglePage[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.list( @@ -236,7 +223,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -244,7 +230,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.delete( @@ -253,7 +238,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(DEXTestDeleteResponse, dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.delete( @@ -266,7 +250,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(DEXTestDeleteResponse, dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.delete( @@ -281,7 +264,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -296,7 +278,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.get( @@ -305,7 +286,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.get( @@ -318,7 +298,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.get( @@ -333,7 +312,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -352,7 +330,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDEXTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.create( @@ -364,7 +341,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.create( @@ -389,7 +365,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.create( @@ -405,7 +380,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.create( @@ -423,7 +397,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -435,7 +408,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.update( @@ -448,7 +420,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.update( @@ -474,7 +445,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.update( @@ -491,7 +461,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.update( @@ -510,7 +479,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -533,7 +501,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.list( @@ -541,7 +508,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.list( @@ -553,7 +519,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(AsyncSinglePage[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.list( @@ -567,7 +532,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -575,7 +539,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.delete( @@ -584,7 +547,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DEXTestDeleteResponse, dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.delete( @@ -597,7 +559,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(DEXTestDeleteResponse, dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.delete( @@ -612,7 +573,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -627,7 +587,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.get( @@ -636,7 +595,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.get( @@ -649,7 +607,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.get( @@ -664,7 +621,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_networks.py b/tests/api_resources/zero_trust/devices/test_networks.py index bbb48b6b5f5..254e1b9e833 100644 --- a/tests/api_resources/zero_trust/devices/test_networks.py +++ b/tests/api_resources/zero_trust/devices/test_networks.py @@ -21,7 +21,6 @@ class TestNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.create( @@ -46,7 +44,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.create( @@ -61,7 +58,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.create( @@ -78,7 +74,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -89,7 +84,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="tls", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.update( @@ -98,7 +92,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.update( @@ -113,7 +106,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.update( @@ -126,7 +118,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.update( @@ -141,7 +132,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -156,7 +146,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.list( @@ -164,7 +153,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.list( @@ -176,7 +164,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(SyncSinglePage[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.list( @@ -190,7 +177,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -198,7 +184,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.delete( @@ -207,7 +192,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.delete( @@ -220,7 +204,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.delete( @@ -235,7 +218,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -250,7 +232,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.get( @@ -259,7 +240,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.get( @@ -272,7 +252,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.get( @@ -287,7 +266,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -306,7 +284,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncNetworks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.create( @@ -317,7 +294,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.create( @@ -331,7 +307,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.create( @@ -346,7 +321,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.create( @@ -363,7 +337,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -374,7 +347,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="tls", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.update( @@ -383,7 +355,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.update( @@ -398,7 +369,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.update( @@ -411,7 +381,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.update( @@ -426,7 +395,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -441,7 +409,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.list( @@ -449,7 +416,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.list( @@ -461,7 +427,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(AsyncSinglePage[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.list( @@ -475,7 +440,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -483,7 +447,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.delete( @@ -492,7 +455,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.delete( @@ -505,7 +467,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.delete( @@ -520,7 +481,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -535,7 +495,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.get( @@ -544,7 +503,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.get( @@ -557,7 +515,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.get( @@ -572,7 +529,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_posture.py b/tests/api_resources/zero_trust/devices/test_posture.py index c9fe6a09a2e..dfd84e15205 100644 --- a/tests/api_resources/zero_trust/devices/test_posture.py +++ b/tests/api_resources/zero_trust/devices/test_posture.py @@ -21,7 +21,6 @@ class TestPosture: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.create( @@ -52,7 +50,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.create( @@ -66,7 +63,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.create( @@ -82,7 +78,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -92,7 +87,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="file", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.update( @@ -103,7 +97,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.update( @@ -125,7 +118,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.update( @@ -140,7 +132,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.update( @@ -157,7 +148,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -176,7 +166,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: type="file", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.list( @@ -184,7 +173,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.list( @@ -196,7 +184,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(SyncSinglePage[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.list( @@ -210,7 +197,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -218,7 +204,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.delete( @@ -227,7 +212,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.delete( @@ -240,7 +224,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.delete( @@ -255,7 +238,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -270,7 +252,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.get( @@ -279,7 +260,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.get( @@ -292,7 +272,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.get( @@ -307,7 +286,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -326,7 +304,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPosture: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.create( @@ -336,7 +313,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.create( @@ -357,7 +333,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.create( @@ -371,7 +346,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.create( @@ -387,7 +361,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -397,7 +370,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="file", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.update( @@ -408,7 +380,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.update( @@ -430,7 +401,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.update( @@ -445,7 +415,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.update( @@ -462,7 +431,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -481,7 +449,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: type="file", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.list( @@ -489,7 +456,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.list( @@ -501,7 +467,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(AsyncSinglePage[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.list( @@ -515,7 +480,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -523,7 +487,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.delete( @@ -532,7 +495,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.delete( @@ -545,7 +507,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.delete( @@ -560,7 +521,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -575,7 +535,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.get( @@ -584,7 +543,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.get( @@ -597,7 +555,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.get( @@ -612,7 +569,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_revoke.py b/tests/api_resources/zero_trust/devices/test_revoke.py index fa079df77aa..abfc42857d4 100644 --- a/tests/api_resources/zero_trust/devices/test_revoke.py +++ b/tests/api_resources/zero_trust/devices/test_revoke.py @@ -17,7 +17,6 @@ class TestRevoke: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: revoke = client.zero_trust.devices.revoke.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.revoke.with_raw_response.create( @@ -39,7 +37,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: revoke = response.parse() assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.revoke.with_streaming_response.create( @@ -54,7 +51,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,7 +63,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncRevoke: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: revoke = await async_client.zero_trust.devices.revoke.create( @@ -76,7 +71,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.revoke.with_raw_response.create( @@ -89,7 +83,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: revoke = await response.parse() assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.revoke.with_streaming_response.create( @@ -104,7 +97,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_settings.py b/tests/api_resources/zero_trust/devices/test_settings.py index 8680ca9a1d3..be7110c747a 100644 --- a/tests/api_resources/zero_trust/devices/test_settings.py +++ b/tests/api_resources/zero_trust/devices/test_settings.py @@ -17,7 +17,6 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.update( @@ -38,7 +36,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.settings.with_raw_response.update( @@ -50,7 +47,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.settings.with_streaming_response.update( @@ -64,7 +60,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,7 +67,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.list( @@ -80,7 +74,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.settings.with_raw_response.list( @@ -92,7 +85,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.settings.with_streaming_response.list( @@ -106,7 +98,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -114,7 +105,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.edit( @@ -122,7 +112,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.edit( @@ -135,7 +124,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.devices.settings.with_raw_response.edit( @@ -147,7 +135,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.devices.settings.with_streaming_response.edit( @@ -161,7 +148,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -173,7 +159,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.update( @@ -181,7 +166,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.update( @@ -194,7 +178,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.settings.with_raw_response.update( @@ -206,7 +189,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.settings.with_streaming_response.update( @@ -220,7 +202,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -228,7 +209,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.list( @@ -236,7 +216,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.settings.with_raw_response.list( @@ -248,7 +227,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.settings.with_streaming_response.list( @@ -262,7 +240,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -270,7 +247,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.edit( @@ -278,7 +254,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.edit( @@ -291,7 +266,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.settings.with_raw_response.edit( @@ -303,7 +277,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.settings.with_streaming_response.edit( @@ -317,7 +290,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_unrevoke.py b/tests/api_resources/zero_trust/devices/test_unrevoke.py index 764275dbff4..1c0bc2acdf5 100644 --- a/tests/api_resources/zero_trust/devices/test_unrevoke.py +++ b/tests/api_resources/zero_trust/devices/test_unrevoke.py @@ -17,7 +17,6 @@ class TestUnrevoke: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: unrevoke = client.zero_trust.devices.unrevoke.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.unrevoke.with_raw_response.create( @@ -39,7 +37,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: unrevoke = response.parse() assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.unrevoke.with_streaming_response.create( @@ -54,7 +51,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,7 +63,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncUnrevoke: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: unrevoke = await async_client.zero_trust.devices.unrevoke.create( @@ -76,7 +71,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.unrevoke.with_raw_response.create( @@ -89,7 +83,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: unrevoke = await response.parse() assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.unrevoke.with_streaming_response.create( @@ -104,7 +97,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/commands/test_downloads.py b/tests/api_resources/zero_trust/dex/commands/test_downloads.py index 718fa8d2f5d..b2a9133f988 100644 --- a/tests/api_resources/zero_trust/dex/commands/test_downloads.py +++ b/tests/api_resources/zero_trust/dex/commands/test_downloads.py @@ -23,7 +23,6 @@ class TestDownloads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -40,7 +39,6 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, download.is_closed) is True assert isinstance(download, BinaryAPIResponse) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -59,7 +57,6 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert download.json() == {"foo": "bar"} assert isinstance(download, BinaryAPIResponse) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -80,7 +77,6 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, download.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -109,7 +105,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDownloads: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -126,7 +121,6 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, download.is_closed) is True assert isinstance(download, AsyncBinaryAPIResponse) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -145,7 +139,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await download.json() == {"foo": "bar"} assert isinstance(download, AsyncBinaryAPIResponse) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -166,7 +159,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, download.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/zero_trust/dex/commands/test_quota.py b/tests/api_resources/zero_trust/dex/commands/test_quota.py index 2f407a0dcc1..5291e9d3113 100644 --- a/tests/api_resources/zero_trust/dex/commands/test_quota.py +++ b/tests/api_resources/zero_trust/dex/commands/test_quota.py @@ -17,7 +17,6 @@ class TestQuota: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: quota = client.zero_trust.dex.commands.quota.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[QuotaGetResponse], quota, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.commands.quota.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: quota = response.parse() assert_matches_type(Optional[QuotaGetResponse], quota, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.commands.quota.with_streaming_response.get( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncQuota: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: quota = await async_client.zero_trust.dex.commands.quota.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[QuotaGetResponse], quota, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.commands.quota.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: quota = await response.parse() assert_matches_type(Optional[QuotaGetResponse], quota, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.commands.quota.with_streaming_response.get( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_colos.py b/tests/api_resources/zero_trust/dex/test_colos.py index 0022c521c1d..8e4d0db4399 100644 --- a/tests/api_resources/zero_trust/dex/test_colos.py +++ b/tests/api_resources/zero_trust/dex/test_colos.py @@ -17,7 +17,6 @@ class TestColos: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: colo = client.zero_trust.dex.colos.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], colo, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: colo = client.zero_trust.dex.colos.list( @@ -38,7 +36,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], colo, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.colos.with_raw_response.list( @@ -52,7 +49,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: colo = response.parse() assert_matches_type(SyncSinglePage[object], colo, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.colos.with_streaming_response.list( @@ -68,7 +64,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -82,7 +77,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncColos: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: colo = await async_client.zero_trust.dex.colos.list( @@ -92,7 +86,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[object], colo, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: colo = await async_client.zero_trust.dex.colos.list( @@ -103,7 +96,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[object], colo, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.colos.with_raw_response.list( @@ -117,7 +109,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: colo = await response.parse() assert_matches_type(AsyncSinglePage[object], colo, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.colos.with_streaming_response.list( @@ -133,7 +124,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_commands.py b/tests/api_resources/zero_trust/dex/test_commands.py index dfc7e5f65ed..9692c4fde6c 100644 --- a/tests/api_resources/zero_trust/dex/test_commands.py +++ b/tests/api_resources/zero_trust/dex/test_commands.py @@ -22,7 +22,6 @@ class TestCommands: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: command = client.zero_trust.dex.commands.create( @@ -37,7 +36,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CommandCreateResponse], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dex.commands.with_raw_response.create( @@ -56,7 +54,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: command = response.parse() assert_matches_type(Optional[CommandCreateResponse], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dex.commands.with_streaming_response.create( @@ -77,7 +74,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -92,7 +88,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: command = client.zero_trust.dex.commands.list( @@ -102,7 +97,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[Optional[CommandListResponse]], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: command = client.zero_trust.dex.commands.list( @@ -118,7 +112,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[Optional[CommandListResponse]], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.commands.with_raw_response.list( @@ -132,7 +125,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: command = response.parse() assert_matches_type(SyncV4PagePagination[Optional[CommandListResponse]], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.commands.with_streaming_response.list( @@ -148,7 +140,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -162,7 +153,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncCommands: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: command = await async_client.zero_trust.dex.commands.create( @@ -177,7 +167,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CommandCreateResponse], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.commands.with_raw_response.create( @@ -196,7 +185,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: command = await response.parse() assert_matches_type(Optional[CommandCreateResponse], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.commands.with_streaming_response.create( @@ -217,7 +205,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -232,7 +219,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: command = await async_client.zero_trust.dex.commands.list( @@ -242,7 +228,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[Optional[CommandListResponse]], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: command = await async_client.zero_trust.dex.commands.list( @@ -258,7 +243,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[Optional[CommandListResponse]], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.commands.with_raw_response.list( @@ -272,7 +256,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: command = await response.parse() assert_matches_type(AsyncV4PagePagination[Optional[CommandListResponse]], command, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.commands.with_streaming_response.list( @@ -288,7 +271,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_fleet_status.py b/tests/api_resources/zero_trust/dex/test_fleet_status.py index cbdb2d187e8..db1676eacde 100644 --- a/tests/api_resources/zero_trust/dex/test_fleet_status.py +++ b/tests/api_resources/zero_trust/dex/test_fleet_status.py @@ -19,7 +19,6 @@ class TestFleetStatus: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_live(self, client: Cloudflare) -> None: fleet_status = client.zero_trust.dex.fleet_status.live( @@ -28,7 +27,6 @@ def test_method_live(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_live(self, client: Cloudflare) -> None: response = client.zero_trust.dex.fleet_status.with_raw_response.live( @@ -41,7 +39,6 @@ def test_raw_response_live(self, client: Cloudflare) -> None: fleet_status = response.parse() assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_live(self, client: Cloudflare) -> None: with client.zero_trust.dex.fleet_status.with_streaming_response.live( @@ -56,7 +53,6 @@ def test_streaming_response_live(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_live(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -65,7 +61,6 @@ def test_path_params_live(self, client: Cloudflare) -> None: since_minutes=10, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_over_time(self, client: Cloudflare) -> None: fleet_status = client.zero_trust.dex.fleet_status.over_time( @@ -75,7 +70,6 @@ def test_method_over_time(self, client: Cloudflare) -> None: ) assert fleet_status is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_over_time_with_all_params(self, client: Cloudflare) -> None: fleet_status = client.zero_trust.dex.fleet_status.over_time( @@ -87,7 +81,6 @@ def test_method_over_time_with_all_params(self, client: Cloudflare) -> None: ) assert fleet_status is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_over_time(self, client: Cloudflare) -> None: response = client.zero_trust.dex.fleet_status.with_raw_response.over_time( @@ -101,7 +94,6 @@ def test_raw_response_over_time(self, client: Cloudflare) -> None: fleet_status = response.parse() assert fleet_status is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_over_time(self, client: Cloudflare) -> None: with client.zero_trust.dex.fleet_status.with_streaming_response.over_time( @@ -117,7 +109,6 @@ def test_streaming_response_over_time(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_over_time(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -131,7 +122,6 @@ def test_path_params_over_time(self, client: Cloudflare) -> None: class TestAsyncFleetStatus: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_live(self, async_client: AsyncCloudflare) -> None: fleet_status = await async_client.zero_trust.dex.fleet_status.live( @@ -140,7 +130,6 @@ async def test_method_live(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_live(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.fleet_status.with_raw_response.live( @@ -153,7 +142,6 @@ async def test_raw_response_live(self, async_client: AsyncCloudflare) -> None: fleet_status = await response.parse() assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_live(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.fleet_status.with_streaming_response.live( @@ -168,7 +156,6 @@ async def test_streaming_response_live(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_live(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -177,7 +164,6 @@ async def test_path_params_live(self, async_client: AsyncCloudflare) -> None: since_minutes=10, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_over_time(self, async_client: AsyncCloudflare) -> None: fleet_status = await async_client.zero_trust.dex.fleet_status.over_time( @@ -187,7 +173,6 @@ async def test_method_over_time(self, async_client: AsyncCloudflare) -> None: ) assert fleet_status is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_over_time_with_all_params(self, async_client: AsyncCloudflare) -> None: fleet_status = await async_client.zero_trust.dex.fleet_status.over_time( @@ -199,7 +184,6 @@ async def test_method_over_time_with_all_params(self, async_client: AsyncCloudfl ) assert fleet_status is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_over_time(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.fleet_status.with_raw_response.over_time( @@ -213,7 +197,6 @@ async def test_raw_response_over_time(self, async_client: AsyncCloudflare) -> No fleet_status = await response.parse() assert fleet_status is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_over_time(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.fleet_status.with_streaming_response.over_time( @@ -229,7 +212,6 @@ async def test_streaming_response_over_time(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_over_time(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_http_tests.py b/tests/api_resources/zero_trust/dex/test_http_tests.py index 7ce03d3d709..21329525b50 100644 --- a/tests/api_resources/zero_trust/dex/test_http_tests.py +++ b/tests/api_resources/zero_trust/dex/test_http_tests.py @@ -17,7 +17,6 @@ class TestHTTPTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: http_test = client.zero_trust.dex.http_tests.get( @@ -29,7 +28,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_test = client.zero_trust.dex.http_tests.get( @@ -43,7 +41,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.http_tests.with_raw_response.get( @@ -59,7 +56,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_test = response.parse() assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.http_tests.with_streaming_response.get( @@ -77,7 +73,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -102,7 +97,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHTTPTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_test = await async_client.zero_trust.dex.http_tests.get( @@ -114,7 +108,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_test = await async_client.zero_trust.dex.http_tests.get( @@ -128,7 +121,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.http_tests.with_raw_response.get( @@ -144,7 +136,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_test = await response.parse() assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.http_tests.with_streaming_response.get( @@ -162,7 +153,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_tests.py b/tests/api_resources/zero_trust/dex/test_tests.py index cf048803d35..3c5a325a62c 100644 --- a/tests/api_resources/zero_trust/dex/test_tests.py +++ b/tests/api_resources/zero_trust/dex/test_tests.py @@ -18,7 +18,6 @@ class TestTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: test = client.zero_trust.dex.tests.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[Optional[Tests]], test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: test = client.zero_trust.dex.tests.list( @@ -39,7 +37,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[Optional[Tests]], test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.tests.with_raw_response.list( @@ -51,7 +48,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(SyncV4PagePagination[Optional[Tests]], test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.tests.with_streaming_response.list( @@ -65,7 +61,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,7 +72,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: test = await async_client.zero_trust.dex.tests.list( @@ -85,7 +79,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[Optional[Tests]], test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.zero_trust.dex.tests.list( @@ -98,7 +91,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[Optional[Tests]], test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.tests.with_raw_response.list( @@ -110,7 +102,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(AsyncV4PagePagination[Optional[Tests]], test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.tests.with_streaming_response.list( @@ -124,7 +115,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_traceroute_tests.py b/tests/api_resources/zero_trust/dex/test_traceroute_tests.py index 781dc4632c9..e9c90169344 100644 --- a/tests/api_resources/zero_trust/dex/test_traceroute_tests.py +++ b/tests/api_resources/zero_trust/dex/test_traceroute_tests.py @@ -21,7 +21,6 @@ class TestTracerouteTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.get( @@ -33,7 +32,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.get( @@ -47,7 +45,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_tests.with_raw_response.get( @@ -63,7 +60,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: traceroute_test = response.parse() assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_tests.with_streaming_response.get( @@ -81,7 +77,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -102,7 +97,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: to="1689606812000", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_network_path(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.network_path( @@ -115,7 +109,6 @@ def test_method_network_path(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_network_path(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_tests.with_raw_response.network_path( @@ -132,7 +125,6 @@ def test_raw_response_network_path(self, client: Cloudflare) -> None: traceroute_test = response.parse() assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_network_path(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_tests.with_streaming_response.network_path( @@ -151,7 +143,6 @@ def test_streaming_response_network_path(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_network_path(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -174,7 +165,6 @@ def test_path_params_network_path(self, client: Cloudflare) -> None: to="1689606812000", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_percentiles(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.percentiles( @@ -185,7 +175,6 @@ def test_method_percentiles(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_percentiles_with_all_params(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.percentiles( @@ -198,7 +187,6 @@ def test_method_percentiles_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_percentiles(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_tests.with_raw_response.percentiles( @@ -213,7 +201,6 @@ def test_raw_response_percentiles(self, client: Cloudflare) -> None: traceroute_test = response.parse() assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_percentiles(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_tests.with_streaming_response.percentiles( @@ -230,7 +217,6 @@ def test_streaming_response_percentiles(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_percentiles(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -253,7 +239,6 @@ def test_path_params_percentiles(self, client: Cloudflare) -> None: class TestAsyncTracerouteTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.get( @@ -265,7 +250,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.get( @@ -279,7 +263,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_tests.with_raw_response.get( @@ -295,7 +278,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: traceroute_test = await response.parse() assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_tests.with_streaming_response.get( @@ -313,7 +295,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -334,7 +315,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: to="1689606812000", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_network_path(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.network_path( @@ -347,7 +327,6 @@ async def test_method_network_path(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_network_path(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_tests.with_raw_response.network_path( @@ -364,7 +343,6 @@ async def test_raw_response_network_path(self, async_client: AsyncCloudflare) -> traceroute_test = await response.parse() assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_network_path(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_tests.with_streaming_response.network_path( @@ -383,7 +361,6 @@ async def test_streaming_response_network_path(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_network_path(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -406,7 +383,6 @@ async def test_path_params_network_path(self, async_client: AsyncCloudflare) -> to="1689606812000", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_percentiles(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.percentiles( @@ -417,7 +393,6 @@ async def test_method_percentiles(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_percentiles_with_all_params(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.percentiles( @@ -430,7 +405,6 @@ async def test_method_percentiles_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_percentiles(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_tests.with_raw_response.percentiles( @@ -445,7 +419,6 @@ async def test_raw_response_percentiles(self, async_client: AsyncCloudflare) -> traceroute_test = await response.parse() assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_percentiles(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_tests.with_streaming_response.percentiles( @@ -462,7 +435,6 @@ async def test_streaming_response_percentiles(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_percentiles(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py b/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py index 80da6858dc2..04439705540 100644 --- a/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py +++ b/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py @@ -17,7 +17,6 @@ class TestUniqueDevices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: unique_device = client.zero_trust.dex.tests.unique_devices.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: unique_device = client.zero_trust.dex.tests.unique_devices.list( @@ -35,7 +33,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.tests.unique_devices.with_raw_response.list( @@ -47,7 +44,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: unique_device = response.parse() assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.tests.unique_devices.with_streaming_response.list( @@ -61,7 +57,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,7 +68,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncUniqueDevices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: unique_device = await async_client.zero_trust.dex.tests.unique_devices.list( @@ -81,7 +75,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: unique_device = await async_client.zero_trust.dex.tests.unique_devices.list( @@ -91,7 +84,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.tests.unique_devices.with_raw_response.list( @@ -103,7 +95,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: unique_device = await response.parse() assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.tests.unique_devices.with_streaming_response.list( @@ -117,7 +108,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/datasets/test_upload.py b/tests/api_resources/zero_trust/dlp/datasets/test_upload.py index bf5443c10ab..4521acb1e12 100644 --- a/tests/api_resources/zero_trust/dlp/datasets/test_upload.py +++ b/tests/api_resources/zero_trust/dlp/datasets/test_upload.py @@ -18,7 +18,6 @@ class TestUpload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: upload = client.zero_trust.dlp.datasets.upload.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NewVersion], upload, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.upload.with_raw_response.create( @@ -40,7 +38,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: upload = response.parse() assert_matches_type(Optional[NewVersion], upload, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.upload.with_streaming_response.create( @@ -55,7 +52,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -136,7 +132,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncUpload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: upload = await async_client.zero_trust.dlp.datasets.upload.create( @@ -145,7 +140,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NewVersion], upload, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.upload.with_raw_response.create( @@ -158,7 +152,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: upload = await response.parse() assert_matches_type(Optional[NewVersion], upload, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.upload.with_streaming_response.create( @@ -173,7 +166,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/datasets/test_versions.py b/tests/api_resources/zero_trust/dlp/datasets/test_versions.py index c37528d256f..423c366940d 100755 --- a/tests/api_resources/zero_trust/dlp/datasets/test_versions.py +++ b/tests/api_resources/zero_trust/dlp/datasets/test_versions.py @@ -17,7 +17,6 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: version = client.zero_trust.dlp.datasets.versions.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.versions.with_raw_response.create( @@ -43,7 +41,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.versions.with_streaming_response.create( @@ -60,7 +57,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -83,7 +79,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncVersions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: version = await async_client.zero_trust.dlp.datasets.versions.create( @@ -94,7 +89,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.versions.with_raw_response.create( @@ -109,7 +103,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.versions.with_streaming_response.create( @@ -126,7 +119,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/datasets/versions/test_entries.py b/tests/api_resources/zero_trust/dlp/datasets/versions/test_entries.py index 3b8b388d056..e7b20090f3a 100755 --- a/tests/api_resources/zero_trust/dlp/datasets/versions/test_entries.py +++ b/tests/api_resources/zero_trust/dlp/datasets/versions/test_entries.py @@ -17,7 +17,6 @@ class TestEntries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.datasets.versions.entries.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.versions.entries.with_raw_response.create( @@ -45,7 +43,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.versions.entries.with_streaming_response.create( @@ -63,7 +60,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -97,7 +93,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncEntries: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.datasets.versions.entries.create( @@ -109,7 +104,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.versions.entries.with_raw_response.create( @@ -125,7 +119,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.versions.entries.with_streaming_response.create( @@ -143,7 +136,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py index d826fae9d42..36fd45b8f25 100644 --- a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py +++ b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py @@ -18,7 +18,6 @@ class TestCustom: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.create( @@ -38,7 +37,6 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -62,7 +60,6 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -88,7 +85,6 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -108,7 +104,6 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.create( @@ -124,7 +119,6 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.create( @@ -158,7 +152,6 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -178,7 +171,6 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -200,7 +192,6 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -216,7 +207,6 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: name="name", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.update( @@ -226,7 +216,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.update( @@ -262,7 +251,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.update( @@ -276,7 +264,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.update( @@ -292,7 +279,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -309,7 +295,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="name", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.delete( @@ -318,7 +303,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.delete( @@ -331,7 +315,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(object, custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.delete( @@ -346,7 +329,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -361,7 +343,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.get( @@ -370,7 +351,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.get( @@ -383,7 +363,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.get( @@ -398,7 +377,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -417,7 +395,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustom: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.create( @@ -437,7 +414,6 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -461,7 +437,6 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar custom = await response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -487,7 +462,6 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -507,7 +481,6 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.create( @@ -523,7 +496,6 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.create( @@ -557,7 +529,6 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -577,7 +548,6 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar custom = await response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -599,7 +569,6 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -615,7 +584,6 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare name="name", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.update( @@ -625,7 +593,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.update( @@ -661,7 +628,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.update( @@ -675,7 +641,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.update( @@ -691,7 +656,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -708,7 +672,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="name", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.delete( @@ -717,7 +680,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.delete( @@ -730,7 +692,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(object, custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.delete( @@ -745,7 +706,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -760,7 +720,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.get( @@ -769,7 +728,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.get( @@ -782,7 +740,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(Optional[Profile], custom, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.get( @@ -797,7 +754,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py b/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py index 8dcfb9d9e4b..d9a8e2091cf 100644 --- a/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py +++ b/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py @@ -17,7 +17,6 @@ class TestPredefined: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.update( @@ -32,7 +31,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.update( @@ -54,7 +52,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.predefined.with_raw_response.update( @@ -73,7 +70,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: predefined = response.parse() assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.predefined.with_streaming_response.update( @@ -94,7 +90,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -121,7 +116,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.get( @@ -130,7 +124,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.predefined.with_raw_response.get( @@ -143,7 +136,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: predefined = response.parse() assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.predefined.with_streaming_response.get( @@ -158,7 +150,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -177,7 +168,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPredefined: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.update( @@ -192,7 +182,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.update( @@ -214,7 +203,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.predefined.with_raw_response.update( @@ -233,7 +221,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: predefined = await response.parse() assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.predefined.with_streaming_response.update( @@ -254,7 +241,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -281,7 +267,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.get( @@ -290,7 +275,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.predefined.with_raw_response.get( @@ -303,7 +287,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: predefined = await response.parse() assert_matches_type(Optional[Profile], predefined, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.predefined.with_streaming_response.get( @@ -318,7 +301,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_datasets.py b/tests/api_resources/zero_trust/dlp/test_datasets.py index 12e85a745c6..67fe94de228 100644 --- a/tests/api_resources/zero_trust/dlp/test_datasets.py +++ b/tests/api_resources/zero_trust/dlp/test_datasets.py @@ -18,7 +18,6 @@ class TestDatasets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.create( @@ -52,7 +49,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.create( @@ -67,7 +63,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="name", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.update( @@ -85,7 +79,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.update( @@ -96,7 +89,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.update( @@ -109,7 +101,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.update( @@ -124,7 +115,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -139,7 +129,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.list( @@ -147,7 +136,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.list( @@ -159,7 +147,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(SyncSinglePage[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.list( @@ -173,7 +160,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -181,7 +167,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.delete( @@ -190,7 +175,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert dataset is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.delete( @@ -203,7 +187,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dataset = response.parse() assert dataset is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.delete( @@ -218,7 +201,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -233,7 +215,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.get( @@ -242,7 +223,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.get( @@ -255,7 +235,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.get( @@ -270,7 +249,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -289,7 +267,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDatasets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.create( @@ -298,7 +275,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.create( @@ -310,7 +286,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.create( @@ -323,7 +298,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.create( @@ -338,7 +312,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -347,7 +320,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="name", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.update( @@ -356,7 +328,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.update( @@ -367,7 +338,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.update( @@ -380,7 +350,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.update( @@ -395,7 +364,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -410,7 +378,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.list( @@ -418,7 +385,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.list( @@ -430,7 +396,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(AsyncSinglePage[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.list( @@ -444,7 +409,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -452,7 +416,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.delete( @@ -461,7 +424,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert dataset is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.delete( @@ -474,7 +436,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert dataset is None - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.delete( @@ -489,7 +450,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -504,7 +464,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.get( @@ -513,7 +472,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.get( @@ -526,7 +484,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.get( @@ -541,7 +498,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_entries.py b/tests/api_resources/zero_trust/dlp/test_entries.py index 8b7afa39745..d402f65a21e 100644 --- a/tests/api_resources/zero_trust/dlp/test_entries.py +++ b/tests/api_resources/zero_trust/dlp/test_entries.py @@ -23,7 +23,6 @@ class TestEntries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.create( @@ -50,7 +48,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.entries.with_raw_response.create( @@ -66,7 +63,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.entries.with_streaming_response.create( @@ -84,7 +80,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -96,7 +91,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.update( @@ -108,7 +102,6 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.update( @@ -123,7 +116,6 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.entries.with_raw_response.update( @@ -139,7 +131,6 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.dlp.entries.with_streaming_response.update( @@ -157,7 +148,6 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,7 +168,6 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: type="custom", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.update( @@ -188,7 +177,6 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.entries.with_raw_response.update( @@ -202,7 +190,6 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.dlp.entries.with_streaming_response.update( @@ -218,7 +205,6 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -235,7 +221,6 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: type="predefined", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.update( @@ -245,7 +230,6 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.entries.with_raw_response.update( @@ -259,7 +243,6 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.dlp.entries.with_streaming_response.update( @@ -275,7 +258,6 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -292,7 +274,6 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: type="integration", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.list( @@ -300,7 +281,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.entries.with_raw_response.list( @@ -312,7 +292,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(SyncSinglePage[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.entries.with_streaming_response.list( @@ -326,7 +305,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -334,7 +312,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.delete( @@ -343,7 +320,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.entries.with_raw_response.delete( @@ -356,7 +332,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(object, entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.dlp.entries.with_streaming_response.delete( @@ -371,7 +346,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -386,7 +360,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: entry = client.zero_trust.dlp.entries.get( @@ -395,7 +368,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryGetResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.entries.with_raw_response.get( @@ -408,7 +380,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryGetResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.entries.with_streaming_response.get( @@ -423,7 +394,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -442,7 +412,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEntries: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.create( @@ -454,7 +423,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.create( @@ -469,7 +437,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.entries.with_raw_response.create( @@ -485,7 +452,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.entries.with_streaming_response.create( @@ -503,7 +469,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -515,7 +480,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.update( @@ -527,7 +491,6 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.update( @@ -542,7 +505,6 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.entries.with_raw_response.update( @@ -558,7 +520,6 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar entry = await response.parse() assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.entries.with_streaming_response.update( @@ -576,7 +537,6 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -597,7 +557,6 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare type="custom", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.update( @@ -607,7 +566,6 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.entries.with_raw_response.update( @@ -621,7 +579,6 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar entry = await response.parse() assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.entries.with_streaming_response.update( @@ -637,7 +594,6 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -654,7 +610,6 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare type="predefined", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.update( @@ -664,7 +619,6 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.entries.with_raw_response.update( @@ -678,7 +632,6 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar entry = await response.parse() assert_matches_type(Optional[EntryUpdateResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.entries.with_streaming_response.update( @@ -694,7 +647,6 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -711,7 +663,6 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare type="integration", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.list( @@ -719,7 +670,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.entries.with_raw_response.list( @@ -731,7 +681,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(AsyncSinglePage[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.entries.with_streaming_response.list( @@ -745,7 +694,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -753,7 +701,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.delete( @@ -762,7 +709,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.entries.with_raw_response.delete( @@ -775,7 +721,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(object, entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.entries.with_streaming_response.delete( @@ -790,7 +735,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -805,7 +749,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: entry = await async_client.zero_trust.dlp.entries.get( @@ -814,7 +757,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EntryGetResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.entries.with_raw_response.get( @@ -827,7 +769,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(Optional[EntryGetResponse], entry, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.entries.with_streaming_response.get( @@ -842,7 +783,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_limits.py b/tests/api_resources/zero_trust/dlp/test_limits.py index 88b29624c20..ca7e470cfd6 100755 --- a/tests/api_resources/zero_trust/dlp/test_limits.py +++ b/tests/api_resources/zero_trust/dlp/test_limits.py @@ -17,7 +17,6 @@ class TestLimits: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: limit = client.zero_trust.dlp.limits.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LimitListResponse], limit, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.limits.with_raw_response.list( @@ -37,7 +35,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: limit = response.parse() assert_matches_type(Optional[LimitListResponse], limit, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.limits.with_streaming_response.list( @@ -51,7 +48,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncLimits: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: limit = await async_client.zero_trust.dlp.limits.list( @@ -71,7 +66,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LimitListResponse], limit, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.limits.with_raw_response.list( @@ -83,7 +77,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: limit = await response.parse() assert_matches_type(Optional[LimitListResponse], limit, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.limits.with_streaming_response.list( @@ -97,7 +90,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_patterns.py b/tests/api_resources/zero_trust/dlp/test_patterns.py index 5fe36d5a9b8..f9bd0319a32 100644 --- a/tests/api_resources/zero_trust/dlp/test_patterns.py +++ b/tests/api_resources/zero_trust/dlp/test_patterns.py @@ -17,7 +17,6 @@ class TestPatterns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_validate(self, client: Cloudflare) -> None: pattern = client.zero_trust.dlp.patterns.validate( @@ -26,7 +25,6 @@ def test_method_validate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PatternValidateResponse], pattern, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_validate_with_all_params(self, client: Cloudflare) -> None: pattern = client.zero_trust.dlp.patterns.validate( @@ -36,7 +34,6 @@ def test_method_validate_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PatternValidateResponse], pattern, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_validate(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.patterns.with_raw_response.validate( @@ -49,7 +46,6 @@ def test_raw_response_validate(self, client: Cloudflare) -> None: pattern = response.parse() assert_matches_type(Optional[PatternValidateResponse], pattern, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_validate(self, client: Cloudflare) -> None: with client.zero_trust.dlp.patterns.with_streaming_response.validate( @@ -64,7 +60,6 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_validate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,7 +72,6 @@ def test_path_params_validate(self, client: Cloudflare) -> None: class TestAsyncPatterns: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_validate(self, async_client: AsyncCloudflare) -> None: pattern = await async_client.zero_trust.dlp.patterns.validate( @@ -86,7 +80,6 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PatternValidateResponse], pattern, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_validate_with_all_params(self, async_client: AsyncCloudflare) -> None: pattern = await async_client.zero_trust.dlp.patterns.validate( @@ -96,7 +89,6 @@ async def test_method_validate_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(Optional[PatternValidateResponse], pattern, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.patterns.with_raw_response.validate( @@ -109,7 +101,6 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non pattern = await response.parse() assert_matches_type(Optional[PatternValidateResponse], pattern, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_validate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.patterns.with_streaming_response.validate( @@ -124,7 +115,6 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_validate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_payload_logs.py b/tests/api_resources/zero_trust/dlp/test_payload_logs.py index 5aceed890cf..2d9c15c0be9 100644 --- a/tests/api_resources/zero_trust/dlp/test_payload_logs.py +++ b/tests/api_resources/zero_trust/dlp/test_payload_logs.py @@ -17,7 +17,6 @@ class TestPayloadLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: payload_log = client.zero_trust.dlp.payload_logs.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PayloadLogUpdateResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: payload_log = client.zero_trust.dlp.payload_logs.update( @@ -34,7 +32,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PayloadLogUpdateResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.payload_logs.with_raw_response.update( @@ -46,7 +43,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: payload_log = response.parse() assert_matches_type(Optional[PayloadLogUpdateResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.payload_logs.with_streaming_response.update( @@ -60,7 +56,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,7 +63,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: payload_log = client.zero_trust.dlp.payload_logs.get( @@ -76,7 +70,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PayloadLogGetResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.payload_logs.with_raw_response.get( @@ -88,7 +81,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: payload_log = response.parse() assert_matches_type(Optional[PayloadLogGetResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.payload_logs.with_streaming_response.get( @@ -102,7 +94,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -114,7 +105,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPayloadLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: payload_log = await async_client.zero_trust.dlp.payload_logs.update( @@ -122,7 +112,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PayloadLogUpdateResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: payload_log = await async_client.zero_trust.dlp.payload_logs.update( @@ -131,7 +120,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[PayloadLogUpdateResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.payload_logs.with_raw_response.update( @@ -143,7 +131,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: payload_log = await response.parse() assert_matches_type(Optional[PayloadLogUpdateResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.payload_logs.with_streaming_response.update( @@ -157,7 +144,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -165,7 +151,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: payload_log = await async_client.zero_trust.dlp.payload_logs.get( @@ -173,7 +158,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PayloadLogGetResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.payload_logs.with_raw_response.get( @@ -185,7 +169,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: payload_log = await response.parse() assert_matches_type(Optional[PayloadLogGetResponse], payload_log, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.payload_logs.with_streaming_response.get( @@ -199,7 +182,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_profiles.py b/tests/api_resources/zero_trust/dlp/test_profiles.py index 23f9ecdad18..186567d9299 100644 --- a/tests/api_resources/zero_trust/dlp/test_profiles.py +++ b/tests/api_resources/zero_trust/dlp/test_profiles.py @@ -18,7 +18,6 @@ class TestProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: profile = client.zero_trust.dlp.profiles.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: profile = client.zero_trust.dlp.profiles.list( @@ -35,7 +33,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.with_raw_response.list( @@ -47,7 +44,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(SyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.with_streaming_response.list( @@ -61,7 +57,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,7 +64,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: profile = client.zero_trust.dlp.profiles.get( @@ -78,7 +72,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.with_raw_response.get( @@ -91,7 +84,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(Optional[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.with_streaming_response.get( @@ -106,7 +98,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -125,7 +116,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncProfiles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: profile = await async_client.zero_trust.dlp.profiles.list( @@ -133,7 +123,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: profile = await async_client.zero_trust.dlp.profiles.list( @@ -142,7 +131,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.with_raw_response.list( @@ -154,7 +142,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(AsyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.with_streaming_response.list( @@ -168,7 +155,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -176,7 +162,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: profile = await async_client.zero_trust.dlp.profiles.get( @@ -185,7 +170,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.with_raw_response.get( @@ -198,7 +182,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(Optional[Profile], profile, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.with_streaming_response.get( @@ -213,7 +196,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_app_types.py b/tests/api_resources/zero_trust/gateway/test_app_types.py index c33bfef231d..166d36defcd 100644 --- a/tests/api_resources/zero_trust/gateway/test_app_types.py +++ b/tests/api_resources/zero_trust/gateway/test_app_types.py @@ -18,7 +18,6 @@ class TestAppTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: app_type = client.zero_trust.gateway.app_types.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AppType], app_type, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.app_types.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: app_type = response.parse() assert_matches_type(SyncSinglePage[AppType], app_type, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.app_types.with_streaming_response.list( @@ -52,7 +49,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -64,7 +60,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAppTypes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: app_type = await async_client.zero_trust.gateway.app_types.list( @@ -72,7 +67,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AppType], app_type, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.app_types.with_raw_response.list( @@ -84,7 +78,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: app_type = await response.parse() assert_matches_type(AsyncSinglePage[AppType], app_type, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.app_types.with_streaming_response.list( @@ -98,7 +91,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py b/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py index a906b58848d..55ce02105b1 100644 --- a/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py +++ b/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py @@ -17,7 +17,6 @@ class TestAuditSSHSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.audit_ssh_settings.with_raw_response.update( @@ -39,7 +37,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: audit_ssh_setting = response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.update( @@ -54,7 +51,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: public_key="1pyl6I1tL7xfJuFYVzXlUW8uXXlpxegHXBzGCBKaSFA=", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.audit_ssh_settings.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: audit_ssh_setting = response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.get( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -105,7 +97,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_rotate_seed(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.rotate_seed( @@ -113,7 +104,6 @@ def test_method_rotate_seed(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_rotate_seed(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.audit_ssh_settings.with_raw_response.rotate_seed( @@ -125,7 +115,6 @@ def test_raw_response_rotate_seed(self, client: Cloudflare) -> None: audit_ssh_setting = response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_rotate_seed(self, client: Cloudflare) -> None: with client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.rotate_seed( @@ -139,7 +128,6 @@ def test_streaming_response_rotate_seed(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_rotate_seed(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -151,7 +139,6 @@ def test_path_params_rotate_seed(self, client: Cloudflare) -> None: class TestAsyncAuditSSHSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.update( @@ -160,7 +147,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.audit_ssh_settings.with_raw_response.update( @@ -173,7 +159,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.update( @@ -188,7 +173,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -197,7 +181,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: public_key="1pyl6I1tL7xfJuFYVzXlUW8uXXlpxegHXBzGCBKaSFA=", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.get( @@ -205,7 +188,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.audit_ssh_settings.with_raw_response.get( @@ -217,7 +199,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.get( @@ -231,7 +212,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -239,7 +219,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_rotate_seed(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.rotate_seed( @@ -247,7 +226,6 @@ async def test_method_rotate_seed(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_rotate_seed(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.audit_ssh_settings.with_raw_response.rotate_seed( @@ -259,7 +237,6 @@ async def test_raw_response_rotate_seed(self, async_client: AsyncCloudflare) -> audit_ssh_setting = await response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_rotate_seed(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.rotate_seed( @@ -273,7 +250,6 @@ async def test_streaming_response_rotate_seed(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_rotate_seed(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_categories.py b/tests/api_resources/zero_trust/gateway/test_categories.py index ef205ffe9b2..42d6ae3b4db 100644 --- a/tests/api_resources/zero_trust/gateway/test_categories.py +++ b/tests/api_resources/zero_trust/gateway/test_categories.py @@ -18,7 +18,6 @@ class TestCategories: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: category = client.zero_trust.gateway.categories.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Category], category, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.categories.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: category = response.parse() assert_matches_type(SyncSinglePage[Category], category, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.categories.with_streaming_response.list( @@ -52,7 +49,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -64,7 +60,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncCategories: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: category = await async_client.zero_trust.gateway.categories.list( @@ -72,7 +67,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Category], category, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.categories.with_raw_response.list( @@ -84,7 +78,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: category = await response.parse() assert_matches_type(AsyncSinglePage[Category], category, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.categories.with_streaming_response.list( @@ -98,7 +91,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_certificates.py b/tests/api_resources/zero_trust/gateway/test_certificates.py index 1897c5f6c57..5cbd3f90415 100644 --- a/tests/api_resources/zero_trust/gateway/test_certificates.py +++ b/tests/api_resources/zero_trust/gateway/test_certificates.py @@ -25,7 +25,6 @@ class TestCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: certificate = client.zero_trust.gateway.certificates.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateCreateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.gateway.certificates.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateCreateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.certificates.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[CertificateCreateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.certificates.with_streaming_response.create( @@ -68,7 +64,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: certificate = client.zero_trust.gateway.certificates.list( @@ -84,7 +78,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CertificateListResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.certificates.with_raw_response.list( @@ -96,7 +89,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(SyncSinglePage[CertificateListResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.certificates.with_streaming_response.list( @@ -110,7 +102,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -118,7 +109,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: certificate = client.zero_trust.gateway.certificates.delete( @@ -127,7 +117,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.certificates.with_raw_response.delete( @@ -140,7 +129,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.certificates.with_streaming_response.delete( @@ -155,7 +143,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -170,7 +157,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_activate(self, client: Cloudflare) -> None: certificate = client.zero_trust.gateway.certificates.activate( @@ -180,7 +166,6 @@ def test_method_activate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateActivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_activate(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.certificates.with_raw_response.activate( @@ -194,7 +179,6 @@ def test_raw_response_activate(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[CertificateActivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_activate(self, client: Cloudflare) -> None: with client.zero_trust.gateway.certificates.with_streaming_response.activate( @@ -210,7 +194,6 @@ def test_streaming_response_activate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_activate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -227,7 +210,6 @@ def test_path_params_activate(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_deactivate(self, client: Cloudflare) -> None: certificate = client.zero_trust.gateway.certificates.deactivate( @@ -237,7 +219,6 @@ def test_method_deactivate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateDeactivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_deactivate(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.certificates.with_raw_response.deactivate( @@ -251,7 +232,6 @@ def test_raw_response_deactivate(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[CertificateDeactivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_deactivate(self, client: Cloudflare) -> None: with client.zero_trust.gateway.certificates.with_streaming_response.deactivate( @@ -267,7 +247,6 @@ def test_streaming_response_deactivate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_deactivate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -284,7 +263,6 @@ def test_path_params_deactivate(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: certificate = client.zero_trust.gateway.certificates.get( @@ -293,7 +271,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateGetResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.certificates.with_raw_response.get( @@ -306,7 +283,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[CertificateGetResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.certificates.with_streaming_response.get( @@ -321,7 +297,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -340,7 +315,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.gateway.certificates.create( @@ -348,7 +322,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CertificateCreateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.gateway.certificates.create( @@ -357,7 +330,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CertificateCreateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.certificates.with_raw_response.create( @@ -369,7 +341,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[CertificateCreateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.certificates.with_streaming_response.create( @@ -383,7 +354,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -391,7 +361,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.gateway.certificates.list( @@ -399,7 +368,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CertificateListResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.certificates.with_raw_response.list( @@ -411,7 +379,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(AsyncSinglePage[CertificateListResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.certificates.with_streaming_response.list( @@ -425,7 +392,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -433,7 +399,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.gateway.certificates.delete( @@ -442,7 +407,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.certificates.with_raw_response.delete( @@ -455,7 +419,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.certificates.with_streaming_response.delete( @@ -470,7 +433,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -485,7 +447,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_activate(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.gateway.certificates.activate( @@ -495,7 +456,6 @@ async def test_method_activate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CertificateActivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_activate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.certificates.with_raw_response.activate( @@ -509,7 +469,6 @@ async def test_raw_response_activate(self, async_client: AsyncCloudflare) -> Non certificate = await response.parse() assert_matches_type(Optional[CertificateActivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_activate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.certificates.with_streaming_response.activate( @@ -525,7 +484,6 @@ async def test_streaming_response_activate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_activate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -542,7 +500,6 @@ async def test_path_params_activate(self, async_client: AsyncCloudflare) -> None body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_deactivate(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.gateway.certificates.deactivate( @@ -552,7 +509,6 @@ async def test_method_deactivate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CertificateDeactivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_deactivate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.certificates.with_raw_response.deactivate( @@ -566,7 +522,6 @@ async def test_raw_response_deactivate(self, async_client: AsyncCloudflare) -> N certificate = await response.parse() assert_matches_type(Optional[CertificateDeactivateResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_deactivate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.certificates.with_streaming_response.deactivate( @@ -582,7 +537,6 @@ async def test_streaming_response_deactivate(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_deactivate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -599,7 +553,6 @@ async def test_path_params_deactivate(self, async_client: AsyncCloudflare) -> No body={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.gateway.certificates.get( @@ -608,7 +561,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CertificateGetResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.certificates.with_raw_response.get( @@ -621,7 +573,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[CertificateGetResponse], certificate, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.certificates.with_streaming_response.get( @@ -636,7 +587,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_configurations.py b/tests/api_resources/zero_trust/gateway/test_configurations.py index 003efef5790..ac9f91abf09 100644 --- a/tests/api_resources/zero_trust/gateway/test_configurations.py +++ b/tests/api_resources/zero_trust/gateway/test_configurations.py @@ -21,7 +21,6 @@ class TestConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.update( @@ -29,7 +28,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.update( @@ -79,7 +77,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.update( @@ -91,7 +88,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.update( @@ -105,7 +101,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -113,7 +108,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.edit( @@ -121,7 +115,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.edit( @@ -171,7 +164,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.edit( @@ -183,7 +175,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.edit( @@ -197,7 +188,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -205,7 +195,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.get( @@ -213,7 +202,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.get( @@ -225,7 +213,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.get( @@ -239,7 +226,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -251,7 +237,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigurations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.update( @@ -259,7 +244,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.update( @@ -309,7 +293,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.update( @@ -321,7 +304,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.update( @@ -335,7 +317,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -343,7 +324,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.edit( @@ -351,7 +331,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.edit( @@ -401,7 +380,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.edit( @@ -413,7 +391,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.edit( @@ -427,7 +404,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -435,7 +411,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.get( @@ -443,7 +418,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.get( @@ -455,7 +429,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.get( @@ -469,7 +442,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_lists.py b/tests/api_resources/zero_trust/gateway/test_lists.py index 47a57845219..5448c53e5b9 100644 --- a/tests/api_resources/zero_trust/gateway/test_lists.py +++ b/tests/api_resources/zero_trust/gateway/test_lists.py @@ -21,7 +21,6 @@ class TestLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.create( @@ -48,7 +46,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.create( @@ -62,7 +59,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: list_ = response.parse() assert_matches_type(Optional[ListCreateResponse], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.create( @@ -78,7 +74,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -88,7 +83,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="SERIAL", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.update( @@ -98,7 +92,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.update( @@ -109,7 +102,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.update( @@ -123,7 +115,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: list_ = response.parse() assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.update( @@ -139,7 +130,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -156,7 +146,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="Admin Serial Numbers", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.list( @@ -164,7 +153,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.list( @@ -173,7 +161,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.list( @@ -185,7 +172,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: list_ = response.parse() assert_matches_type(SyncSinglePage[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.list( @@ -199,7 +185,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -207,7 +192,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.delete( @@ -216,7 +200,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.delete( @@ -229,7 +212,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: list_ = response.parse() assert_matches_type(object, list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.delete( @@ -244,7 +226,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -259,7 +240,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.edit( @@ -268,7 +248,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.edit( @@ -284,7 +263,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.edit( @@ -297,7 +275,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: list_ = response.parse() assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.edit( @@ -312,7 +289,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -327,7 +303,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: list_ = client.zero_trust.gateway.lists.get( @@ -336,7 +311,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.get( @@ -349,7 +323,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: list_ = response.parse() assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.get( @@ -364,7 +337,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -383,7 +355,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLists: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.create( @@ -393,7 +364,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.create( @@ -410,7 +380,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ListCreateResponse], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.create( @@ -424,7 +393,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: list_ = await response.parse() assert_matches_type(Optional[ListCreateResponse], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.create( @@ -440,7 +408,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -450,7 +417,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="SERIAL", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.update( @@ -460,7 +426,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.update( @@ -471,7 +436,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.update( @@ -485,7 +449,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: list_ = await response.parse() assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.update( @@ -501,7 +464,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -518,7 +480,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="Admin Serial Numbers", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.list( @@ -526,7 +487,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.list( @@ -535,7 +495,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.list( @@ -547,7 +506,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: list_ = await response.parse() assert_matches_type(AsyncSinglePage[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.list( @@ -561,7 +519,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -569,7 +526,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.delete( @@ -578,7 +534,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.delete( @@ -591,7 +546,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: list_ = await response.parse() assert_matches_type(object, list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.delete( @@ -606,7 +560,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -621,7 +574,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.edit( @@ -630,7 +582,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.edit( @@ -646,7 +597,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.edit( @@ -659,7 +609,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: list_ = await response.parse() assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.edit( @@ -674,7 +623,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -689,7 +637,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: list_ = await async_client.zero_trust.gateway.lists.get( @@ -698,7 +645,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.get( @@ -711,7 +657,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: list_ = await response.parse() assert_matches_type(Optional[GatewayList], list_, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.get( @@ -726,7 +671,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_locations.py b/tests/api_resources/zero_trust/gateway/test_locations.py index 86f9b406ce5..0a629a61f6e 100644 --- a/tests/api_resources/zero_trust/gateway/test_locations.py +++ b/tests/api_resources/zero_trust/gateway/test_locations.py @@ -18,7 +18,6 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.create( @@ -56,7 +54,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.create( @@ -69,7 +66,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.create( @@ -84,7 +80,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -93,7 +88,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.update( @@ -103,7 +97,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.update( @@ -133,7 +126,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.update( @@ -147,7 +139,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.update( @@ -163,7 +154,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -180,7 +170,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.list( @@ -188,7 +177,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.list( @@ -200,7 +188,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(SyncSinglePage[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.list( @@ -214,7 +201,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -222,7 +208,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.delete( @@ -231,7 +216,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.delete( @@ -244,7 +228,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(object, location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.delete( @@ -259,7 +242,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -274,7 +256,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.get( @@ -283,7 +264,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.get( @@ -296,7 +276,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.get( @@ -311,7 +290,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -330,7 +308,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.create( @@ -339,7 +316,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.create( @@ -368,7 +344,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.create( @@ -381,7 +356,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.create( @@ -396,7 +370,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -405,7 +378,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.update( @@ -415,7 +387,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.update( @@ -445,7 +416,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.update( @@ -459,7 +429,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.update( @@ -475,7 +444,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -492,7 +460,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.list( @@ -500,7 +467,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.list( @@ -512,7 +478,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(AsyncSinglePage[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.list( @@ -526,7 +491,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -534,7 +498,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.delete( @@ -543,7 +506,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.delete( @@ -556,7 +518,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(object, location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.delete( @@ -571,7 +532,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -586,7 +546,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.get( @@ -595,7 +554,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.get( @@ -608,7 +566,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.get( @@ -623,7 +580,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_logging.py b/tests/api_resources/zero_trust/gateway/test_logging.py index 9a8eac45e53..a157696ec07 100644 --- a/tests/api_resources/zero_trust/gateway/test_logging.py +++ b/tests/api_resources/zero_trust/gateway/test_logging.py @@ -17,7 +17,6 @@ class TestLogging: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: logging = client.zero_trust.gateway.logging.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: logging = client.zero_trust.gateway.logging.update( @@ -39,7 +37,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.logging.with_raw_response.update( @@ -51,7 +48,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: logging = response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.logging.with_streaming_response.update( @@ -65,7 +61,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,7 +68,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: logging = client.zero_trust.gateway.logging.get( @@ -81,7 +75,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.logging.with_raw_response.get( @@ -93,7 +86,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: logging = response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.logging.with_streaming_response.get( @@ -107,7 +99,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -119,7 +110,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLogging: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: logging = await async_client.zero_trust.gateway.logging.update( @@ -127,7 +117,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: logging = await async_client.zero_trust.gateway.logging.update( @@ -141,7 +130,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.logging.with_raw_response.update( @@ -153,7 +141,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: logging = await response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.logging.with_streaming_response.update( @@ -167,7 +154,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -175,7 +161,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: logging = await async_client.zero_trust.gateway.logging.get( @@ -183,7 +168,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.logging.with_raw_response.get( @@ -195,7 +179,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: logging = await response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.logging.with_streaming_response.get( @@ -209,7 +192,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py index 9a90fb4035c..5a27878e351 100644 --- a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py +++ b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py @@ -20,7 +20,6 @@ class TestProxyEndpoints: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.create( @@ -60,7 +57,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,7 +66,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="Devops team", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.list( @@ -78,7 +73,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.list( @@ -90,7 +84,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.list( @@ -104,7 +97,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -112,7 +104,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.delete( @@ -121,7 +112,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete( @@ -134,7 +124,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(object, proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.delete( @@ -149,7 +138,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -164,7 +152,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.edit( @@ -173,7 +160,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.edit( @@ -184,7 +170,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.edit( @@ -197,7 +182,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.edit( @@ -212,7 +196,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -227,7 +210,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.get( @@ -236,7 +218,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpointGetResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.get( @@ -249,7 +230,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpointGetResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.get( @@ -264,7 +244,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -283,7 +262,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncProxyEndpoints: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.create( @@ -293,7 +271,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.create( @@ -307,7 +284,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.create( @@ -323,7 +299,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -333,7 +308,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="Devops team", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.list( @@ -341,7 +315,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.list( @@ -353,7 +326,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.list( @@ -367,7 +339,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -375,7 +346,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.delete( @@ -384,7 +354,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete( @@ -397,7 +366,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(object, proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.delete( @@ -412,7 +380,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -427,7 +394,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.edit( @@ -436,7 +402,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.edit( @@ -447,7 +412,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.edit( @@ -460,7 +424,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.edit( @@ -475,7 +438,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -490,7 +452,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.get( @@ -499,7 +460,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpointGetResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.get( @@ -512,7 +472,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpointGetResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.get( @@ -527,7 +486,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_rules.py b/tests/api_resources/zero_trust/gateway/test_rules.py index 542d8d22160..8852212a8b5 100644 --- a/tests/api_resources/zero_trust/gateway/test_rules.py +++ b/tests/api_resources/zero_trust/gateway/test_rules.py @@ -21,7 +21,6 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.create( @@ -124,7 +122,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.create( @@ -138,7 +135,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.create( @@ -154,7 +150,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -164,7 +159,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.update( @@ -175,7 +169,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.update( @@ -269,7 +262,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.update( @@ -284,7 +276,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.update( @@ -301,7 +292,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -320,7 +310,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.list( @@ -328,7 +317,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.list( @@ -340,7 +328,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.list( @@ -354,7 +341,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -362,7 +348,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.delete( @@ -371,7 +356,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.delete( @@ -384,7 +368,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(object, rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.delete( @@ -399,7 +382,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -414,7 +396,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.get( @@ -423,7 +404,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.get( @@ -436,7 +416,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.get( @@ -451,7 +430,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -466,7 +444,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_reset_expiration(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.reset_expiration( @@ -475,7 +452,6 @@ def test_method_reset_expiration(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_reset_expiration(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.reset_expiration( @@ -488,7 +464,6 @@ def test_raw_response_reset_expiration(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_reset_expiration(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.reset_expiration( @@ -503,7 +478,6 @@ def test_streaming_response_reset_expiration(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_reset_expiration(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -522,7 +496,6 @@ def test_path_params_reset_expiration(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.create( @@ -532,7 +505,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.create( @@ -625,7 +597,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.create( @@ -639,7 +610,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.create( @@ -655,7 +625,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -665,7 +634,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.update( @@ -676,7 +644,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.update( @@ -770,7 +737,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.update( @@ -785,7 +751,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.update( @@ -802,7 +767,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -821,7 +785,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.list( @@ -829,7 +792,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.list( @@ -841,7 +803,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncSinglePage[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.list( @@ -855,7 +816,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -863,7 +823,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.delete( @@ -872,7 +831,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.delete( @@ -885,7 +843,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(object, rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.delete( @@ -900,7 +857,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -915,7 +871,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.get( @@ -924,7 +879,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.get( @@ -937,7 +891,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.get( @@ -952,7 +905,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -967,7 +919,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_reset_expiration(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.reset_expiration( @@ -976,7 +927,6 @@ async def test_method_reset_expiration(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_reset_expiration(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.reset_expiration( @@ -989,7 +939,6 @@ async def test_raw_response_reset_expiration(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_reset_expiration(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.reset_expiration( @@ -1004,7 +953,6 @@ async def test_streaming_response_reset_expiration(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_reset_expiration(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/networks/routes/test_networks.py b/tests/api_resources/zero_trust/networks/routes/test_networks.py index 4cccce5cdb8..5f9fb16ca2d 100644 --- a/tests/api_resources/zero_trust/networks/routes/test_networks.py +++ b/tests/api_resources/zero_trust/networks/routes/test_networks.py @@ -17,7 +17,6 @@ class TestNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.create( @@ -69,7 +65,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,7 +81,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: tunnel_id="f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.delete( @@ -95,7 +89,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.delete( @@ -107,7 +100,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.delete( @@ -120,7 +112,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.delete( @@ -135,7 +126,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -150,7 +140,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.edit( @@ -159,7 +148,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.edit( @@ -172,7 +160,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.edit( @@ -187,7 +174,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -206,7 +192,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncNetworks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.create( @@ -216,7 +201,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.create( @@ -228,7 +212,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.networks.with_raw_response.create( @@ -242,7 +225,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.networks.with_streaming_response.create( @@ -258,7 +240,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -275,7 +256,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: tunnel_id="f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.delete( @@ -284,7 +264,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.delete( @@ -296,7 +275,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.networks.with_raw_response.delete( @@ -309,7 +287,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.networks.with_streaming_response.delete( @@ -324,7 +301,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -339,7 +315,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.edit( @@ -348,7 +323,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.networks.with_raw_response.edit( @@ -361,7 +335,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.networks.with_streaming_response.edit( @@ -376,7 +349,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/networks/test_routes.py b/tests/api_resources/zero_trust/networks/test_routes.py index e5fe5606a1d..057766b11b9 100644 --- a/tests/api_resources/zero_trust/networks/test_routes.py +++ b/tests/api_resources/zero_trust/networks/test_routes.py @@ -22,7 +22,6 @@ class TestRoutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.create( @@ -74,7 +70,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -84,7 +79,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: tunnel_id="f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.list( @@ -92,7 +86,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.list( @@ -111,7 +104,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.list( @@ -123,7 +115,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.list( @@ -137,7 +128,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -145,7 +135,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.delete( @@ -154,7 +143,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.delete( @@ -167,7 +155,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.delete( @@ -182,7 +169,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -197,7 +183,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.edit( @@ -206,7 +191,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.edit( @@ -219,7 +203,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.edit( @@ -232,7 +215,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.edit( @@ -247,7 +229,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -262,7 +243,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.get( @@ -271,7 +251,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.get( @@ -284,7 +263,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.get( @@ -299,7 +277,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -318,7 +295,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRoutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.create( @@ -328,7 +304,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.create( @@ -340,7 +315,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.create( @@ -354,7 +328,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.create( @@ -370,7 +343,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -380,7 +352,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: tunnel_id="f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.list( @@ -388,7 +359,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.list( @@ -407,7 +377,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.list( @@ -419,7 +388,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.list( @@ -433,7 +401,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -441,7 +408,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.delete( @@ -450,7 +416,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.delete( @@ -463,7 +428,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.delete( @@ -478,7 +442,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -493,7 +456,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.edit( @@ -502,7 +464,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.edit( @@ -515,7 +476,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.edit( @@ -528,7 +488,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.edit( @@ -543,7 +502,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -558,7 +516,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.get( @@ -567,7 +524,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.get( @@ -580,7 +536,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.get( @@ -595,7 +550,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/networks/test_virtual_networks.py b/tests/api_resources/zero_trust/networks/test_virtual_networks.py index 1ffb9c87738..774feffe37c 100644 --- a/tests/api_resources/zero_trust/networks/test_virtual_networks.py +++ b/tests/api_resources/zero_trust/networks/test_virtual_networks.py @@ -20,7 +20,6 @@ class TestVirtualNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.create( @@ -68,7 +64,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,7 +72,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="us-east-1-vpc", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.list( @@ -85,7 +79,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.list( @@ -97,7 +90,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.list( @@ -109,7 +101,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.list( @@ -123,7 +114,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -131,7 +121,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.delete( @@ -140,7 +129,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.delete( @@ -153,7 +141,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.delete( @@ -168,7 +155,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -183,7 +169,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.edit( @@ -192,7 +177,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.edit( @@ -204,7 +188,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.edit( @@ -217,7 +200,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.edit( @@ -232,7 +214,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -247,7 +228,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.get( @@ -256,7 +236,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.get( @@ -269,7 +248,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.get( @@ -284,7 +262,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -303,7 +280,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVirtualNetworks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.create( @@ -312,7 +288,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.create( @@ -323,7 +298,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.create( @@ -336,7 +310,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.create( @@ -351,7 +324,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -360,7 +332,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="us-east-1-vpc", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.list( @@ -368,7 +339,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.list( @@ -380,7 +350,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.list( @@ -392,7 +361,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(AsyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.list( @@ -406,7 +374,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -414,7 +381,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.delete( @@ -423,7 +389,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.delete( @@ -436,7 +401,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.delete( @@ -451,7 +415,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -466,7 +429,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.edit( @@ -475,7 +437,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.edit( @@ -487,7 +448,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.edit( @@ -500,7 +460,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.edit( @@ -515,7 +474,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -530,7 +488,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.get( @@ -539,7 +496,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.get( @@ -552,7 +508,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetwork, virtual_network, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.get( @@ -567,7 +522,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/organizations/test_doh.py b/tests/api_resources/zero_trust/organizations/test_doh.py index b357f3ffd63..3b0c04a90dc 100644 --- a/tests/api_resources/zero_trust/organizations/test_doh.py +++ b/tests/api_resources/zero_trust/organizations/test_doh.py @@ -17,7 +17,6 @@ class TestDOH: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: doh = client.zero_trust.organizations.doh.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DOHUpdateResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: doh = client.zero_trust.organizations.doh.update( @@ -35,7 +33,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DOHUpdateResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.doh.with_raw_response.update( @@ -47,7 +44,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: doh = response.parse() assert_matches_type(Optional[DOHUpdateResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.organizations.doh.with_streaming_response.update( @@ -61,7 +57,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,7 +64,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: doh = client.zero_trust.organizations.doh.get( @@ -77,7 +71,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DOHGetResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.doh.with_raw_response.get( @@ -89,7 +82,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: doh = response.parse() assert_matches_type(Optional[DOHGetResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.organizations.doh.with_streaming_response.get( @@ -103,7 +95,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -115,7 +106,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDOH: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: doh = await async_client.zero_trust.organizations.doh.update( @@ -123,7 +113,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DOHUpdateResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: doh = await async_client.zero_trust.organizations.doh.update( @@ -133,7 +122,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DOHUpdateResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.organizations.doh.with_raw_response.update( @@ -145,7 +133,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: doh = await response.parse() assert_matches_type(Optional[DOHUpdateResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.organizations.doh.with_streaming_response.update( @@ -159,7 +146,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -167,7 +153,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: doh = await async_client.zero_trust.organizations.doh.get( @@ -175,7 +160,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DOHGetResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.organizations.doh.with_raw_response.get( @@ -187,7 +171,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: doh = await response.parse() assert_matches_type(Optional[DOHGetResponse], doh, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.organizations.doh.with_streaming_response.get( @@ -201,7 +184,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/risk_scoring/integrations/test_references.py b/tests/api_resources/zero_trust/risk_scoring/integrations/test_references.py index 3eb8abd00c9..3e0087721b2 100644 --- a/tests/api_resources/zero_trust/risk_scoring/integrations/test_references.py +++ b/tests/api_resources/zero_trust/risk_scoring/integrations/test_references.py @@ -17,7 +17,6 @@ class TestReferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: reference = client.zero_trust.risk_scoring.integrations.references.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.integrations.references.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: reference = response.parse() assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.integrations.references.with_streaming_response.get( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,7 +69,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReferences: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: reference = await async_client.zero_trust.risk_scoring.integrations.references.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.integrations.references.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: reference = await response.parse() assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.integrations.references.with_streaming_response.get( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py b/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py index 7baacc6b42f..1e3527df1cc 100644 --- a/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py +++ b/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py @@ -20,7 +20,6 @@ class TestBehaviours: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.update( @@ -34,7 +33,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BehaviourUpdateResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.behaviours.with_raw_response.update( @@ -52,7 +50,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: behaviour = response.parse() assert_matches_type(Optional[BehaviourUpdateResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.behaviours.with_streaming_response.update( @@ -72,7 +69,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,7 +82,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.get( @@ -94,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BehaviourGetResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.behaviours.with_raw_response.get( @@ -106,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: behaviour = response.parse() assert_matches_type(Optional[BehaviourGetResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.behaviours.with_streaming_response.get( @@ -120,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -132,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBehaviours: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.update( @@ -146,7 +137,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BehaviourUpdateResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.behaviours.with_raw_response.update( @@ -164,7 +154,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: behaviour = await response.parse() assert_matches_type(Optional[BehaviourUpdateResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.behaviours.with_streaming_response.update( @@ -184,7 +173,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -198,7 +186,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.get( @@ -206,7 +193,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BehaviourGetResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.behaviours.with_raw_response.get( @@ -218,7 +204,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: behaviour = await response.parse() assert_matches_type(Optional[BehaviourGetResponse], behaviour, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.behaviours.with_streaming_response.get( @@ -232,7 +217,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/risk_scoring/test_integrations.py b/tests/api_resources/zero_trust/risk_scoring/test_integrations.py index c9526812337..5ec6ae4e5ba 100644 --- a/tests/api_resources/zero_trust/risk_scoring/test_integrations.py +++ b/tests/api_resources/zero_trust/risk_scoring/test_integrations.py @@ -23,7 +23,6 @@ class TestIntegrations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: integration = client.zero_trust.risk_scoring.integrations.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IntegrationCreateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: integration = client.zero_trust.risk_scoring.integrations.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IntegrationCreateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.integrations.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[IntegrationCreateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.integrations.with_streaming_response.create( @@ -74,7 +70,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -84,7 +79,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: tenant_url="https://example.com", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: integration = client.zero_trust.risk_scoring.integrations.update( @@ -95,7 +89,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IntegrationUpdateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: integration = client.zero_trust.risk_scoring.integrations.update( @@ -107,7 +100,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IntegrationUpdateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.integrations.with_raw_response.update( @@ -122,7 +114,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[IntegrationUpdateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.integrations.with_streaming_response.update( @@ -139,7 +130,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -200,7 +190,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: integration = client.zero_trust.risk_scoring.integrations.delete( @@ -209,7 +198,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.integrations.with_raw_response.delete( @@ -222,7 +210,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(object, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.integrations.with_streaming_response.delete( @@ -237,7 +224,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -252,7 +238,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: integration = client.zero_trust.risk_scoring.integrations.get( @@ -261,7 +246,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IntegrationGetResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.integrations.with_raw_response.get( @@ -274,7 +258,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[IntegrationGetResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.integrations.with_streaming_response.get( @@ -289,7 +272,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -308,7 +290,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIntegrations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.risk_scoring.integrations.create( @@ -318,7 +299,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IntegrationCreateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.risk_scoring.integrations.create( @@ -329,7 +309,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[IntegrationCreateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.integrations.with_raw_response.create( @@ -343,7 +322,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[IntegrationCreateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.integrations.with_streaming_response.create( @@ -359,7 +337,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -369,7 +346,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: tenant_url="https://example.com", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.risk_scoring.integrations.update( @@ -380,7 +356,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IntegrationUpdateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.risk_scoring.integrations.update( @@ -392,7 +367,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[IntegrationUpdateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.integrations.with_raw_response.update( @@ -407,7 +381,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[IntegrationUpdateResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.integrations.with_streaming_response.update( @@ -424,7 +397,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -485,7 +457,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.risk_scoring.integrations.delete( @@ -494,7 +465,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.integrations.with_raw_response.delete( @@ -507,7 +477,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(object, integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.integrations.with_streaming_response.delete( @@ -522,7 +491,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -537,7 +505,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.risk_scoring.integrations.get( @@ -546,7 +513,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IntegrationGetResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.integrations.with_raw_response.get( @@ -559,7 +525,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[IntegrationGetResponse], integration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.integrations.with_streaming_response.get( @@ -574,7 +539,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/risk_scoring/test_summary.py b/tests/api_resources/zero_trust/risk_scoring/test_summary.py index ba40286539b..acf625187e5 100644 --- a/tests/api_resources/zero_trust/risk_scoring/test_summary.py +++ b/tests/api_resources/zero_trust/risk_scoring/test_summary.py @@ -17,7 +17,6 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.zero_trust.risk_scoring.summary.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.summary.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.summary.with_streaming_response.get( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.zero_trust.risk_scoring.summary.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.summary.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.summary.with_streaming_response.get( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_connectivity_settings.py b/tests/api_resources/zero_trust/test_connectivity_settings.py index 52c53237205..310f4319091 100644 --- a/tests/api_resources/zero_trust/test_connectivity_settings.py +++ b/tests/api_resources/zero_trust/test_connectivity_settings.py @@ -20,7 +20,6 @@ class TestConnectivitySettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: connectivity_setting = client.zero_trust.connectivity_settings.edit( @@ -28,7 +27,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: connectivity_setting = client.zero_trust.connectivity_settings.edit( @@ -38,7 +36,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.connectivity_settings.with_raw_response.edit( @@ -50,7 +47,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: connectivity_setting = response.parse() assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.connectivity_settings.with_streaming_response.edit( @@ -64,7 +60,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,7 +67,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: connectivity_setting = client.zero_trust.connectivity_settings.get( @@ -80,7 +74,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.connectivity_settings.with_raw_response.get( @@ -92,7 +85,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connectivity_setting = response.parse() assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.connectivity_settings.with_streaming_response.get( @@ -106,7 +98,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -118,7 +109,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConnectivitySettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await async_client.zero_trust.connectivity_settings.edit( @@ -126,7 +116,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await async_client.zero_trust.connectivity_settings.edit( @@ -136,7 +125,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.connectivity_settings.with_raw_response.edit( @@ -148,7 +136,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await response.parse() assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.connectivity_settings.with_streaming_response.edit( @@ -162,7 +149,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -170,7 +156,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await async_client.zero_trust.connectivity_settings.get( @@ -178,7 +163,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.connectivity_settings.with_raw_response.get( @@ -190,7 +174,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await response.parse() assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.connectivity_settings.with_streaming_response.get( @@ -204,7 +187,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_devices.py b/tests/api_resources/zero_trust/test_devices.py index f4cec30eb05..f814c7c80bc 100644 --- a/tests/api_resources/zero_trust/test_devices.py +++ b/tests/api_resources/zero_trust/test_devices.py @@ -18,7 +18,6 @@ class TestDevices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: device = client.zero_trust.devices.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Device], device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: device = response.parse() assert_matches_type(SyncSinglePage[Device], device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.with_streaming_response.list( @@ -52,7 +49,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -60,7 +56,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: device = client.zero_trust.devices.get( @@ -69,7 +64,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceGetResponse, device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.with_raw_response.get( @@ -82,7 +76,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: device = response.parse() assert_matches_type(DeviceGetResponse, device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.with_streaming_response.get( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -116,7 +108,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDevices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: device = await async_client.zero_trust.devices.list( @@ -124,7 +115,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Device], device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.with_raw_response.list( @@ -136,7 +126,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: device = await response.parse() assert_matches_type(AsyncSinglePage[Device], device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.with_streaming_response.list( @@ -150,7 +139,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -158,7 +146,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: device = await async_client.zero_trust.devices.get( @@ -167,7 +154,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DeviceGetResponse, device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.with_raw_response.get( @@ -180,7 +166,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: device = await response.parse() assert_matches_type(DeviceGetResponse, device, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.with_streaming_response.get( @@ -195,7 +180,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_gateway.py b/tests/api_resources/zero_trust/test_gateway.py index 5519312178d..4f68a4f6c2c 100644 --- a/tests/api_resources/zero_trust/test_gateway.py +++ b/tests/api_resources/zero_trust/test_gateway.py @@ -17,7 +17,6 @@ class TestGateway: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: gateway = client.zero_trust.gateway.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.with_raw_response.create( @@ -37,7 +35,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: gateway = response.parse() assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.with_streaming_response.create( @@ -51,7 +48,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,7 +55,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: gateway = client.zero_trust.gateway.list( @@ -67,7 +62,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.with_raw_response.list( @@ -79,7 +73,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: gateway = response.parse() assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.with_streaming_response.list( @@ -93,7 +86,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -105,7 +97,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncGateway: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: gateway = await async_client.zero_trust.gateway.create( @@ -113,7 +104,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.with_raw_response.create( @@ -125,7 +115,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: gateway = await response.parse() assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.with_streaming_response.create( @@ -139,7 +128,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -147,7 +135,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: gateway = await async_client.zero_trust.gateway.list( @@ -155,7 +142,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.with_raw_response.list( @@ -167,7 +153,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: gateway = await response.parse() assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.with_streaming_response.list( @@ -181,7 +166,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_risk_scoring.py b/tests/api_resources/zero_trust/test_risk_scoring.py index ceaaae578ac..18653b789e8 100644 --- a/tests/api_resources/zero_trust/test_risk_scoring.py +++ b/tests/api_resources/zero_trust/test_risk_scoring.py @@ -17,7 +17,6 @@ class TestRiskScoring: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: risk_scoring = client.zero_trust.risk_scoring.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RiskScoringGetResponse], risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: risk_scoring = response.parse() assert_matches_type(Optional[RiskScoringGetResponse], risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.with_streaming_response.get( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,7 +65,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_reset(self, client: Cloudflare) -> None: risk_scoring = client.zero_trust.risk_scoring.reset( @@ -78,7 +73,6 @@ def test_method_reset(self, client: Cloudflare) -> None: ) assert_matches_type(object, risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_reset(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.with_raw_response.reset( @@ -91,7 +85,6 @@ def test_raw_response_reset(self, client: Cloudflare) -> None: risk_scoring = response.parse() assert_matches_type(object, risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_reset(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.with_streaming_response.reset( @@ -106,7 +99,6 @@ def test_streaming_response_reset(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_reset(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -125,7 +117,6 @@ def test_path_params_reset(self, client: Cloudflare) -> None: class TestAsyncRiskScoring: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.get( @@ -134,7 +125,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RiskScoringGetResponse], risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.with_raw_response.get( @@ -147,7 +137,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: risk_scoring = await response.parse() assert_matches_type(Optional[RiskScoringGetResponse], risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.with_streaming_response.get( @@ -162,7 +151,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -177,7 +165,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="account_id", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_reset(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.reset( @@ -186,7 +173,6 @@ async def test_method_reset(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_reset(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.with_raw_response.reset( @@ -199,7 +185,6 @@ async def test_raw_response_reset(self, async_client: AsyncCloudflare) -> None: risk_scoring = await response.parse() assert_matches_type(object, risk_scoring, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_reset(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.with_streaming_response.reset( @@ -214,7 +199,6 @@ async def test_streaming_response_reset(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_reset(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_tunnels.py b/tests/api_resources/zero_trust/test_tunnels.py index ee3873a1415..688f4266a4f 100644 --- a/tests/api_resources/zero_trust/test_tunnels.py +++ b/tests/api_resources/zero_trust/test_tunnels.py @@ -25,7 +25,6 @@ class TestTunnels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.create( @@ -45,7 +43,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.create( @@ -73,7 +69,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -82,7 +77,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="blog", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.list( @@ -90,7 +84,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.list( @@ -109,7 +102,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.list( @@ -121,7 +113,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.list( @@ -135,7 +126,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -143,7 +133,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.delete( @@ -152,7 +141,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.delete( @@ -165,7 +153,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.delete( @@ -180,7 +167,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,7 +181,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.edit( @@ -204,7 +189,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.edit( @@ -215,7 +199,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.edit( @@ -228,7 +211,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.edit( @@ -243,7 +225,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -258,7 +239,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.get( @@ -267,7 +247,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.get( @@ -280,7 +259,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.get( @@ -295,7 +273,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -314,7 +291,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTunnels: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.create( @@ -323,7 +299,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.create( @@ -334,7 +309,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.create( @@ -347,7 +321,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.create( @@ -362,7 +335,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -371,7 +343,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="blog", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.list( @@ -379,7 +350,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.list( @@ -398,7 +368,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.list( @@ -410,7 +379,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.list( @@ -424,7 +392,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -432,7 +399,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.delete( @@ -441,7 +407,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.delete( @@ -454,7 +419,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.delete( @@ -469,7 +433,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -484,7 +447,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.edit( @@ -493,7 +455,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.edit( @@ -504,7 +465,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.edit( @@ -517,7 +477,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.edit( @@ -532,7 +491,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -547,7 +505,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.get( @@ -556,7 +513,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.get( @@ -569,7 +525,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.get( @@ -584,7 +539,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_configurations.py b/tests/api_resources/zero_trust/tunnels/test_configurations.py index d2a246af162..eb601aa3bbc 100644 --- a/tests/api_resources/zero_trust/tunnels/test_configurations.py +++ b/tests/api_resources/zero_trust/tunnels/test_configurations.py @@ -20,7 +20,6 @@ class TestConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.update( @@ -29,7 +28,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.update( @@ -87,7 +85,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.configurations.with_raw_response.update( @@ -100,7 +97,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.configurations.with_streaming_response.update( @@ -115,7 +111,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -130,7 +125,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.get( @@ -139,7 +133,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.configurations.with_raw_response.get( @@ -152,7 +145,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.configurations.with_streaming_response.get( @@ -167,7 +159,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -186,7 +177,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigurations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.update( @@ -195,7 +185,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.update( @@ -253,7 +242,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.configurations.with_raw_response.update( @@ -266,7 +254,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.configurations.with_streaming_response.update( @@ -281,7 +268,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -296,7 +282,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.get( @@ -305,7 +290,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.configurations.with_raw_response.get( @@ -318,7 +302,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.configurations.with_streaming_response.get( @@ -333,7 +316,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_connections.py b/tests/api_resources/zero_trust/tunnels/test_connections.py index 990e3e48b7b..61fe9b4017a 100644 --- a/tests/api_resources/zero_trust/tunnels/test_connections.py +++ b/tests/api_resources/zero_trust/tunnels/test_connections.py @@ -17,7 +17,6 @@ class TestConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: connection = client.zero_trust.tunnels.connections.delete( @@ -26,7 +25,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: connection = client.zero_trust.tunnels.connections.delete( @@ -36,7 +34,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connections.with_raw_response.delete( @@ -49,7 +46,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(object, connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connections.with_streaming_response.delete( @@ -64,7 +60,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,7 +74,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: connection = client.zero_trust.tunnels.connections.get( @@ -88,7 +82,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connections.with_raw_response.get( @@ -101,7 +94,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connections.with_streaming_response.get( @@ -116,7 +108,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -135,7 +126,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConnections: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: connection = await async_client.zero_trust.tunnels.connections.delete( @@ -144,7 +134,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: connection = await async_client.zero_trust.tunnels.connections.delete( @@ -154,7 +143,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(object, connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connections.with_raw_response.delete( @@ -167,7 +155,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(object, connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connections.with_streaming_response.delete( @@ -182,7 +169,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -197,7 +183,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connection = await async_client.zero_trust.tunnels.connections.get( @@ -206,7 +191,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connections.with_raw_response.get( @@ -219,7 +203,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connections.with_streaming_response.get( @@ -234,7 +217,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_connectors.py b/tests/api_resources/zero_trust/tunnels/test_connectors.py index cbadb9b61c0..639188dd181 100644 --- a/tests/api_resources/zero_trust/tunnels/test_connectors.py +++ b/tests/api_resources/zero_trust/tunnels/test_connectors.py @@ -17,7 +17,6 @@ class TestConnectors: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: connector = client.zero_trust.tunnels.connectors.get( @@ -27,7 +26,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Client, connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connectors.with_raw_response.get( @@ -41,7 +39,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connector = response.parse() assert_matches_type(Client, connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connectors.with_streaming_response.get( @@ -57,7 +54,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -85,7 +81,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConnectors: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connector = await async_client.zero_trust.tunnels.connectors.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Client, connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connectors.with_raw_response.get( @@ -109,7 +103,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connector = await response.parse() assert_matches_type(Client, connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connectors.with_streaming_response.get( @@ -125,7 +118,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_management.py b/tests/api_resources/zero_trust/tunnels/test_management.py index 35bf49722d7..8c1d2934db9 100644 --- a/tests/api_resources/zero_trust/tunnels/test_management.py +++ b/tests/api_resources/zero_trust/tunnels/test_management.py @@ -16,7 +16,6 @@ class TestManagement: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: management = client.zero_trust.tunnels.management.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(str, management, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.management.with_raw_response.create( @@ -40,7 +38,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: management = response.parse() assert_matches_type(str, management, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.management.with_streaming_response.create( @@ -56,7 +53,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,7 +73,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncManagement: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: management = await async_client.zero_trust.tunnels.management.create( @@ -87,7 +82,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, management, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.management.with_raw_response.create( @@ -101,7 +95,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: management = await response.parse() assert_matches_type(str, management, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.management.with_streaming_response.create( @@ -117,7 +110,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_token.py b/tests/api_resources/zero_trust/tunnels/test_token.py index 2edfb9e0d2f..784ce03fe18 100644 --- a/tests/api_resources/zero_trust/tunnels/test_token.py +++ b/tests/api_resources/zero_trust/tunnels/test_token.py @@ -16,7 +16,6 @@ class TestToken: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: token = client.zero_trust.tunnels.token.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.token.with_raw_response.get( @@ -38,7 +36,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(str, token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.token.with_streaming_response.get( @@ -53,7 +50,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,7 +68,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncToken: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: token = await async_client.zero_trust.tunnels.token.get( @@ -81,7 +76,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.token.with_raw_response.get( @@ -94,7 +88,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(str, token, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.token.with_streaming_response.get( @@ -109,7 +102,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_warp_connector.py b/tests/api_resources/zero_trust/tunnels/test_warp_connector.py index 48a898c2e87..05ed298b476 100644 --- a/tests/api_resources/zero_trust/tunnels/test_warp_connector.py +++ b/tests/api_resources/zero_trust/tunnels/test_warp_connector.py @@ -25,7 +25,6 @@ class TestWARPConnector: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.warp_connector.with_raw_response.create( @@ -47,7 +45,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.warp_connector.with_streaming_response.create( @@ -62,7 +59,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -71,7 +67,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="blog", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.list( @@ -79,7 +74,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.list( @@ -98,7 +92,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.warp_connector.with_raw_response.list( @@ -110,7 +103,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(SyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.warp_connector.with_streaming_response.list( @@ -124,7 +116,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -132,7 +123,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.delete( @@ -141,7 +131,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.warp_connector.with_raw_response.delete( @@ -154,7 +143,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.warp_connector.with_streaming_response.delete( @@ -169,7 +157,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -184,7 +171,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.edit( @@ -193,7 +179,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.edit( @@ -204,7 +189,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.warp_connector.with_raw_response.edit( @@ -217,7 +201,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.warp_connector.with_streaming_response.edit( @@ -232,7 +215,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -247,7 +229,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.get( @@ -256,7 +237,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.warp_connector.with_raw_response.get( @@ -269,7 +249,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.warp_connector.with_streaming_response.get( @@ -284,7 +263,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -299,7 +277,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_token(self, client: Cloudflare) -> None: warp_connector = client.zero_trust.tunnels.warp_connector.token( @@ -308,7 +285,6 @@ def test_method_token(self, client: Cloudflare) -> None: ) assert_matches_type(str, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_token(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.warp_connector.with_raw_response.token( @@ -321,7 +297,6 @@ def test_raw_response_token(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(str, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_token(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.warp_connector.with_streaming_response.token( @@ -336,7 +311,6 @@ def test_streaming_response_token(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_token(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -355,7 +329,6 @@ def test_path_params_token(self, client: Cloudflare) -> None: class TestAsyncWARPConnector: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.create( @@ -364,7 +337,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.warp_connector.with_raw_response.create( @@ -377,7 +349,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.warp_connector.with_streaming_response.create( @@ -392,7 +363,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -401,7 +371,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="blog", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.list( @@ -409,7 +378,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.list( @@ -428,7 +396,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.warp_connector.with_raw_response.list( @@ -440,7 +407,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.warp_connector.with_streaming_response.list( @@ -456,7 +422,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -464,7 +429,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.delete( @@ -473,7 +437,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.warp_connector.with_raw_response.delete( @@ -486,7 +449,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.warp_connector.with_streaming_response.delete( @@ -501,7 +463,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -516,7 +477,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.edit( @@ -525,7 +485,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.edit( @@ -536,7 +495,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.warp_connector.with_raw_response.edit( @@ -549,7 +507,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.warp_connector.with_streaming_response.edit( @@ -564,7 +521,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -579,7 +535,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.get( @@ -588,7 +543,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.warp_connector.with_raw_response.get( @@ -601,7 +555,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.warp_connector.with_streaming_response.get( @@ -616,7 +569,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -631,7 +583,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_token(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.zero_trust.tunnels.warp_connector.token( @@ -640,7 +591,6 @@ async def test_method_token(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_token(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.warp_connector.with_raw_response.token( @@ -653,7 +603,6 @@ async def test_raw_response_token(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(str, warp_connector, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_token(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.warp_connector.with_streaming_response.token( @@ -668,7 +617,6 @@ async def test_streaming_response_token(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_token(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zones/test_activation_check.py b/tests/api_resources/zones/test_activation_check.py index 83e60051581..a78a1d1567b 100644 --- a/tests/api_resources/zones/test_activation_check.py +++ b/tests/api_resources/zones/test_activation_check.py @@ -17,7 +17,6 @@ class TestActivationCheck: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_trigger(self, client: Cloudflare) -> None: activation_check = client.zones.activation_check.trigger( @@ -25,7 +24,6 @@ def test_method_trigger(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ActivationCheckTriggerResponse], activation_check, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_trigger(self, client: Cloudflare) -> None: response = client.zones.activation_check.with_raw_response.trigger( @@ -37,7 +35,6 @@ def test_raw_response_trigger(self, client: Cloudflare) -> None: activation_check = response.parse() assert_matches_type(Optional[ActivationCheckTriggerResponse], activation_check, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_trigger(self, client: Cloudflare) -> None: with client.zones.activation_check.with_streaming_response.trigger( @@ -51,7 +48,6 @@ def test_streaming_response_trigger(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_trigger(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_trigger(self, client: Cloudflare) -> None: class TestAsyncActivationCheck: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_trigger(self, async_client: AsyncCloudflare) -> None: activation_check = await async_client.zones.activation_check.trigger( @@ -71,7 +66,6 @@ async def test_method_trigger(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ActivationCheckTriggerResponse], activation_check, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_trigger(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.activation_check.with_raw_response.trigger( @@ -83,7 +77,6 @@ async def test_raw_response_trigger(self, async_client: AsyncCloudflare) -> None activation_check = await response.parse() assert_matches_type(Optional[ActivationCheckTriggerResponse], activation_check, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_trigger(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.activation_check.with_streaming_response.trigger( @@ -97,7 +90,6 @@ async def test_streaming_response_trigger(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_trigger(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_custom_nameservers.py b/tests/api_resources/zones/test_custom_nameservers.py index f7e0ce02516..74a351762c3 100644 --- a/tests/api_resources/zones/test_custom_nameservers.py +++ b/tests/api_resources/zones/test_custom_nameservers.py @@ -20,7 +20,6 @@ class TestCustomNameservers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: custom_nameserver = client.zones.custom_nameservers.update( @@ -28,7 +27,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: custom_nameserver = client.zones.custom_nameservers.update( @@ -38,7 +36,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zones.custom_nameservers.with_raw_response.update( @@ -50,7 +47,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zones.custom_nameservers.with_streaming_response.update( @@ -64,7 +60,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -72,7 +67,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_nameserver = client.zones.custom_nameservers.get( @@ -80,7 +74,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CustomNameserverGetResponse, custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.custom_nameservers.with_raw_response.get( @@ -92,7 +85,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(CustomNameserverGetResponse, custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.custom_nameservers.with_streaming_response.get( @@ -106,7 +98,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -118,7 +109,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomNameservers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.zones.custom_nameservers.update( @@ -126,7 +116,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.zones.custom_nameservers.update( @@ -136,7 +125,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.custom_nameservers.with_raw_response.update( @@ -148,7 +136,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.custom_nameservers.with_streaming_response.update( @@ -162,7 +149,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -170,7 +156,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.zones.custom_nameservers.get( @@ -178,7 +163,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomNameserverGetResponse, custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.custom_nameservers.with_raw_response.get( @@ -190,7 +174,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(CustomNameserverGetResponse, custom_nameserver, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.custom_nameservers.with_streaming_response.get( @@ -204,7 +187,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_holds.py b/tests/api_resources/zones/test_holds.py index 41033415819..c49066aee53 100644 --- a/tests/api_resources/zones/test_holds.py +++ b/tests/api_resources/zones/test_holds.py @@ -17,7 +17,6 @@ class TestHolds: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: hold = client.zones.holds.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: hold = client.zones.holds.create( @@ -34,7 +32,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.holds.with_raw_response.create( @@ -46,7 +43,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: hold = response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.holds.with_streaming_response.create( @@ -60,7 +56,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,7 +63,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: hold = client.zones.holds.delete( @@ -76,7 +70,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: hold = client.zones.holds.delete( @@ -85,7 +78,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zones.holds.with_raw_response.delete( @@ -97,7 +89,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: hold = response.parse() assert_matches_type(Optional[ZoneHold], hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zones.holds.with_streaming_response.delete( @@ -111,7 +102,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -119,7 +109,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: hold = client.zones.holds.get( @@ -127,7 +116,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.holds.with_raw_response.get( @@ -139,7 +127,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hold = response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.holds.with_streaming_response.get( @@ -153,7 +140,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -165,7 +151,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHolds: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.create( @@ -173,7 +158,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.create( @@ -182,7 +166,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.holds.with_raw_response.create( @@ -194,7 +177,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: hold = await response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.holds.with_streaming_response.create( @@ -208,7 +190,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -216,7 +197,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.delete( @@ -224,7 +204,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.delete( @@ -233,7 +212,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.holds.with_raw_response.delete( @@ -245,7 +223,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: hold = await response.parse() assert_matches_type(Optional[ZoneHold], hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.holds.with_streaming_response.delete( @@ -259,7 +236,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -267,7 +243,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.get( @@ -275,7 +250,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.holds.with_raw_response.get( @@ -287,7 +261,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hold = await response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.holds.with_streaming_response.get( @@ -301,7 +274,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_plans.py b/tests/api_resources/zones/test_plans.py index e122c830da9..4cd474090ce 100644 --- a/tests/api_resources/zones/test_plans.py +++ b/tests/api_resources/zones/test_plans.py @@ -18,7 +18,6 @@ class TestPlans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: plan = client.zones.plans.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AvailableRatePlan], plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zones.plans.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: plan = response.parse() assert_matches_type(SyncSinglePage[AvailableRatePlan], plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zones.plans.with_streaming_response.list( @@ -52,7 +49,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -60,7 +56,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: plan = client.zones.plans.get( @@ -69,7 +64,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AvailableRatePlan, plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.plans.with_raw_response.get( @@ -82,7 +76,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: plan = response.parse() assert_matches_type(AvailableRatePlan, plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.plans.with_streaming_response.get( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -116,7 +108,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPlans: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: plan = await async_client.zones.plans.list( @@ -124,7 +115,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AvailableRatePlan], plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.plans.with_raw_response.list( @@ -136,7 +126,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: plan = await response.parse() assert_matches_type(AsyncSinglePage[AvailableRatePlan], plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.plans.with_streaming_response.list( @@ -150,7 +139,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -158,7 +146,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: plan = await async_client.zones.plans.get( @@ -167,7 +154,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AvailableRatePlan, plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.plans.with_raw_response.get( @@ -180,7 +166,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: plan = await response.parse() assert_matches_type(AvailableRatePlan, plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.plans.with_streaming_response.get( @@ -195,7 +180,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_rate_plans.py b/tests/api_resources/zones/test_rate_plans.py index 8e504d2000f..e8324397075 100644 --- a/tests/api_resources/zones/test_rate_plans.py +++ b/tests/api_resources/zones/test_rate_plans.py @@ -17,7 +17,6 @@ class TestRatePlans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: rate_plan = client.zones.rate_plans.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.rate_plans.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rate_plan = response.parse() assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.rate_plans.with_streaming_response.get( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRatePlans: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rate_plan = await async_client.zones.rate_plans.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.rate_plans.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rate_plan = await response.parse() assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.rate_plans.with_streaming_response.get( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_settings.py b/tests/api_resources/zones/test_settings.py index 0d2acd327f6..ed69c0bcb07 100644 --- a/tests/api_resources/zones/test_settings.py +++ b/tests/api_resources/zones/test_settings.py @@ -20,7 +20,6 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_1(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -31,7 +30,6 @@ def test_method_edit_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -46,7 +44,6 @@ def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -63,7 +60,6 @@ def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,7 +78,6 @@ def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_2(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -93,7 +88,6 @@ def test_method_edit_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -108,7 +102,6 @@ def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -125,7 +118,6 @@ def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -144,7 +136,6 @@ def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_3(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -155,7 +146,6 @@ def test_method_edit_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -170,7 +160,6 @@ def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -187,7 +176,6 @@ def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -206,7 +194,6 @@ def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_4(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -217,7 +204,6 @@ def test_method_edit_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -232,7 +218,6 @@ def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -249,7 +234,6 @@ def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -268,7 +252,6 @@ def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_5(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -279,7 +262,6 @@ def test_method_edit_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -294,7 +276,6 @@ def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -311,7 +292,6 @@ def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -330,7 +310,6 @@ def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_6(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -341,7 +320,6 @@ def test_method_edit_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -356,7 +334,6 @@ def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -373,7 +350,6 @@ def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -392,7 +368,6 @@ def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_7(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -403,7 +378,6 @@ def test_method_edit_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -418,7 +392,6 @@ def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -435,7 +408,6 @@ def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -454,7 +426,6 @@ def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: value=0, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_8(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -465,7 +436,6 @@ def test_method_edit_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -480,7 +450,6 @@ def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -497,7 +466,6 @@ def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -516,7 +484,6 @@ def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_9(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -527,7 +494,6 @@ def test_method_edit_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -542,7 +508,6 @@ def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -559,7 +524,6 @@ def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -578,7 +542,6 @@ def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: value="aggressive", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_10(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -589,7 +552,6 @@ def test_method_edit_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -604,7 +566,6 @@ def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -621,7 +582,6 @@ def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -640,7 +600,6 @@ def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: value=300, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_11(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -651,7 +610,6 @@ def test_method_edit_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -666,7 +624,6 @@ def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -683,7 +640,6 @@ def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -702,7 +658,6 @@ def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_12(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -713,7 +668,6 @@ def test_method_edit_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -728,7 +682,6 @@ def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -745,7 +698,6 @@ def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -764,7 +716,6 @@ def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: value="flatten_at_root", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_13(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -775,7 +726,6 @@ def test_method_edit_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -790,7 +740,6 @@ def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -807,7 +756,6 @@ def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -826,7 +774,6 @@ def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_14(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -837,7 +784,6 @@ def test_method_edit_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -852,7 +798,6 @@ def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -869,7 +814,6 @@ def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -888,7 +832,6 @@ def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_15(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -899,7 +842,6 @@ def test_method_edit_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -914,7 +856,6 @@ def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -931,7 +872,6 @@ def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -950,7 +890,6 @@ def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: value=30, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_16(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -961,7 +900,6 @@ def test_method_edit_overload_16(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_16(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -976,7 +914,6 @@ def test_raw_response_edit_overload_16(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_16(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -993,7 +930,6 @@ def test_streaming_response_edit_overload_16(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_16(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1012,7 +948,6 @@ def test_path_params_edit_overload_16(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_17(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1023,7 +958,6 @@ def test_method_edit_overload_17(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_17(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1038,7 +972,6 @@ def test_raw_response_edit_overload_17(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_17(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1055,7 +988,6 @@ def test_streaming_response_edit_overload_17(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_17(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1074,7 +1006,6 @@ def test_path_params_edit_overload_17(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_18(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1085,7 +1016,6 @@ def test_method_edit_overload_18(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_18(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1100,7 +1030,6 @@ def test_raw_response_edit_overload_18(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_18(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1117,7 +1046,6 @@ def test_streaming_response_edit_overload_18(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_18(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1136,7 +1064,6 @@ def test_path_params_edit_overload_18(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_19(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1147,7 +1074,6 @@ def test_method_edit_overload_19(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_19(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1162,7 +1088,6 @@ def test_raw_response_edit_overload_19(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_19(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1179,7 +1104,6 @@ def test_streaming_response_edit_overload_19(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_19(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1198,7 +1122,6 @@ def test_path_params_edit_overload_19(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_20(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1209,7 +1132,6 @@ def test_method_edit_overload_20(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_20(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1224,7 +1146,6 @@ def test_raw_response_edit_overload_20(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_20(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1241,7 +1162,6 @@ def test_streaming_response_edit_overload_20(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_20(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1260,7 +1180,6 @@ def test_path_params_edit_overload_20(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_21(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1271,7 +1190,6 @@ def test_method_edit_overload_21(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_21(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1286,7 +1204,6 @@ def test_raw_response_edit_overload_21(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_21(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1303,7 +1220,6 @@ def test_streaming_response_edit_overload_21(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_21(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1322,7 +1238,6 @@ def test_path_params_edit_overload_21(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_22(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1333,7 +1248,6 @@ def test_method_edit_overload_22(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_22(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1348,7 +1262,6 @@ def test_raw_response_edit_overload_22(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_22(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1365,7 +1278,6 @@ def test_streaming_response_edit_overload_22(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_22(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1384,7 +1296,6 @@ def test_path_params_edit_overload_22(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_23(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1395,7 +1306,6 @@ def test_method_edit_overload_23(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_23(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1410,7 +1320,6 @@ def test_raw_response_edit_overload_23(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_23(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1427,7 +1336,6 @@ def test_streaming_response_edit_overload_23(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_23(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1446,7 +1354,6 @@ def test_path_params_edit_overload_23(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_24(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1457,7 +1364,6 @@ def test_method_edit_overload_24(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_24(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1472,7 +1378,6 @@ def test_raw_response_edit_overload_24(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_24(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1489,7 +1394,6 @@ def test_streaming_response_edit_overload_24(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_24(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1508,7 +1412,6 @@ def test_path_params_edit_overload_24(self, client: Cloudflare) -> None: value=100, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_25(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1519,7 +1422,6 @@ def test_method_edit_overload_25(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_25(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1534,7 +1436,6 @@ def test_raw_response_edit_overload_25(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_25(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1551,7 +1452,6 @@ def test_streaming_response_edit_overload_25(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_25(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1570,7 +1470,6 @@ def test_path_params_edit_overload_25(self, client: Cloudflare) -> None: value="1.0", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_26(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1581,7 +1480,6 @@ def test_method_edit_overload_26(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_26(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1596,7 +1494,6 @@ def test_raw_response_edit_overload_26(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_26(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1613,7 +1510,6 @@ def test_streaming_response_edit_overload_26(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_26(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1632,7 +1528,6 @@ def test_path_params_edit_overload_26(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_27(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1643,7 +1538,6 @@ def test_method_edit_overload_27(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_27(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1654,7 +1548,6 @@ def test_method_edit_with_all_params_overload_27(self, client: Cloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_27(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1669,7 +1562,6 @@ def test_raw_response_edit_overload_27(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_27(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1686,7 +1578,6 @@ def test_streaming_response_edit_overload_27(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_27(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1705,7 +1596,6 @@ def test_path_params_edit_overload_27(self, client: Cloudflare) -> None: value={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_28(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1716,7 +1606,6 @@ def test_method_edit_overload_28(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_28(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1731,7 +1620,6 @@ def test_raw_response_edit_overload_28(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_28(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1748,7 +1636,6 @@ def test_streaming_response_edit_overload_28(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_28(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1767,7 +1654,6 @@ def test_path_params_edit_overload_28(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_29(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1778,7 +1664,6 @@ def test_method_edit_overload_29(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_29(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1793,7 +1678,6 @@ def test_raw_response_edit_overload_29(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_29(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1810,7 +1694,6 @@ def test_streaming_response_edit_overload_29(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_29(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1829,7 +1712,6 @@ def test_path_params_edit_overload_29(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_30(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1840,7 +1722,6 @@ def test_method_edit_overload_30(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_30(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1855,7 +1736,6 @@ def test_raw_response_edit_overload_30(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_30(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1872,7 +1752,6 @@ def test_streaming_response_edit_overload_30(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_30(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1891,7 +1770,6 @@ def test_path_params_edit_overload_30(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_31(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1902,7 +1780,6 @@ def test_method_edit_overload_31(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_31(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1917,7 +1794,6 @@ def test_raw_response_edit_overload_31(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_31(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1934,7 +1810,6 @@ def test_streaming_response_edit_overload_31(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_31(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1953,7 +1828,6 @@ def test_path_params_edit_overload_31(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_32(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -1964,7 +1838,6 @@ def test_method_edit_overload_32(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_32(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -1979,7 +1852,6 @@ def test_raw_response_edit_overload_32(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_32(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -1996,7 +1868,6 @@ def test_streaming_response_edit_overload_32(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_32(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2015,7 +1886,6 @@ def test_path_params_edit_overload_32(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_33(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2026,7 +1896,6 @@ def test_method_edit_overload_33(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_33(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2041,7 +1910,6 @@ def test_raw_response_edit_overload_33(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_33(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2058,7 +1926,6 @@ def test_streaming_response_edit_overload_33(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_33(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2077,7 +1944,6 @@ def test_path_params_edit_overload_33(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_34(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2088,7 +1954,6 @@ def test_method_edit_overload_34(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_34(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2103,7 +1968,6 @@ def test_raw_response_edit_overload_34(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_34(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2120,7 +1984,6 @@ def test_streaming_response_edit_overload_34(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_34(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2139,7 +2002,6 @@ def test_path_params_edit_overload_34(self, client: Cloudflare) -> None: value=0, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_35(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2150,7 +2012,6 @@ def test_method_edit_overload_35(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_35(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2165,7 +2026,6 @@ def test_raw_response_edit_overload_35(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_35(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2182,7 +2042,6 @@ def test_streaming_response_edit_overload_35(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_35(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2201,7 +2060,6 @@ def test_path_params_edit_overload_35(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_36(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2212,7 +2070,6 @@ def test_method_edit_overload_36(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_36(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2227,7 +2084,6 @@ def test_raw_response_edit_overload_36(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_36(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2244,7 +2100,6 @@ def test_streaming_response_edit_overload_36(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_36(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2263,7 +2118,6 @@ def test_path_params_edit_overload_36(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_37(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2274,7 +2128,6 @@ def test_method_edit_overload_37(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_37(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2289,7 +2142,6 @@ def test_raw_response_edit_overload_37(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_37(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2306,7 +2158,6 @@ def test_streaming_response_edit_overload_37(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_37(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2325,7 +2176,6 @@ def test_path_params_edit_overload_37(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_38(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2336,7 +2186,6 @@ def test_method_edit_overload_38(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_38(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2351,7 +2200,6 @@ def test_raw_response_edit_overload_38(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_38(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2368,7 +2216,6 @@ def test_streaming_response_edit_overload_38(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_38(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2387,7 +2234,6 @@ def test_path_params_edit_overload_38(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_39(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2405,7 +2251,6 @@ def test_method_edit_overload_39(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_39(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2427,7 +2272,6 @@ def test_raw_response_edit_overload_39(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_39(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2451,7 +2295,6 @@ def test_streaming_response_edit_overload_39(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_39(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2484,7 +2327,6 @@ def test_path_params_edit_overload_39(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_40(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2495,7 +2337,6 @@ def test_method_edit_overload_40(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_40(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2514,7 +2355,6 @@ def test_method_edit_with_all_params_overload_40(self, client: Cloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_40(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2529,7 +2369,6 @@ def test_raw_response_edit_overload_40(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_40(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2546,7 +2385,6 @@ def test_streaming_response_edit_overload_40(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_40(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2565,7 +2403,6 @@ def test_path_params_edit_overload_40(self, client: Cloudflare) -> None: value={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_41(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2576,7 +2413,6 @@ def test_method_edit_overload_41(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_41(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2591,7 +2427,6 @@ def test_raw_response_edit_overload_41(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_41(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2608,7 +2443,6 @@ def test_streaming_response_edit_overload_41(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_41(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2627,7 +2461,6 @@ def test_path_params_edit_overload_41(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_42(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2638,7 +2471,6 @@ def test_method_edit_overload_42(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_42(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2653,7 +2485,6 @@ def test_raw_response_edit_overload_42(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_42(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2670,7 +2501,6 @@ def test_streaming_response_edit_overload_42(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_42(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2689,7 +2519,6 @@ def test_path_params_edit_overload_42(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_43(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2700,7 +2529,6 @@ def test_method_edit_overload_43(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_43(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2715,7 +2543,6 @@ def test_raw_response_edit_overload_43(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_43(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2732,7 +2559,6 @@ def test_streaming_response_edit_overload_43(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_43(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2751,7 +2577,6 @@ def test_path_params_edit_overload_43(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_44(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2762,7 +2587,6 @@ def test_method_edit_overload_44(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_44(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2777,7 +2601,6 @@ def test_raw_response_edit_overload_44(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_44(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2794,7 +2617,6 @@ def test_streaming_response_edit_overload_44(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_44(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2813,7 +2635,6 @@ def test_path_params_edit_overload_44(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_45(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2824,7 +2645,6 @@ def test_method_edit_overload_45(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_45(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2839,7 +2659,6 @@ def test_raw_response_edit_overload_45(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_45(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2856,7 +2675,6 @@ def test_streaming_response_edit_overload_45(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_45(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2875,7 +2693,6 @@ def test_path_params_edit_overload_45(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_46(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2884,7 +2701,6 @@ def test_method_edit_overload_46(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_46(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2895,7 +2711,6 @@ def test_method_edit_with_all_params_overload_46(self, client: Cloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_46(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2908,7 +2723,6 @@ def test_raw_response_edit_overload_46(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_46(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2923,7 +2737,6 @@ def test_streaming_response_edit_overload_46(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_46(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2938,7 +2751,6 @@ def test_path_params_edit_overload_46(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_47(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -2949,7 +2761,6 @@ def test_method_edit_overload_47(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_47(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -2964,7 +2775,6 @@ def test_raw_response_edit_overload_47(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_47(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -2981,7 +2791,6 @@ def test_streaming_response_edit_overload_47(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_47(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3000,7 +2809,6 @@ def test_path_params_edit_overload_47(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_48(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -3011,7 +2819,6 @@ def test_method_edit_overload_48(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_48(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -3026,7 +2833,6 @@ def test_raw_response_edit_overload_48(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_48(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -3043,7 +2849,6 @@ def test_streaming_response_edit_overload_48(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_48(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3062,7 +2867,6 @@ def test_path_params_edit_overload_48(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_49(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -3073,7 +2877,6 @@ def test_method_edit_overload_49(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_49(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -3088,7 +2891,6 @@ def test_raw_response_edit_overload_49(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_49(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -3105,7 +2907,6 @@ def test_streaming_response_edit_overload_49(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_49(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3124,7 +2925,6 @@ def test_path_params_edit_overload_49(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_50(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -3135,7 +2935,6 @@ def test_method_edit_overload_50(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_50(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -3150,7 +2949,6 @@ def test_raw_response_edit_overload_50(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_50(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -3167,7 +2965,6 @@ def test_streaming_response_edit_overload_50(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_50(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3186,7 +2983,6 @@ def test_path_params_edit_overload_50(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_51(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -3197,7 +2993,6 @@ def test_method_edit_overload_51(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_51(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -3212,7 +3007,6 @@ def test_raw_response_edit_overload_51(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_51(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -3229,7 +3023,6 @@ def test_streaming_response_edit_overload_51(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_51(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3248,7 +3041,6 @@ def test_path_params_edit_overload_51(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_52(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -3259,7 +3051,6 @@ def test_method_edit_overload_52(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_52(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -3274,7 +3065,6 @@ def test_raw_response_edit_overload_52(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_52(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -3291,7 +3081,6 @@ def test_streaming_response_edit_overload_52(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_52(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3310,7 +3099,6 @@ def test_path_params_edit_overload_52(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_53(self, client: Cloudflare) -> None: setting = client.zones.settings.edit( @@ -3321,7 +3109,6 @@ def test_method_edit_overload_53(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_53(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.edit( @@ -3336,7 +3123,6 @@ def test_raw_response_edit_overload_53(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_53(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.edit( @@ -3353,7 +3139,6 @@ def test_streaming_response_edit_overload_53(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_edit_overload_53(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3372,7 +3157,6 @@ def test_path_params_edit_overload_53(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.zones.settings.get( @@ -3381,7 +3165,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.with_raw_response.get( @@ -3394,7 +3177,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.with_streaming_response.get( @@ -3409,7 +3191,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3428,7 +3209,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3439,7 +3219,6 @@ async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3454,7 +3233,6 @@ async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3471,7 +3249,6 @@ async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3490,7 +3267,6 @@ async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3501,7 +3277,6 @@ async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3516,7 +3291,6 @@ async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3533,7 +3307,6 @@ async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3552,7 +3325,6 @@ async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3563,7 +3335,6 @@ async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3578,7 +3349,6 @@ async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3595,7 +3365,6 @@ async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3614,7 +3383,6 @@ async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3625,7 +3393,6 @@ async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3640,7 +3407,6 @@ async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3657,7 +3423,6 @@ async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3676,7 +3441,6 @@ async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3687,7 +3451,6 @@ async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3702,7 +3465,6 @@ async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3719,7 +3481,6 @@ async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3738,7 +3499,6 @@ async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3749,7 +3509,6 @@ async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3764,7 +3523,6 @@ async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3781,7 +3539,6 @@ async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3800,7 +3557,6 @@ async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3811,7 +3567,6 @@ async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3826,7 +3581,6 @@ async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3843,7 +3597,6 @@ async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3862,7 +3615,6 @@ async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) value=0, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3873,7 +3625,6 @@ async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3888,7 +3639,6 @@ async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3905,7 +3655,6 @@ async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3924,7 +3673,6 @@ async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3935,7 +3683,6 @@ async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -3950,7 +3697,6 @@ async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -3967,7 +3713,6 @@ async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3986,7 +3731,6 @@ async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) value="aggressive", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -3997,7 +3741,6 @@ async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4012,7 +3755,6 @@ async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4029,7 +3771,6 @@ async def test_streaming_response_edit_overload_10(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4048,7 +3789,6 @@ async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) value=300, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4059,7 +3799,6 @@ async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4074,7 +3813,6 @@ async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4091,7 +3829,6 @@ async def test_streaming_response_edit_overload_11(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4110,7 +3847,6 @@ async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"], ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4121,7 +3857,6 @@ async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4136,7 +3871,6 @@ async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4153,7 +3887,6 @@ async def test_streaming_response_edit_overload_12(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4172,7 +3905,6 @@ async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) value="flatten_at_root", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4183,7 +3915,6 @@ async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4198,7 +3929,6 @@ async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4215,7 +3945,6 @@ async def test_streaming_response_edit_overload_13(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4234,7 +3963,6 @@ async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4245,7 +3973,6 @@ async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4260,7 +3987,6 @@ async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4277,7 +4003,6 @@ async def test_streaming_response_edit_overload_14(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4296,7 +4021,6 @@ async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4307,7 +4031,6 @@ async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4322,7 +4045,6 @@ async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4339,7 +4061,6 @@ async def test_streaming_response_edit_overload_15(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4358,7 +4079,6 @@ async def test_path_params_edit_overload_15(self, async_client: AsyncCloudflare) value=30, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_16(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4369,7 +4089,6 @@ async def test_method_edit_overload_16(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_16(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4384,7 +4103,6 @@ async def test_raw_response_edit_overload_16(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_16(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4401,7 +4119,6 @@ async def test_streaming_response_edit_overload_16(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_16(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4420,7 +4137,6 @@ async def test_path_params_edit_overload_16(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_17(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4431,7 +4147,6 @@ async def test_method_edit_overload_17(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_17(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4446,7 +4161,6 @@ async def test_raw_response_edit_overload_17(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_17(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4463,7 +4177,6 @@ async def test_streaming_response_edit_overload_17(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_17(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4482,7 +4195,6 @@ async def test_path_params_edit_overload_17(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_18(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4493,7 +4205,6 @@ async def test_method_edit_overload_18(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_18(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4508,7 +4219,6 @@ async def test_raw_response_edit_overload_18(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_18(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4525,7 +4235,6 @@ async def test_streaming_response_edit_overload_18(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_18(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4544,7 +4253,6 @@ async def test_path_params_edit_overload_18(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_19(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4555,7 +4263,6 @@ async def test_method_edit_overload_19(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_19(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4570,7 +4277,6 @@ async def test_raw_response_edit_overload_19(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_19(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4587,7 +4293,6 @@ async def test_streaming_response_edit_overload_19(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_19(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4606,7 +4311,6 @@ async def test_path_params_edit_overload_19(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_20(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4617,7 +4321,6 @@ async def test_method_edit_overload_20(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_20(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4632,7 +4335,6 @@ async def test_raw_response_edit_overload_20(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_20(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4649,7 +4351,6 @@ async def test_streaming_response_edit_overload_20(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_20(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4668,7 +4369,6 @@ async def test_path_params_edit_overload_20(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_21(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4679,7 +4379,6 @@ async def test_method_edit_overload_21(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_21(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4694,7 +4393,6 @@ async def test_raw_response_edit_overload_21(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_21(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4711,7 +4409,6 @@ async def test_streaming_response_edit_overload_21(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_21(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4730,7 +4427,6 @@ async def test_path_params_edit_overload_21(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_22(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4741,7 +4437,6 @@ async def test_method_edit_overload_22(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_22(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4756,7 +4451,6 @@ async def test_raw_response_edit_overload_22(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_22(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4773,7 +4467,6 @@ async def test_streaming_response_edit_overload_22(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_22(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4792,7 +4485,6 @@ async def test_path_params_edit_overload_22(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_23(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4803,7 +4495,6 @@ async def test_method_edit_overload_23(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_23(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4818,7 +4509,6 @@ async def test_raw_response_edit_overload_23(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_23(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4835,7 +4525,6 @@ async def test_streaming_response_edit_overload_23(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_23(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4854,7 +4543,6 @@ async def test_path_params_edit_overload_23(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_24(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4865,7 +4553,6 @@ async def test_method_edit_overload_24(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_24(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4880,7 +4567,6 @@ async def test_raw_response_edit_overload_24(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_24(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4897,7 +4583,6 @@ async def test_streaming_response_edit_overload_24(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_24(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4916,7 +4601,6 @@ async def test_path_params_edit_overload_24(self, async_client: AsyncCloudflare) value=100, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_25(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4927,7 +4611,6 @@ async def test_method_edit_overload_25(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_25(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -4942,7 +4625,6 @@ async def test_raw_response_edit_overload_25(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_25(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -4959,7 +4641,6 @@ async def test_streaming_response_edit_overload_25(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_25(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4978,7 +4659,6 @@ async def test_path_params_edit_overload_25(self, async_client: AsyncCloudflare) value="1.0", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_26(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -4989,7 +4669,6 @@ async def test_method_edit_overload_26(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_26(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5004,7 +4683,6 @@ async def test_raw_response_edit_overload_26(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_26(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5021,7 +4699,6 @@ async def test_streaming_response_edit_overload_26(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_26(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5040,7 +4717,6 @@ async def test_path_params_edit_overload_26(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_27(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5051,7 +4727,6 @@ async def test_method_edit_overload_27(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_27(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5062,7 +4737,6 @@ async def test_method_edit_with_all_params_overload_27(self, async_client: Async ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_27(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5077,7 +4751,6 @@ async def test_raw_response_edit_overload_27(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_27(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5094,7 +4767,6 @@ async def test_streaming_response_edit_overload_27(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_27(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5113,7 +4785,6 @@ async def test_path_params_edit_overload_27(self, async_client: AsyncCloudflare) value={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_28(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5124,7 +4795,6 @@ async def test_method_edit_overload_28(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_28(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5139,7 +4809,6 @@ async def test_raw_response_edit_overload_28(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_28(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5156,7 +4825,6 @@ async def test_streaming_response_edit_overload_28(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_28(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5175,7 +4843,6 @@ async def test_path_params_edit_overload_28(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_29(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5186,7 +4853,6 @@ async def test_method_edit_overload_29(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_29(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5201,7 +4867,6 @@ async def test_raw_response_edit_overload_29(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_29(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5218,7 +4883,6 @@ async def test_streaming_response_edit_overload_29(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_29(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5237,7 +4901,6 @@ async def test_path_params_edit_overload_29(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_30(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5248,7 +4911,6 @@ async def test_method_edit_overload_30(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_30(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5263,7 +4925,6 @@ async def test_raw_response_edit_overload_30(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_30(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5280,7 +4941,6 @@ async def test_streaming_response_edit_overload_30(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_30(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5299,7 +4959,6 @@ async def test_path_params_edit_overload_30(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_31(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5310,7 +4969,6 @@ async def test_method_edit_overload_31(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_31(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5325,7 +4983,6 @@ async def test_raw_response_edit_overload_31(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_31(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5342,7 +4999,6 @@ async def test_streaming_response_edit_overload_31(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_31(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5361,7 +5017,6 @@ async def test_path_params_edit_overload_31(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_32(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5372,7 +5027,6 @@ async def test_method_edit_overload_32(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_32(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5387,7 +5041,6 @@ async def test_raw_response_edit_overload_32(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_32(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5404,7 +5057,6 @@ async def test_streaming_response_edit_overload_32(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_32(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5423,7 +5075,6 @@ async def test_path_params_edit_overload_32(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_33(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5434,7 +5085,6 @@ async def test_method_edit_overload_33(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_33(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5449,7 +5099,6 @@ async def test_raw_response_edit_overload_33(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_33(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5466,7 +5115,6 @@ async def test_streaming_response_edit_overload_33(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_33(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5485,7 +5133,6 @@ async def test_path_params_edit_overload_33(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_34(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5496,7 +5143,6 @@ async def test_method_edit_overload_34(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_34(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5511,7 +5157,6 @@ async def test_raw_response_edit_overload_34(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_34(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5528,7 +5173,6 @@ async def test_streaming_response_edit_overload_34(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_34(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5547,7 +5191,6 @@ async def test_path_params_edit_overload_34(self, async_client: AsyncCloudflare) value=0, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_35(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5558,7 +5201,6 @@ async def test_method_edit_overload_35(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_35(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5573,7 +5215,6 @@ async def test_raw_response_edit_overload_35(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_35(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5590,7 +5231,6 @@ async def test_streaming_response_edit_overload_35(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_35(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5609,7 +5249,6 @@ async def test_path_params_edit_overload_35(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_36(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5620,7 +5259,6 @@ async def test_method_edit_overload_36(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_36(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5635,7 +5273,6 @@ async def test_raw_response_edit_overload_36(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_36(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5652,7 +5289,6 @@ async def test_streaming_response_edit_overload_36(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_36(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5671,7 +5307,6 @@ async def test_path_params_edit_overload_36(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_37(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5682,7 +5317,6 @@ async def test_method_edit_overload_37(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_37(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5697,7 +5331,6 @@ async def test_raw_response_edit_overload_37(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_37(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5714,7 +5347,6 @@ async def test_streaming_response_edit_overload_37(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_37(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5733,7 +5365,6 @@ async def test_path_params_edit_overload_37(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_38(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5744,7 +5375,6 @@ async def test_method_edit_overload_38(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_38(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5759,7 +5389,6 @@ async def test_raw_response_edit_overload_38(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_38(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5776,7 +5405,6 @@ async def test_streaming_response_edit_overload_38(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_38(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5795,7 +5423,6 @@ async def test_path_params_edit_overload_38(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_39(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5813,7 +5440,6 @@ async def test_method_edit_overload_39(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_39(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5835,7 +5461,6 @@ async def test_raw_response_edit_overload_39(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_39(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5859,7 +5484,6 @@ async def test_streaming_response_edit_overload_39(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_39(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5892,7 +5516,6 @@ async def test_path_params_edit_overload_39(self, async_client: AsyncCloudflare) }, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_40(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5903,7 +5526,6 @@ async def test_method_edit_overload_40(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_40(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5922,7 +5544,6 @@ async def test_method_edit_with_all_params_overload_40(self, async_client: Async ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_40(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5937,7 +5558,6 @@ async def test_raw_response_edit_overload_40(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_40(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -5954,7 +5574,6 @@ async def test_streaming_response_edit_overload_40(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_40(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5973,7 +5592,6 @@ async def test_path_params_edit_overload_40(self, async_client: AsyncCloudflare) value={}, ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_41(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -5984,7 +5602,6 @@ async def test_method_edit_overload_41(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_41(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -5999,7 +5616,6 @@ async def test_raw_response_edit_overload_41(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_41(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6016,7 +5632,6 @@ async def test_streaming_response_edit_overload_41(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_41(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6035,7 +5650,6 @@ async def test_path_params_edit_overload_41(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_42(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6046,7 +5660,6 @@ async def test_method_edit_overload_42(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_42(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6061,7 +5674,6 @@ async def test_raw_response_edit_overload_42(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_42(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6078,7 +5690,6 @@ async def test_streaming_response_edit_overload_42(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_42(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6097,7 +5708,6 @@ async def test_path_params_edit_overload_42(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_43(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6108,7 +5718,6 @@ async def test_method_edit_overload_43(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_43(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6123,7 +5732,6 @@ async def test_raw_response_edit_overload_43(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_43(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6140,7 +5748,6 @@ async def test_streaming_response_edit_overload_43(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_43(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6159,7 +5766,6 @@ async def test_path_params_edit_overload_43(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_44(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6170,7 +5776,6 @@ async def test_method_edit_overload_44(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_44(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6185,7 +5790,6 @@ async def test_raw_response_edit_overload_44(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_44(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6202,7 +5806,6 @@ async def test_streaming_response_edit_overload_44(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_44(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6221,7 +5824,6 @@ async def test_path_params_edit_overload_44(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_45(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6232,7 +5834,6 @@ async def test_method_edit_overload_45(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_45(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6247,7 +5848,6 @@ async def test_raw_response_edit_overload_45(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_45(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6264,7 +5864,6 @@ async def test_streaming_response_edit_overload_45(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_45(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6283,7 +5882,6 @@ async def test_path_params_edit_overload_45(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_46(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6292,7 +5890,6 @@ async def test_method_edit_overload_46(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_46(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6303,7 +5900,6 @@ async def test_method_edit_with_all_params_overload_46(self, async_client: Async ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_46(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6316,7 +5912,6 @@ async def test_raw_response_edit_overload_46(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_46(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6331,7 +5926,6 @@ async def test_streaming_response_edit_overload_46(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_46(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6346,7 +5940,6 @@ async def test_path_params_edit_overload_46(self, async_client: AsyncCloudflare) zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_47(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6357,7 +5950,6 @@ async def test_method_edit_overload_47(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_47(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6372,7 +5964,6 @@ async def test_raw_response_edit_overload_47(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_47(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6389,7 +5980,6 @@ async def test_streaming_response_edit_overload_47(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_47(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6408,7 +5998,6 @@ async def test_path_params_edit_overload_47(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_48(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6419,7 +6008,6 @@ async def test_method_edit_overload_48(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_48(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6434,7 +6022,6 @@ async def test_raw_response_edit_overload_48(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_48(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6451,7 +6038,6 @@ async def test_streaming_response_edit_overload_48(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_48(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6470,7 +6056,6 @@ async def test_path_params_edit_overload_48(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_49(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6481,7 +6066,6 @@ async def test_method_edit_overload_49(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_49(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6496,7 +6080,6 @@ async def test_raw_response_edit_overload_49(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_49(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6513,7 +6096,6 @@ async def test_streaming_response_edit_overload_49(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_49(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6532,7 +6114,6 @@ async def test_path_params_edit_overload_49(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_50(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6543,7 +6124,6 @@ async def test_method_edit_overload_50(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_50(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6558,7 +6138,6 @@ async def test_raw_response_edit_overload_50(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_50(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6575,7 +6154,6 @@ async def test_streaming_response_edit_overload_50(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_50(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6594,7 +6172,6 @@ async def test_path_params_edit_overload_50(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_51(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6605,7 +6182,6 @@ async def test_method_edit_overload_51(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_51(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6620,7 +6196,6 @@ async def test_raw_response_edit_overload_51(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_51(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6637,7 +6212,6 @@ async def test_streaming_response_edit_overload_51(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_51(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6656,7 +6230,6 @@ async def test_path_params_edit_overload_51(self, async_client: AsyncCloudflare) value="on", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_52(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6667,7 +6240,6 @@ async def test_method_edit_overload_52(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_52(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6682,7 +6254,6 @@ async def test_raw_response_edit_overload_52(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_52(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6699,7 +6270,6 @@ async def test_streaming_response_edit_overload_52(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_52(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6718,7 +6288,6 @@ async def test_path_params_edit_overload_52(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_53(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.edit( @@ -6729,7 +6298,6 @@ async def test_method_edit_overload_53(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit_overload_53(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.edit( @@ -6744,7 +6312,6 @@ async def test_raw_response_edit_overload_53(self, async_client: AsyncCloudflare setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit_overload_53(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.edit( @@ -6761,7 +6328,6 @@ async def test_streaming_response_edit_overload_53(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_edit_overload_53(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6780,7 +6346,6 @@ async def test_path_params_edit_overload_53(self, async_client: AsyncCloudflare) value="off", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zones.settings.get( @@ -6789,7 +6354,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.with_raw_response.get( @@ -6802,7 +6366,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.with_streaming_response.get( @@ -6817,7 +6380,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_subscriptions.py b/tests/api_resources/zones/test_subscriptions.py index 734ef35ea18..50ec1c1e952 100644 --- a/tests/api_resources/zones/test_subscriptions.py +++ b/tests/api_resources/zones/test_subscriptions.py @@ -21,7 +21,6 @@ class TestSubscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.create( @@ -47,7 +45,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.create( @@ -59,7 +56,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.create( @@ -73,7 +69,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -81,7 +76,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: identifier="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.update( @@ -89,7 +83,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.update( @@ -107,7 +100,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.update( @@ -119,7 +111,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.update( @@ -133,7 +124,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -141,7 +131,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: identifier="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.get( @@ -149,7 +138,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.get( @@ -161,7 +149,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.get( @@ -175,7 +162,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -187,7 +173,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSubscriptions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.create( @@ -195,7 +180,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.create( @@ -213,7 +197,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.create( @@ -225,7 +208,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.create( @@ -239,7 +221,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -247,7 +228,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: identifier="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.update( @@ -255,7 +235,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.update( @@ -273,7 +252,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.update( @@ -285,7 +263,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.update( @@ -299,7 +276,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -307,7 +283,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: identifier="", ) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.get( @@ -315,7 +290,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.get( @@ -327,7 +301,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.get( @@ -341,7 +314,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):