diff --git a/tests/api_resources/accounts/test_members.py b/tests/api_resources/accounts/test_members.py index cda646bd98a..4b8885d1efd 100644 --- a/tests/api_resources/accounts/test_members.py +++ b/tests/api_resources/accounts/test_members.py @@ -23,7 +23,6 @@ class TestMembers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: member = client.accounts.members.create( @@ -37,7 +36,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(UserWithInviteCode, member, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: member = client.accounts.members.create( @@ -52,7 +50,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(UserWithInviteCode, member, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.create( @@ -70,7 +67,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(UserWithInviteCode, member, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.create( @@ -90,7 +86,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: member = client.accounts.members.update( @@ -118,7 +113,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.update( @@ -136,7 +131,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.update( @@ -156,7 +151,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -181,7 +176,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: member = client.accounts.members.list( @@ -189,7 +183,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: member = client.accounts.members.list( @@ -202,7 +195,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.list( @@ -214,7 +206,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.list( @@ -228,7 +219,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -236,7 +226,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: member = client.accounts.members.delete( @@ -245,7 +234,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.delete( @@ -258,7 +246,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.delete( @@ -273,7 +260,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -288,7 +274,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: member = client.accounts.members.get( @@ -297,7 +282,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.get( @@ -310,7 +294,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.get( @@ -325,7 +308,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -344,7 +326,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMembers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.create( @@ -358,7 +339,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UserWithInviteCode, member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.create( @@ -373,7 +353,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(UserWithInviteCode, member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.create( @@ -391,7 +370,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(UserWithInviteCode, member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.create( @@ -411,7 +389,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -425,7 +402,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.update( @@ -439,7 +416,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.update( @@ -457,7 +434,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.update( @@ -477,7 +454,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -502,7 +479,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.list( @@ -510,7 +486,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.list( @@ -523,7 +498,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.list( @@ -535,7 +509,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.list( @@ -549,7 +522,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -557,7 +529,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.delete( @@ -566,7 +537,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.delete( @@ -579,7 +549,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.delete( @@ -594,7 +563,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -609,7 +577,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.get( @@ -618,7 +585,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.get( @@ -631,7 +597,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(Member, member, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.get( @@ -646,7 +611,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/accounts/test_roles.py b/tests/api_resources/accounts/test_roles.py index ba70f2c20fb..8da99847106 100644 --- a/tests/api_resources/accounts/test_roles.py +++ b/tests/api_resources/accounts/test_roles.py @@ -19,7 +19,6 @@ class TestRoles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: role = client.accounts.roles.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Role], role, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.accounts.roles.with_raw_response.list( @@ -39,7 +37,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: role = response.parse() assert_matches_type(SyncSinglePage[Role], role, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.accounts.roles.with_streaming_response.list( @@ -53,7 +50,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -61,7 +57,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: role = client.accounts.roles.get( @@ -70,7 +65,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RoleGetResponse, role, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.accounts.roles.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: role = response.parse() assert_matches_type(RoleGetResponse, role, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.accounts.roles.with_streaming_response.get( @@ -98,7 +91,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -111,7 +103,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRoles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: role = await async_client.accounts.roles.list( @@ -119,7 +110,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Role], role, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.roles.with_raw_response.list( @@ -131,7 +121,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: role = await response.parse() assert_matches_type(AsyncSinglePage[Role], role, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.roles.with_streaming_response.list( @@ -145,7 +134,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -153,7 +141,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: role = await async_client.accounts.roles.get( @@ -162,7 +149,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RoleGetResponse, role, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.roles.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: role = await response.parse() assert_matches_type(RoleGetResponse, role, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.roles.with_streaming_response.get( @@ -190,7 +175,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/acm/test_total_tls.py b/tests/api_resources/acm/test_total_tls.py index 1f0db8a87a6..7660fe8b525 100644 --- a/tests/api_resources/acm/test_total_tls.py +++ b/tests/api_resources/acm/test_total_tls.py @@ -17,7 +17,6 @@ class TestTotalTLS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: total_tls = client.acm.total_tls.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: total_tls = client.acm.total_tls.create( @@ -36,7 +34,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.acm.total_tls.with_raw_response.create( @@ -49,7 +46,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: total_tls = response.parse() assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.acm.total_tls.with_streaming_response.create( @@ -64,7 +60,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -73,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: enabled=True, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: total_tls = client.acm.total_tls.get( @@ -81,7 +75,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.acm.total_tls.with_raw_response.get( @@ -93,7 +86,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: total_tls = response.parse() assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.acm.total_tls.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() @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 ''"): @@ -119,7 +110,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTotalTLS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: total_tls = await async_client.acm.total_tls.create( @@ -128,7 +118,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: total_tls = await async_client.acm.total_tls.create( @@ -138,7 +127,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.acm.total_tls.with_raw_response.create( @@ -151,7 +139,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: total_tls = await response.parse() assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.acm.total_tls.with_streaming_response.create( @@ -166,7 +153,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -175,7 +161,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: enabled=True, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: total_tls = await async_client.acm.total_tls.get( @@ -183,7 +168,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.acm.total_tls.with_raw_response.get( @@ -195,7 +179,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: total_tls = await response.parse() assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.acm.total_tls.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() @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/addressing/address_maps/test_accounts.py b/tests/api_resources/addressing/address_maps/test_accounts.py index ce05dd86140..048fa6d00a5 100644 --- a/tests/api_resources/addressing/address_maps/test_accounts.py +++ b/tests/api_resources/addressing/address_maps/test_accounts.py @@ -17,7 +17,6 @@ class TestAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: account = client.addressing.address_maps.accounts.update( @@ -27,7 +26,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.addressing.address_maps.accounts.with_raw_response.update( @@ -41,7 +39,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.addressing.address_maps.accounts.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() @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 ''"): @@ -74,7 +70,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: account = client.addressing.address_maps.accounts.delete( @@ -83,7 +78,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.accounts.with_raw_response.delete( @@ -96,7 +90,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.accounts.with_streaming_response.delete( @@ -111,7 +104,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +122,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncAccounts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: account = await async_client.addressing.address_maps.accounts.update( @@ -140,7 +131,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.accounts.with_raw_response.update( @@ -154,7 +144,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.accounts.with_streaming_response.update( @@ -170,7 +159,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -187,7 +175,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: account = await async_client.addressing.address_maps.accounts.delete( @@ -196,7 +183,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.accounts.with_raw_response.delete( @@ -209,7 +195,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.accounts.with_streaming_response.delete( @@ -224,7 +209,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/addressing/address_maps/test_ips.py b/tests/api_resources/addressing/address_maps/test_ips.py index 678a00fed80..418da599930 100644 --- a/tests/api_resources/addressing/address_maps/test_ips.py +++ b/tests/api_resources/addressing/address_maps/test_ips.py @@ -17,7 +17,6 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: ip = client.addressing.address_maps.ips.update( @@ -28,7 +27,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.addressing.address_maps.ips.with_raw_response.update( @@ -43,7 +41,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.addressing.address_maps.ips.with_streaming_response.update( @@ -60,7 +57,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +83,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ip = client.addressing.address_maps.ips.delete( @@ -97,7 +92,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.ips.with_raw_response.delete( @@ -111,7 +105,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.ips.with_streaming_response.delete( @@ -127,7 +120,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +147,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ip = await async_client.addressing.address_maps.ips.update( @@ -166,7 +157,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.ips.with_raw_response.update( @@ -181,7 +171,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.ips.with_streaming_response.update( @@ -198,7 +187,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -225,7 +213,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ip = await async_client.addressing.address_maps.ips.delete( @@ -235,7 +222,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.ips.with_raw_response.delete( @@ -249,7 +235,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.ips.with_streaming_response.delete( @@ -265,7 +250,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/addressing/address_maps/test_zones.py b/tests/api_resources/addressing/address_maps/test_zones.py index 219815dc6b6..2eb4c69d4b1 100644 --- a/tests/api_resources/addressing/address_maps/test_zones.py +++ b/tests/api_resources/addressing/address_maps/test_zones.py @@ -17,7 +17,6 @@ class TestZones: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: zone = client.addressing.address_maps.zones.update( @@ -28,7 +27,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.addressing.address_maps.zones.with_raw_response.update( @@ -43,7 +41,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.addressing.address_maps.zones.with_streaming_response.update( @@ -60,7 +57,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +83,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: zone = client.addressing.address_maps.zones.delete( @@ -97,7 +92,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.zones.with_raw_response.delete( @@ -111,7 +105,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.zones.with_streaming_response.delete( @@ -127,7 +120,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +147,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncZones: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: zone = await async_client.addressing.address_maps.zones.update( @@ -166,7 +157,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.zones.with_raw_response.update( @@ -181,7 +171,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.zones.with_streaming_response.update( @@ -198,7 +187,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -225,7 +213,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: zone = await async_client.addressing.address_maps.zones.delete( @@ -235,7 +222,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.zones.with_raw_response.delete( @@ -249,7 +235,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.zones.with_streaming_response.delete( @@ -265,7 +250,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/addressing/loa_documents/test_downloads.py b/tests/api_resources/addressing/loa_documents/test_downloads.py index aa02e80594c..db82ee230fa 100644 --- a/tests/api_resources/addressing/loa_documents/test_downloads.py +++ b/tests/api_resources/addressing/loa_documents/test_downloads.py @@ -16,7 +16,6 @@ class TestDownloads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: download = client.addressing.loa_documents.downloads.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(object, download, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.loa_documents.downloads.with_raw_response.get( @@ -38,7 +36,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(object, download, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.loa_documents.downloads.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() @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 TestAsyncDownloads: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: download = await async_client.addressing.loa_documents.downloads.get( @@ -81,7 +76,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.loa_documents.downloads.with_raw_response.get( @@ -94,7 +88,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(object, download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.loa_documents.downloads.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() @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/addressing/prefixes/bgp/test_bindings.py b/tests/api_resources/addressing/prefixes/bgp/test_bindings.py index 857b59c2c6b..00ba32f6d14 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_bindings.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_bindings.py @@ -18,7 +18,6 @@ class TestBindings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.create( @@ -66,7 +62,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -81,7 +76,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.list( @@ -90,7 +84,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.list( @@ -103,7 +96,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(SyncSinglePage[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.list( @@ -118,7 +110,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.delete( @@ -143,7 +133,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(BindingDeleteResponse, binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.delete( @@ -157,7 +146,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(BindingDeleteResponse, binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.delete( @@ -173,7 +161,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +184,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.get( @@ -207,7 +193,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.get( @@ -221,7 +206,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.get( @@ -237,7 +221,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -265,7 +248,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBindings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.create( @@ -274,7 +256,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.create( @@ -285,7 +266,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.create( @@ -298,7 +278,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.create( @@ -313,7 +292,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -328,7 +306,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.list( @@ -337,7 +314,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.list( @@ -350,7 +326,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(AsyncSinglePage[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.list( @@ -365,7 +340,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -380,7 +354,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.delete( @@ -390,7 +363,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BindingDeleteResponse, binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.delete( @@ -404,7 +376,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(BindingDeleteResponse, binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.delete( @@ -420,7 +391,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -444,7 +414,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.get( @@ -454,7 +423,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.get( @@ -468,7 +436,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(Optional[ServiceBinding], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.get( @@ -484,7 +451,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/addressing/prefixes/bgp/test_prefixes.py b/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py index a1f54805881..26c21604b3d 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py @@ -18,7 +18,6 @@ class TestPrefixes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.prefixes.with_raw_response.list( @@ -40,7 +38,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(SyncSinglePage[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.prefixes.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() @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() @parametrize def test_method_edit(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.edit( @@ -80,7 +75,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.edit( @@ -91,7 +85,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.prefixes.with_raw_response.edit( @@ -105,7 +98,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.prefixes.with_streaming_response.edit( @@ -121,7 +113,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -145,7 +136,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.get( @@ -155,7 +145,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.prefixes.with_raw_response.get( @@ -169,7 +158,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.prefixes.with_streaming_response.get( @@ -185,7 +173,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -213,7 +200,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPrefixes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.list( @@ -222,7 +208,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.prefixes.with_raw_response.list( @@ -235,7 +220,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(AsyncSinglePage[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.prefixes.with_streaming_response.list( @@ -250,7 +234,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -265,7 +248,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.edit( @@ -275,7 +257,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.edit( @@ -286,7 +267,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.prefixes.with_raw_response.edit( @@ -300,7 +280,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.prefixes.with_streaming_response.edit( @@ -316,7 +295,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -340,7 +318,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.get( @@ -350,7 +327,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.prefixes.with_raw_response.get( @@ -364,7 +340,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Optional[BGPPrefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.prefixes.with_streaming_response.get( @@ -380,7 +355,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/addressing/prefixes/bgp/test_statuses.py b/tests/api_resources/addressing/prefixes/bgp/test_statuses.py index 064d464963c..50503a8f33f 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_statuses.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_statuses.py @@ -17,7 +17,6 @@ class TestStatuses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: status = client.addressing.prefixes.bgp.statuses.edit( @@ -27,7 +26,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[StatusEditResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.statuses.with_raw_response.edit( @@ -41,7 +39,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(Optional[StatusEditResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.statuses.with_streaming_response.edit( @@ -57,7 +54,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -74,7 +70,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: advertised=True, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: status = client.addressing.prefixes.bgp.statuses.get( @@ -83,7 +78,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[StatusGetResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.statuses.with_raw_response.get( @@ -96,7 +90,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(Optional[StatusGetResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.statuses.with_streaming_response.get( @@ -111,7 +104,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +122,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStatuses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: status = await async_client.addressing.prefixes.bgp.statuses.edit( @@ -140,7 +131,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[StatusEditResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.statuses.with_raw_response.edit( @@ -154,7 +144,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(Optional[StatusEditResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.statuses.with_streaming_response.edit( @@ -170,7 +159,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -187,7 +175,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: advertised=True, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: status = await async_client.addressing.prefixes.bgp.statuses.get( @@ -196,7 +183,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[StatusGetResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.statuses.with_raw_response.get( @@ -209,7 +195,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(Optional[StatusGetResponse], status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.statuses.with_streaming_response.get( @@ -224,7 +209,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/addressing/prefixes/test_delegations.py b/tests/api_resources/addressing/prefixes/test_delegations.py index 6e8c0a180ae..0ee088ab967 100644 --- a/tests/api_resources/addressing/prefixes/test_delegations.py +++ b/tests/api_resources/addressing/prefixes/test_delegations.py @@ -18,7 +18,6 @@ class TestDelegations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: delegation = client.addressing.prefixes.delegations.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.prefixes.delegations.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: delegation = response.parse() assert_matches_type(Optional[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.prefixes.delegations.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() @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 ''"): @@ -80,7 +76,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: delegated_account_id="b1946ac92492d2347c6235b4d2611184", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: delegation = client.addressing.prefixes.delegations.list( @@ -89,7 +84,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.delegations.with_raw_response.list( @@ -102,7 +96,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: delegation = response.parse() assert_matches_type(SyncSinglePage[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.delegations.with_streaming_response.list( @@ -117,7 +110,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +124,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: delegation = client.addressing.prefixes.delegations.delete( @@ -142,7 +133,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DelegationDeleteResponse], delegation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.prefixes.delegations.with_raw_response.delete( @@ -156,7 +146,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: delegation = response.parse() assert_matches_type(Optional[DelegationDeleteResponse], delegation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.prefixes.delegations.with_streaming_response.delete( @@ -172,7 +161,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -200,7 +188,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncDelegations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: delegation = await async_client.addressing.prefixes.delegations.create( @@ -211,7 +198,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.delegations.with_raw_response.create( @@ -226,7 +212,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: delegation = await response.parse() assert_matches_type(Optional[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.delegations.with_streaming_response.create( @@ -243,7 +228,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -262,7 +246,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: delegated_account_id="b1946ac92492d2347c6235b4d2611184", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: delegation = await async_client.addressing.prefixes.delegations.list( @@ -271,7 +254,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.delegations.with_raw_response.list( @@ -284,7 +266,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: delegation = await response.parse() assert_matches_type(AsyncSinglePage[Delegations], delegation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.delegations.with_streaming_response.list( @@ -299,7 +280,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -314,7 +294,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: delegation = await async_client.addressing.prefixes.delegations.delete( @@ -324,7 +303,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DelegationDeleteResponse], delegation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.delegations.with_raw_response.delete( @@ -338,7 +316,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: delegation = await response.parse() assert_matches_type(Optional[DelegationDeleteResponse], delegation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.delegations.with_streaming_response.delete( @@ -354,7 +331,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/addressing/test_address_maps.py b/tests/api_resources/addressing/test_address_maps.py index 5c19088a341..1a4e0b0a57c 100644 --- a/tests/api_resources/addressing/test_address_maps.py +++ b/tests/api_resources/addressing/test_address_maps.py @@ -23,7 +23,6 @@ class TestAddressMaps: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AddressMapCreateResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AddressMapCreateResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(Optional[AddressMapCreateResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.address_maps.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() @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 ''"): @@ -75,7 +70,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.list( @@ -83,7 +77,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.list( @@ -95,7 +88,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(SyncSinglePage[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.list( @@ -109,7 +101,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -117,7 +108,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.delete( @@ -126,7 +116,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.delete( @@ -139,7 +128,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.delete( @@ -154,7 +142,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -169,7 +156,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.edit( @@ -178,7 +164,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.edit( @@ -190,7 +175,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.edit( @@ -203,7 +187,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(Optional[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.edit( @@ -218,7 +201,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -233,7 +215,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.get( @@ -242,7 +223,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AddressMapGetResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.get( @@ -255,7 +235,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(Optional[AddressMapGetResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.address_maps.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() @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 TestAsyncAddressMaps: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.create( @@ -297,7 +274,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AddressMapCreateResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.create( @@ -307,7 +283,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[AddressMapCreateResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.create( @@ -319,7 +294,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(Optional[AddressMapCreateResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.create( @@ -333,7 +307,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -341,7 +314,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.list( @@ -349,7 +321,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.list( @@ -361,7 +332,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(AsyncSinglePage[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.list( @@ -375,7 +345,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -383,7 +352,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.delete( @@ -392,7 +360,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.delete( @@ -405,7 +372,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.delete( @@ -420,7 +386,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -435,7 +400,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.edit( @@ -444,7 +408,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.edit( @@ -456,7 +419,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.edit( @@ -469,7 +431,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(Optional[AddressMap], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.edit( @@ -484,7 +445,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -499,7 +459,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.get( @@ -508,7 +467,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AddressMapGetResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.get( @@ -521,7 +479,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(Optional[AddressMapGetResponse], address_map, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.get( @@ -536,7 +493,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/addressing/test_loa_documents.py b/tests/api_resources/addressing/test_loa_documents.py index 7fb62037c87..b3bc8c3e862 100644 --- a/tests/api_resources/addressing/test_loa_documents.py +++ b/tests/api_resources/addressing/test_loa_documents.py @@ -17,7 +17,7 @@ class TestLOADocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: loa_document = client.addressing.loa_documents.create( @@ -26,7 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LOADocumentCreateResponse], loa_document, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.loa_documents.with_raw_response.create( @@ -39,7 +39,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: loa_document = response.parse() assert_matches_type(Optional[LOADocumentCreateResponse], loa_document, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.loa_documents.with_streaming_response.create( @@ -54,7 +54,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncLOADocuments: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: loa_document = await async_client.addressing.loa_documents.create( @@ -76,7 +76,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LOADocumentCreateResponse], loa_document, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.loa_documents.with_raw_response.create( @@ -89,7 +89,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: loa_document = await response.parse() assert_matches_type(Optional[LOADocumentCreateResponse], loa_document, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.loa_documents.with_streaming_response.create( @@ -104,7 +104,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/addressing/test_prefixes.py b/tests/api_resources/addressing/test_prefixes.py index fa8c7a26fb2..b26d7471d10 100644 --- a/tests/api_resources/addressing/test_prefixes.py +++ b/tests/api_resources/addressing/test_prefixes.py @@ -18,7 +18,6 @@ class TestPrefixes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.prefixes.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() @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 ''"): @@ -72,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: loa_document_id="d933b1530bc56c9953cf8ce166da8004", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.list( @@ -80,7 +75,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.list( @@ -92,7 +86,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(SyncSinglePage[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.list( @@ -106,7 +99,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +106,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.delete( @@ -123,7 +114,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.delete( @@ -136,7 +126,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.delete( @@ -151,7 +140,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -166,7 +154,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.edit( @@ -176,7 +163,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.edit( @@ -190,7 +176,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.edit( @@ -206,7 +191,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -223,7 +207,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: description="Internal test prefix", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.get( @@ -232,7 +215,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.get( @@ -245,7 +227,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.get( @@ -260,7 +241,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -279,7 +259,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPrefixes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.create( @@ -290,7 +269,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.create( @@ -305,7 +283,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.create( @@ -322,7 +299,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +309,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: loa_document_id="d933b1530bc56c9953cf8ce166da8004", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.list( @@ -341,7 +316,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.list( @@ -353,7 +327,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(AsyncSinglePage[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.list( @@ -367,7 +340,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +347,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.delete( @@ -384,7 +355,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.delete( @@ -397,7 +367,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.delete( @@ -412,7 +381,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +395,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.edit( @@ -437,7 +404,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.edit( @@ -451,7 +417,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.edit( @@ -467,7 +432,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -484,7 +448,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: description="Internal test prefix", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.get( @@ -493,7 +456,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.get( @@ -506,7 +468,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Optional[Prefix], prefix, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.get( @@ -521,7 +482,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/addressing/test_services.py b/tests/api_resources/addressing/test_services.py index bab9eef74b0..e54cb33ece0 100644 --- a/tests/api_resources/addressing/test_services.py +++ b/tests/api_resources/addressing/test_services.py @@ -18,7 +18,6 @@ class TestServices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: service = client.addressing.services.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceListResponse], service, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.services.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: service = response.parse() assert_matches_type(SyncSinglePage[ServiceListResponse], service, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.services.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() @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 TestAsyncServices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: service = await async_client.addressing.services.list( @@ -72,7 +67,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ServiceListResponse], service, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.services.with_raw_response.list( @@ -84,7 +78,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: service = await response.parse() assert_matches_type(AsyncSinglePage[ServiceListResponse], service, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.services.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() @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/alerting/destinations/test_eligible.py b/tests/api_resources/alerting/destinations/test_eligible.py index ef1a207dbd4..ee7c9caff3e 100644 --- a/tests/api_resources/alerting/destinations/test_eligible.py +++ b/tests/api_resources/alerting/destinations/test_eligible.py @@ -17,7 +17,6 @@ class TestEligible: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: eligible = client.alerting.destinations.eligible.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.destinations.eligible.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: eligible = response.parse() assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.destinations.eligible.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() @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 TestAsyncEligible: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: eligible = await async_client.alerting.destinations.eligible.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.eligible.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: eligible = await response.parse() assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.eligible.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() @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/alerting/destinations/test_pagerduty.py b/tests/api_resources/alerting/destinations/test_pagerduty.py index 07b1cb56436..912f43e1c42 100644 --- a/tests/api_resources/alerting/destinations/test_pagerduty.py +++ b/tests/api_resources/alerting/destinations/test_pagerduty.py @@ -22,7 +22,6 @@ class TestPagerduty: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.create( @@ -42,7 +40,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.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() @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 ''"): @@ -64,7 +60,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.delete( @@ -72,7 +67,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.delete( @@ -84,7 +78,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.with_streaming_response.delete( @@ -98,7 +91,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -106,7 +98,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.get( @@ -114,7 +105,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.get( @@ -126,7 +116,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.with_streaming_response.get( @@ -140,7 +129,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -148,7 +136,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_link(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.link( @@ -157,7 +144,6 @@ def test_method_link(self, client: Cloudflare) -> None: ) assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_link(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.link( @@ -170,7 +156,6 @@ def test_raw_response_link(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_link(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.with_streaming_response.link( @@ -185,7 +170,6 @@ def test_streaming_response_link(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_link(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -204,7 +188,6 @@ def test_path_params_link(self, client: Cloudflare) -> None: class TestAsyncPagerduty: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.create( @@ -212,7 +195,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.create( @@ -224,7 +206,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.create( @@ -238,7 +219,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -246,7 +226,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.delete( @@ -254,7 +233,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.delete( @@ -266,7 +244,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.delete( @@ -280,7 +257,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -288,7 +264,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.get( @@ -296,7 +271,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.get( @@ -308,7 +282,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.get( @@ -322,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() @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 ''"): @@ -330,7 +302,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_link(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.link( @@ -339,7 +310,6 @@ async def test_method_link(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_link(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.link( @@ -352,7 +322,6 @@ async def test_raw_response_link(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_link(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.link( @@ -367,7 +336,6 @@ async def test_streaming_response_link(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_link(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/alerting/destinations/test_webhooks.py b/tests/api_resources/alerting/destinations/test_webhooks.py index fbdefa33436..9da98e9f458 100644 --- a/tests/api_resources/alerting/destinations/test_webhooks.py +++ b/tests/api_resources/alerting/destinations/test_webhooks.py @@ -23,7 +23,6 @@ class TestWebhooks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.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() @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: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.update( @@ -95,7 +89,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.update( @@ -107,7 +100,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.update( @@ -122,7 +114,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.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() @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 ''"): @@ -158,7 +148,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.list( @@ -166,7 +155,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Webhooks], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.list( @@ -178,7 +166,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(SyncSinglePage[Webhooks], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.list( @@ -192,7 +179,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -200,7 +186,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.delete( @@ -209,7 +194,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.delete( @@ -222,7 +206,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.delete( @@ -237,7 +220,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +234,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.get( @@ -261,7 +242,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Webhooks, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.get( @@ -274,7 +254,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Webhooks, webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.get( @@ -289,7 +268,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +286,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebhooks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.create( @@ -318,7 +295,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.create( @@ -329,7 +305,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.create( @@ -343,7 +318,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.create( @@ -359,7 +333,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +342,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.update( @@ -380,7 +352,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.update( @@ -392,7 +363,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.update( @@ -407,7 +377,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.update( @@ -424,7 +393,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -443,7 +411,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.list( @@ -451,7 +418,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Webhooks], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.list( @@ -463,7 +429,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(AsyncSinglePage[Webhooks], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.list( @@ -477,7 +442,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -485,7 +449,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.delete( @@ -494,7 +457,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.delete( @@ -507,7 +469,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.delete( @@ -522,7 +483,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +497,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.get( @@ -546,7 +505,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Webhooks, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.get( @@ -559,7 +517,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Webhooks, webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.get( @@ -574,7 +531,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/alerting/test_available_alerts.py b/tests/api_resources/alerting/test_available_alerts.py index c3c5c6dc2fe..253ff803cdf 100644 --- a/tests/api_resources/alerting/test_available_alerts.py +++ b/tests/api_resources/alerting/test_available_alerts.py @@ -17,7 +17,6 @@ class TestAvailableAlerts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: available_alert = client.alerting.available_alerts.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.available_alerts.with_raw_response.list( @@ -37,7 +35,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: available_alert = response.parse() assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.available_alerts.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() @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 TestAsyncAvailableAlerts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: available_alert = await async_client.alerting.available_alerts.list( @@ -71,7 +66,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.available_alerts.with_raw_response.list( @@ -83,7 +77,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: available_alert = await response.parse() assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.available_alerts.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() @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/alerting/test_history.py b/tests/api_resources/alerting/test_history.py index 3ed58bbf83c..43ef79ac5c3 100644 --- a/tests/api_resources/alerting/test_history.py +++ b/tests/api_resources/alerting/test_history.py @@ -19,7 +19,6 @@ class TestHistory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: history = client.alerting.history.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[History], history, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: history = client.alerting.history.list( @@ -39,7 +37,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[History], history, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.history.with_raw_response.list( @@ -51,7 +48,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: history = response.parse() assert_matches_type(SyncV4PagePaginationArray[History], history, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.history.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() @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 TestAsyncHistory: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: history = await async_client.alerting.history.list( @@ -85,7 +79,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[History], history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: history = await async_client.alerting.history.list( @@ -97,7 +90,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[History], history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.history.with_raw_response.list( @@ -109,7 +101,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: history = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[History], history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.history.with_streaming_response.list( @@ -123,7 +114,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/alerting/test_policies.py b/tests/api_resources/alerting/test_policies.py index 0c2e2f09aec..c66a55a5837 100644 --- a/tests/api_resources/alerting/test_policies.py +++ b/tests/api_resources/alerting/test_policies.py @@ -23,7 +23,6 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.alerting.policies.create( @@ -39,7 +38,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.alerting.policies.create( @@ -98,7 +96,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.create( @@ -118,7 +115,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.create( @@ -140,7 +136,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -156,7 +151,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="SSL Notification Event Policy", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: policy = client.alerting.policies.update( @@ -165,7 +159,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: policy = client.alerting.policies.update( @@ -225,7 +218,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.update( @@ -238,7 +230,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.update( @@ -253,7 +244,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -268,7 +258,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.alerting.policies.list( @@ -276,7 +265,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.list( @@ -288,7 +276,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.list( @@ -302,7 +289,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -310,7 +296,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.alerting.policies.delete( @@ -319,7 +304,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.delete( @@ -332,7 +316,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.delete( @@ -347,7 +330,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -362,7 +344,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.alerting.policies.get( @@ -371,7 +352,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.get( @@ -384,7 +364,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.get( @@ -399,7 +378,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -418,7 +396,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.create( @@ -434,7 +411,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.create( @@ -493,7 +469,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.create( @@ -513,7 +488,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.create( @@ -535,7 +509,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -551,7 +524,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="SSL Notification Event Policy", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.update( @@ -560,7 +532,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.update( @@ -620,7 +591,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.update( @@ -633,7 +603,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.update( @@ -648,7 +617,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -663,7 +631,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.list( @@ -671,7 +638,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.list( @@ -683,7 +649,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.list( @@ -697,7 +662,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -705,7 +669,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.delete( @@ -714,7 +677,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.delete( @@ -727,7 +689,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() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.delete( @@ -742,7 +703,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -757,7 +717,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.get( @@ -766,7 +725,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.get( @@ -779,7 +737,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.get( @@ -794,7 +751,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/argo/test_smart_routing.py b/tests/api_resources/argo/test_smart_routing.py index 27d13739d4c..8622689044d 100644 --- a/tests/api_resources/argo/test_smart_routing.py +++ b/tests/api_resources/argo/test_smart_routing.py @@ -17,7 +17,6 @@ class TestSmartRouting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: smart_routing = client.argo.smart_routing.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.argo.smart_routing.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: smart_routing = response.parse() assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.argo.smart_routing.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: smart_routing = client.argo.smart_routing.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.argo.smart_routing.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: smart_routing = response.parse() assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.argo.smart_routing.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSmartRouting: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: smart_routing = await async_client.argo.smart_routing.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.smart_routing.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: smart_routing = await response.parse() assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.smart_routing.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: smart_routing = await async_client.argo.smart_routing.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.smart_routing.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: smart_routing = await response.parse() assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.smart_routing.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/argo/test_tiered_caching.py b/tests/api_resources/argo/test_tiered_caching.py index 13d8943f000..9afbafa5d1c 100644 --- a/tests/api_resources/argo/test_tiered_caching.py +++ b/tests/api_resources/argo/test_tiered_caching.py @@ -17,7 +17,6 @@ class TestTieredCaching: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tiered_caching = client.argo.tiered_caching.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.argo.tiered_caching.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tiered_caching = response.parse() assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.argo.tiered_caching.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tiered_caching = client.argo.tiered_caching.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.argo.tiered_caching.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tiered_caching = response.parse() assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.argo.tiered_caching.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTieredCaching: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tiered_caching = await async_client.argo.tiered_caching.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.tiered_caching.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tiered_caching = await response.parse() assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.tiered_caching.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tiered_caching = await async_client.argo.tiered_caching.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.tiered_caching.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tiered_caching = await response.parse() assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.tiered_caching.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/billing/test_profiles.py b/tests/api_resources/billing/test_profiles.py index 63e0a0eca24..03230b18439 100644 --- a/tests/api_resources/billing/test_profiles.py +++ b/tests/api_resources/billing/test_profiles.py @@ -17,7 +17,6 @@ class TestProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: profile = client.billing.profiles.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.billing.profiles.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.billing.profiles.with_streaming_response.get( @@ -55,7 +52,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncProfiles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: profile = await async_client.billing.profiles.get( @@ -63,7 +59,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.billing.profiles.with_raw_response.get( @@ -75,7 +70,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.billing.profiles.with_streaming_response.get( diff --git a/tests/api_resources/cache/test_cache_reserve.py b/tests/api_resources/cache/test_cache_reserve.py index a6543e9e10e..fb8eab75309 100644 --- a/tests/api_resources/cache/test_cache_reserve.py +++ b/tests/api_resources/cache/test_cache_reserve.py @@ -22,7 +22,6 @@ class TestCacheReserve: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_clear(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.clear( @@ -31,7 +30,6 @@ def test_method_clear(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_clear(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.clear( @@ -44,7 +42,6 @@ def test_raw_response_clear(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_clear(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.clear( @@ -59,7 +56,6 @@ def test_streaming_response_clear(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_clear(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,7 +64,6 @@ def test_path_params_clear(self, client: Cloudflare) -> None: body="{}", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.edit( @@ -77,7 +72,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.edit( @@ -90,7 +84,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.edit( @@ -105,7 +98,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -114,7 +106,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.get( @@ -122,7 +113,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.get( @@ -134,7 +124,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.get( @@ -148,7 +137,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -156,7 +144,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_status(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.status( @@ -164,7 +151,6 @@ def test_method_status(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_status(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.status( @@ -176,7 +162,6 @@ def test_raw_response_status(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_status(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.status( @@ -190,7 +175,6 @@ def test_streaming_response_status(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_status(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -202,7 +186,6 @@ def test_path_params_status(self, client: Cloudflare) -> None: class TestAsyncCacheReserve: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_clear(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.clear( @@ -211,7 +194,6 @@ async def test_method_clear(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_clear(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.clear( @@ -224,7 +206,6 @@ async def test_raw_response_clear(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_clear(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.clear( @@ -239,7 +220,6 @@ async def test_streaming_response_clear(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_clear(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -248,7 +228,6 @@ async def test_path_params_clear(self, async_client: AsyncCloudflare) -> None: body="{}", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.edit( @@ -257,7 +236,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.edit( @@ -270,7 +248,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.edit( @@ -285,7 +262,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -294,7 +270,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.get( @@ -302,7 +277,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.get( @@ -314,7 +288,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.get( @@ -328,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() @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 ''"): @@ -336,7 +308,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_status(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.status( @@ -344,7 +315,6 @@ async def test_method_status(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_status(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.status( @@ -356,7 +326,6 @@ async def test_raw_response_status(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_status(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.status( @@ -370,7 +339,6 @@ async def test_streaming_response_status(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_status(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/cache/test_regional_tiered_cache.py b/tests/api_resources/cache/test_regional_tiered_cache.py index 0a440eaae86..ec3ddfeb861 100644 --- a/tests/api_resources/cache/test_regional_tiered_cache.py +++ b/tests/api_resources/cache/test_regional_tiered_cache.py @@ -20,7 +20,6 @@ class TestRegionalTieredCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: regional_tiered_cache = client.cache.regional_tiered_cache.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.regional_tiered_cache.with_raw_response.edit( @@ -42,7 +40,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: regional_tiered_cache = response.parse() assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.regional_tiered_cache.with_streaming_response.edit( @@ -57,7 +54,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -66,7 +62,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: regional_tiered_cache = client.cache.regional_tiered_cache.get( @@ -74,7 +69,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.regional_tiered_cache.with_raw_response.get( @@ -86,7 +80,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: regional_tiered_cache = response.parse() assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.regional_tiered_cache.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() @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 ''"): @@ -112,7 +104,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRegionalTieredCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await async_client.cache.regional_tiered_cache.edit( @@ -121,7 +112,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.regional_tiered_cache.with_raw_response.edit( @@ -134,7 +124,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await response.parse() assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.regional_tiered_cache.with_streaming_response.edit( @@ -149,7 +138,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -158,7 +146,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await async_client.cache.regional_tiered_cache.get( @@ -166,7 +153,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.regional_tiered_cache.with_raw_response.get( @@ -178,7 +164,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await response.parse() assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.regional_tiered_cache.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() @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/cache/test_smart_tiered_cache.py b/tests/api_resources/cache/test_smart_tiered_cache.py index 2ebc31bf1e4..b683f9fc4dc 100644 --- a/tests/api_resources/cache/test_smart_tiered_cache.py +++ b/tests/api_resources/cache/test_smart_tiered_cache.py @@ -21,7 +21,6 @@ class TestSmartTieredCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: smart_tiered_cache = client.cache.smart_tiered_cache.delete( @@ -29,7 +28,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cache.smart_tiered_cache.with_raw_response.delete( @@ -41,7 +39,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: smart_tiered_cache = response.parse() assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cache.smart_tiered_cache.with_streaming_response.delete( @@ -55,7 +52,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: smart_tiered_cache = client.cache.smart_tiered_cache.edit( @@ -72,7 +67,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.smart_tiered_cache.with_raw_response.edit( @@ -85,7 +79,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: smart_tiered_cache = response.parse() assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.smart_tiered_cache.with_streaming_response.edit( @@ -100,7 +93,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: smart_tiered_cache = client.cache.smart_tiered_cache.get( @@ -117,7 +108,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.smart_tiered_cache.with_raw_response.get( @@ -129,7 +119,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: smart_tiered_cache = response.parse() assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.smart_tiered_cache.with_streaming_response.get( @@ -143,7 +132,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSmartTieredCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await async_client.cache.smart_tiered_cache.delete( @@ -163,7 +150,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.smart_tiered_cache.with_raw_response.delete( @@ -175,7 +161,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await response.parse() assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.smart_tiered_cache.with_streaming_response.delete( @@ -189,7 +174,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -197,7 +181,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await async_client.cache.smart_tiered_cache.edit( @@ -206,7 +189,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.smart_tiered_cache.with_raw_response.edit( @@ -219,7 +201,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await response.parse() assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.smart_tiered_cache.with_streaming_response.edit( @@ -234,7 +215,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +223,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await async_client.cache.smart_tiered_cache.get( @@ -251,7 +230,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.smart_tiered_cache.with_raw_response.get( @@ -263,7 +241,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await response.parse() assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.smart_tiered_cache.with_streaming_response.get( @@ -277,7 +254,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/cache/test_variants.py b/tests/api_resources/cache/test_variants.py index a77cf7c5413..c46c601fbb8 100644 --- a/tests/api_resources/cache/test_variants.py +++ b/tests/api_resources/cache/test_variants.py @@ -17,7 +17,6 @@ class TestVariants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: variant = client.cache.variants.delete( @@ -25,7 +24,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CacheVariant, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cache.variants.with_raw_response.delete( @@ -37,7 +35,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(CacheVariant, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cache.variants.with_streaming_response.delete( @@ -51,7 +48,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -59,7 +55,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: variant = client.cache.variants.edit( @@ -68,7 +63,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: variant = client.cache.variants.edit( @@ -89,7 +83,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.variants.with_raw_response.edit( @@ -102,7 +95,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.variants.with_streaming_response.edit( @@ -117,7 +109,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -126,7 +117,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: variant = client.cache.variants.get( @@ -134,7 +124,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.variants.with_raw_response.get( @@ -146,7 +135,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.variants.with_streaming_response.get( @@ -160,7 +148,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -172,7 +159,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVariants: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.delete( @@ -180,7 +166,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheVariant, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.variants.with_raw_response.delete( @@ -192,7 +177,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(CacheVariant, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.variants.with_streaming_response.delete( @@ -206,7 +190,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -214,7 +197,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.edit( @@ -223,7 +205,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.edit( @@ -244,7 +225,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.variants.with_raw_response.edit( @@ -257,7 +237,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.variants.with_streaming_response.edit( @@ -272,7 +251,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -281,7 +259,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.get( @@ -289,7 +266,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.variants.with_raw_response.get( @@ -301,7 +277,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.variants.with_streaming_response.get( @@ -315,7 +290,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/certificate_authorities/test_hostname_associations.py b/tests/api_resources/certificate_authorities/test_hostname_associations.py index bd14519e2c5..eb5db8b0753 100644 --- a/tests/api_resources/certificate_authorities/test_hostname_associations.py +++ b/tests/api_resources/certificate_authorities/test_hostname_associations.py @@ -20,7 +20,6 @@ class TestHostnameAssociations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.update( @@ -28,7 +27,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.update( @@ -38,7 +36,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.certificate_authorities.hostname_associations.with_raw_response.update( @@ -50,7 +47,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: hostname_association = response.parse() assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.certificate_authorities.hostname_associations.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() @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() @parametrize def test_method_get(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.get( @@ -80,7 +74,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.get( @@ -89,7 +82,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.certificate_authorities.hostname_associations.with_raw_response.get( @@ -101,7 +93,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hostname_association = response.parse() assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.certificate_authorities.hostname_associations.with_streaming_response.get( @@ -115,7 +106,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -127,7 +117,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHostnameAssociations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.update( @@ -135,7 +124,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.update( @@ -145,7 +133,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.certificate_authorities.hostname_associations.with_raw_response.update( @@ -157,7 +144,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: hostname_association = await response.parse() assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.certificate_authorities.hostname_associations.with_streaming_response.update( @@ -171,7 +157,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -179,7 +164,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.get( @@ -187,7 +171,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.get( @@ -196,7 +179,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.certificate_authorities.hostname_associations.with_raw_response.get( @@ -208,7 +190,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hostname_association = await response.parse() assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.certificate_authorities.hostname_associations.with_streaming_response.get( @@ -222,7 +203,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/challenges/test_widgets.py b/tests/api_resources/challenges/test_widgets.py index 976f29aaf82..4182376aa3d 100644 --- a/tests/api_resources/challenges/test_widgets.py +++ b/tests/api_resources/challenges/test_widgets.py @@ -21,7 +21,6 @@ class TestWidgets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: widget = client.challenges.widgets.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.create( @@ -51,7 +49,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.create( @@ -66,7 +63,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.create( @@ -83,7 +79,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: name="blog.cloudflare.com login form", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: widget = client.challenges.widgets.update( @@ -106,7 +100,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.update( @@ -121,7 +114,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.update( @@ -137,7 +129,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.update( @@ -155,7 +146,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: name="blog.cloudflare.com login form", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: widget = client.challenges.widgets.list( @@ -184,7 +173,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.list( @@ -196,7 +184,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.list( @@ -208,7 +195,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(SyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.list( @@ -222,7 +208,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -230,7 +215,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: widget = client.challenges.widgets.delete( @@ -239,7 +223,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.delete( @@ -252,7 +235,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.delete( @@ -267,7 +249,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -282,7 +263,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: widget = client.challenges.widgets.get( @@ -291,7 +271,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.get( @@ -304,7 +283,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.get( @@ -319,7 +297,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -334,7 +311,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_rotate_secret(self, client: Cloudflare) -> None: widget = client.challenges.widgets.rotate_secret( @@ -343,7 +319,6 @@ def test_method_rotate_secret(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_rotate_secret_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.rotate_secret( @@ -353,7 +328,6 @@ def test_method_rotate_secret_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_rotate_secret(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.rotate_secret( @@ -366,7 +340,6 @@ def test_raw_response_rotate_secret(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_rotate_secret(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.rotate_secret( @@ -381,7 +354,6 @@ def test_streaming_response_rotate_secret(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_rotate_secret(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -400,7 +372,6 @@ def test_path_params_rotate_secret(self, client: Cloudflare) -> None: class TestAsyncWidgets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.create( @@ -411,7 +382,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.create( @@ -430,7 +400,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.create( @@ -445,7 +414,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.create( @@ -462,7 +430,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -473,7 +440,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="blog.cloudflare.com login form", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.update( @@ -485,7 +451,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.update( @@ -500,7 +465,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.update( @@ -516,7 +480,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.update( @@ -534,7 +497,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -555,7 +517,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="blog.cloudflare.com login form", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.list( @@ -563,7 +524,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.list( @@ -575,7 +535,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.list( @@ -587,7 +546,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.list( @@ -601,7 +559,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -609,7 +566,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.delete( @@ -618,7 +574,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.delete( @@ -631,7 +586,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.delete( @@ -646,7 +600,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -661,7 +614,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.get( @@ -670,7 +622,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.get( @@ -683,7 +634,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.get( @@ -698,7 +648,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -713,7 +662,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_rotate_secret(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.rotate_secret( @@ -722,7 +670,6 @@ async def test_method_rotate_secret(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_rotate_secret_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.rotate_secret( @@ -732,7 +679,6 @@ async def test_method_rotate_secret_with_all_params(self, async_client: AsyncClo ) assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_rotate_secret(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.rotate_secret( @@ -745,7 +691,6 @@ async def test_raw_response_rotate_secret(self, async_client: AsyncCloudflare) - widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_rotate_secret(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.rotate_secret( @@ -760,7 +705,6 @@ async def test_streaming_response_rotate_secret(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_rotate_secret(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/cloudforce_one/requests/test_message.py b/tests/api_resources/cloudforce_one/requests/test_message.py index ea91ab0a36e..cae9250892e 100644 --- a/tests/api_resources/cloudforce_one/requests/test_message.py +++ b/tests/api_resources/cloudforce_one/requests/test_message.py @@ -22,7 +22,6 @@ class TestMessage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.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() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -84,7 +79,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.update( @@ -94,7 +88,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.update( @@ -109,7 +102,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.update( @@ -123,7 +115,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.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() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -156,7 +146,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: request_identifier="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.delete( @@ -166,7 +155,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MessageDeleteResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.delete( @@ -180,7 +168,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(MessageDeleteResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.with_streaming_response.delete( @@ -196,7 +183,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -213,7 +199,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: request_identifier="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.get( @@ -224,7 +209,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MessageGetResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.get( @@ -239,7 +223,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MessageGetResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.get( @@ -254,7 +237,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(MessageGetResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.with_streaming_response.get( @@ -271,7 +253,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -294,7 +275,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMessage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.create( @@ -303,7 +283,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.create( @@ -313,7 +292,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.create( @@ -326,7 +304,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.create( @@ -341,7 +318,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -356,7 +332,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.update( @@ -366,7 +341,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.update( @@ -381,7 +355,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.update( @@ -395,7 +368,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Message, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.update( @@ -411,7 +383,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -428,7 +399,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: request_identifier="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.delete( @@ -438,7 +408,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MessageDeleteResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.delete( @@ -452,7 +421,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(MessageDeleteResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.delete( @@ -468,7 +436,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -485,7 +452,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: request_identifier="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.get( @@ -496,7 +462,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MessageGetResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.get( @@ -511,7 +476,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(MessageGetResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.get( @@ -526,7 +490,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(MessageGetResponse, message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.get( @@ -543,7 +506,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/cloudforce_one/requests/test_priority.py b/tests/api_resources/cloudforce_one/requests/test_priority.py index 136d392955d..46276ab9dcf 100644 --- a/tests/api_resources/cloudforce_one/requests/test_priority.py +++ b/tests/api_resources/cloudforce_one/requests/test_priority.py @@ -21,7 +21,6 @@ class TestPriority: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Priority, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.create( @@ -49,7 +47,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Priority, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.create( @@ -67,7 +64,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -79,7 +75,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: tlp="clear", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.update( @@ -92,7 +87,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.update( @@ -109,7 +103,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.update( @@ -128,7 +121,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -151,7 +143,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: tlp="clear", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.delete( @@ -160,7 +151,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.delete( @@ -173,7 +163,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.delete( @@ -188,7 +177,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -203,7 +191,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.get( @@ -212,7 +199,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.get( @@ -225,7 +211,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.get( @@ -240,7 +225,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -255,7 +239,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_quota(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.quota( @@ -263,7 +246,6 @@ def test_method_quota(self, client: Cloudflare) -> None: ) assert_matches_type(Quota, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_quota(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.quota( @@ -275,7 +257,6 @@ def test_raw_response_quota(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Quota, priority, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_quota(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.quota( @@ -289,7 +270,6 @@ def test_streaming_response_quota(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_quota(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -301,7 +281,6 @@ def test_path_params_quota(self, client: Cloudflare) -> None: class TestAsyncPriority: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.create( @@ -313,7 +292,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Priority, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.create( @@ -329,7 +307,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Priority, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.create( @@ -347,7 +324,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -359,7 +335,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: tlp="clear", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.update( @@ -372,7 +347,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.update( @@ -389,7 +363,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.update( @@ -408,7 +381,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -431,7 +403,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: tlp="clear", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.delete( @@ -440,7 +411,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.delete( @@ -453,7 +423,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.delete( @@ -468,7 +437,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -483,7 +451,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.get( @@ -492,7 +459,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.get( @@ -505,7 +471,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Item, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.get( @@ -520,7 +485,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -535,7 +499,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_quota(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.quota( @@ -543,7 +506,6 @@ async def test_method_quota(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Quota, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.quota( @@ -555,7 +517,6 @@ async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Quota, priority, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.quota( @@ -569,7 +530,6 @@ async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_quota(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/cloudforce_one/test_requests.py b/tests/api_resources/cloudforce_one/test_requests.py index ef62fc92095..327ae61c1bb 100644 --- a/tests/api_resources/cloudforce_one/test_requests.py +++ b/tests/api_resources/cloudforce_one/test_requests.py @@ -26,7 +26,6 @@ class TestRequests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.create( @@ -47,7 +45,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.create( @@ -59,7 +56,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.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() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -81,7 +76,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.update( @@ -90,7 +84,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.update( @@ -104,7 +97,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.update( @@ -117,7 +109,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.update( @@ -132,7 +123,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -147,7 +137,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.list( @@ -157,7 +146,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ListItem], request, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.list( @@ -175,7 +163,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ListItem], request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.list( @@ -189,7 +176,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(SyncV4PagePaginationArray[ListItem], request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.list( @@ -205,7 +191,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -215,7 +200,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: per_page=10, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.delete( @@ -224,7 +208,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RequestDeleteResponse, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.delete( @@ -237,7 +220,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(RequestDeleteResponse, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.delete( @@ -252,7 +234,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -267,7 +248,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_constants(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.constants( @@ -275,7 +255,6 @@ def test_method_constants(self, client: Cloudflare) -> None: ) assert_matches_type(RequestConstants, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_constants(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.constants( @@ -287,7 +266,6 @@ def test_raw_response_constants(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(RequestConstants, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_constants(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.constants( @@ -301,7 +279,6 @@ def test_streaming_response_constants(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_constants(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -309,7 +286,6 @@ def test_path_params_constants(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.get( @@ -318,7 +294,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.get( @@ -331,7 +306,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.get( @@ -346,7 +320,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -361,7 +334,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_quota(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.quota( @@ -369,7 +341,6 @@ def test_method_quota(self, client: Cloudflare) -> None: ) assert_matches_type(Quota, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_quota(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.quota( @@ -381,7 +352,6 @@ def test_raw_response_quota(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Quota, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_quota(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.quota( @@ -395,7 +365,6 @@ def test_streaming_response_quota(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_quota(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -403,7 +372,6 @@ def test_path_params_quota(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_types(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.types( @@ -411,7 +379,6 @@ def test_method_types(self, client: Cloudflare) -> None: ) assert_matches_type(RequestTypes, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_types(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.types( @@ -423,7 +390,6 @@ def test_raw_response_types(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(RequestTypes, request, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_types(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.types( @@ -437,7 +403,6 @@ def test_streaming_response_types(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_types(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -449,7 +414,6 @@ def test_path_params_types(self, client: Cloudflare) -> None: class TestAsyncRequests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.create( @@ -457,7 +421,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.create( @@ -470,7 +433,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.create( @@ -482,7 +444,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.create( @@ -496,7 +457,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -504,7 +464,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.update( @@ -513,7 +472,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.update( @@ -527,7 +485,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.update( @@ -540,7 +497,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.update( @@ -555,7 +511,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -570,7 +525,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.list( @@ -580,7 +534,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[ListItem], request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.list( @@ -598,7 +551,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[ListItem], request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.list( @@ -612,7 +564,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[ListItem], request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.list( @@ -628,7 +579,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -638,7 +588,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: per_page=10, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.delete( @@ -647,7 +596,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RequestDeleteResponse, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.delete( @@ -660,7 +608,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(RequestDeleteResponse, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.delete( @@ -675,7 +622,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -690,7 +636,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_constants(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.constants( @@ -698,7 +643,6 @@ async def test_method_constants(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RequestConstants, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_constants(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.constants( @@ -710,7 +654,6 @@ async def test_raw_response_constants(self, async_client: AsyncCloudflare) -> No request = await response.parse() assert_matches_type(RequestConstants, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_constants(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.constants( @@ -724,7 +667,6 @@ async def test_streaming_response_constants(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_constants(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -732,7 +674,6 @@ async def test_path_params_constants(self, async_client: AsyncCloudflare) -> Non "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.get( @@ -741,7 +682,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.get( @@ -754,7 +694,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Item, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.get( @@ -769,7 +708,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -784,7 +722,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_quota(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.quota( @@ -792,7 +729,6 @@ async def test_method_quota(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Quota, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.quota( @@ -804,7 +740,6 @@ async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Quota, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.quota( @@ -818,7 +753,6 @@ async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_quota(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -826,7 +760,6 @@ async def test_path_params_quota(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_types(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.types( @@ -834,7 +767,6 @@ async def test_method_types(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RequestTypes, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_types(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.types( @@ -846,7 +778,6 @@ async def test_raw_response_types(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(RequestTypes, request, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_types(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.types( @@ -860,7 +791,6 @@ async def test_streaming_response_types(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_types(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/custom_certificates/test_prioritize.py b/tests/api_resources/custom_certificates/test_prioritize.py index 06419cda056..25accbd83cb 100644 --- a/tests/api_resources/custom_certificates/test_prioritize.py +++ b/tests/api_resources/custom_certificates/test_prioritize.py @@ -17,7 +17,6 @@ class TestPrioritize: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: prioritize = client.custom_certificates.prioritize.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.custom_certificates.prioritize.with_raw_response.update( @@ -39,7 +37,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: prioritize = response.parse() assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.custom_certificates.prioritize.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() @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 ''"): @@ -67,7 +63,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: class TestAsyncPrioritize: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: prioritize = await async_client.custom_certificates.prioritize.update( @@ -76,7 +71,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.prioritize.with_raw_response.update( @@ -89,7 +83,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: prioritize = await response.parse() assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.prioritize.with_streaming_response.update( @@ -104,7 +97,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/custom_hostnames/test_fallback_origin.py b/tests/api_resources/custom_hostnames/test_fallback_origin.py index 4f78b579830..cc1bbef9172 100644 --- a/tests/api_resources/custom_hostnames/test_fallback_origin.py +++ b/tests/api_resources/custom_hostnames/test_fallback_origin.py @@ -21,7 +21,6 @@ class TestFallbackOrigin: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: fallback_origin = client.custom_hostnames.fallback_origin.update( @@ -30,7 +29,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.custom_hostnames.fallback_origin.with_raw_response.update( @@ -43,7 +41,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: fallback_origin = response.parse() assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.custom_hostnames.fallback_origin.with_streaming_response.update( @@ -58,7 +55,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -67,7 +63,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: origin="fallback.example.com", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: fallback_origin = client.custom_hostnames.fallback_origin.delete( @@ -75,7 +70,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_hostnames.fallback_origin.with_raw_response.delete( @@ -87,7 +81,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: fallback_origin = response.parse() assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_hostnames.fallback_origin.with_streaming_response.delete( @@ -101,7 +94,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: fallback_origin = client.custom_hostnames.fallback_origin.get( @@ -117,7 +108,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_hostnames.fallback_origin.with_raw_response.get( @@ -129,7 +119,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: fallback_origin = response.parse() assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_hostnames.fallback_origin.with_streaming_response.get( @@ -143,7 +132,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFallbackOrigin: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: fallback_origin = await async_client.custom_hostnames.fallback_origin.update( @@ -164,7 +151,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.fallback_origin.with_raw_response.update( @@ -177,7 +163,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: fallback_origin = await response.parse() assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.fallback_origin.with_streaming_response.update( @@ -192,7 +177,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -201,7 +185,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: origin="fallback.example.com", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: fallback_origin = await async_client.custom_hostnames.fallback_origin.delete( @@ -209,7 +192,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.fallback_origin.with_raw_response.delete( @@ -221,7 +203,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: fallback_origin = await response.parse() assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.fallback_origin.with_streaming_response.delete( @@ -235,7 +216,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +223,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: fallback_origin = await async_client.custom_hostnames.fallback_origin.get( @@ -251,7 +230,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.fallback_origin.with_raw_response.get( @@ -263,7 +241,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: fallback_origin = await response.parse() assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.fallback_origin.with_streaming_response.get( @@ -277,7 +254,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/d1/test_database.py b/tests/api_resources/d1/test_database.py index 8005deeea4b..30697981791 100644 --- a/tests/api_resources/d1/test_database.py +++ b/tests/api_resources/d1/test_database.py @@ -24,7 +24,6 @@ class TestDatabase: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: database = client.d1.database.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseCreateResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.create( @@ -46,7 +44,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(DatabaseCreateResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.d1.database.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() @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="my-database", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: database = client.d1.database.list( @@ -78,7 +73,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: database = client.d1.database.list( @@ -89,7 +83,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.list( @@ -101,7 +94,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(SyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.list( @@ -115,7 +107,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -123,7 +114,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: database = client.d1.database.delete( @@ -132,7 +122,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.delete( @@ -145,7 +134,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.delete( @@ -160,7 +148,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -175,7 +162,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: database = client.d1.database.get( @@ -184,7 +170,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(D1, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.get( @@ -197,7 +182,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(D1, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.get( @@ -212,7 +196,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -227,7 +210,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_query(self, client: Cloudflare) -> None: database = client.d1.database.query( @@ -237,7 +219,6 @@ def test_method_query(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_query_with_all_params(self, client: Cloudflare) -> None: database = client.d1.database.query( @@ -248,7 +229,6 @@ def test_method_query_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_query(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.query( @@ -262,7 +242,6 @@ def test_raw_response_query(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(DatabaseQueryResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_query(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.query( @@ -278,7 +257,6 @@ def test_streaming_response_query(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_query(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -299,7 +277,6 @@ def test_path_params_query(self, client: Cloudflare) -> None: class TestAsyncDatabase: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.create( @@ -308,7 +285,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatabaseCreateResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.create( @@ -321,7 +297,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(DatabaseCreateResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.create( @@ -336,7 +311,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -345,7 +319,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="my-database", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.list( @@ -353,7 +326,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.list( @@ -364,7 +336,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.list( @@ -376,7 +347,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.list( @@ -390,7 +360,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -398,7 +367,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.delete( @@ -407,7 +375,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.delete( @@ -420,7 +387,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.delete( @@ -435,7 +401,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -450,7 +415,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.get( @@ -459,7 +423,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(D1, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.get( @@ -472,7 +435,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(D1, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.get( @@ -487,7 +449,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -502,7 +463,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_query(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.query( @@ -512,7 +472,6 @@ async def test_method_query(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.query( @@ -523,7 +482,6 @@ async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.query( @@ -537,7 +495,6 @@ async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(DatabaseQueryResponse, database, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.query( @@ -553,7 +510,6 @@ async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_query(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/dcv_delegation/test_uuid.py b/tests/api_resources/dcv_delegation/test_uuid.py index 0bb10895bed..ae09e9bb676 100644 --- a/tests/api_resources/dcv_delegation/test_uuid.py +++ b/tests/api_resources/dcv_delegation/test_uuid.py @@ -17,7 +17,6 @@ class TestUUID: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: uuid = client.dcv_delegation.uuid.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dcv_delegation.uuid.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: uuid = response.parse() assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dcv_delegation.uuid.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() @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 TestAsyncUUID: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: uuid = await async_client.dcv_delegation.uuid.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dcv_delegation.uuid.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: uuid = await response.parse() assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dcv_delegation.uuid.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() @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/diagnostics/test_traceroutes.py b/tests/api_resources/diagnostics/test_traceroutes.py index 748aa9cc8d5..930de49727f 100644 --- a/tests/api_resources/diagnostics/test_traceroutes.py +++ b/tests/api_resources/diagnostics/test_traceroutes.py @@ -17,7 +17,6 @@ class TestTraceroutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: traceroute = client.diagnostics.traceroutes.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: traceroute = client.diagnostics.traceroutes.create( @@ -43,7 +41,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.diagnostics.traceroutes.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: traceroute = response.parse() assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.diagnostics.traceroutes.with_streaming_response.create( @@ -71,7 +67,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: class TestAsyncTraceroutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: traceroute = await async_client.diagnostics.traceroutes.create( @@ -93,7 +87,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: traceroute = await async_client.diagnostics.traceroutes.create( @@ -110,7 +103,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.diagnostics.traceroutes.with_raw_response.create( @@ -123,7 +115,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: traceroute = await response.parse() assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.diagnostics.traceroutes.with_streaming_response.create( @@ -138,7 +129,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/dns/analytics/reports/test_bytimes.py b/tests/api_resources/dns/analytics/reports/test_bytimes.py index 759ac8524ba..73408198645 100644 --- a/tests/api_resources/dns/analytics/reports/test_bytimes.py +++ b/tests/api_resources/dns/analytics/reports/test_bytimes.py @@ -18,7 +18,6 @@ class TestBytimes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bytime = client.dns.analytics.reports.bytimes.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bytime = client.dns.analytics.reports.bytimes.get( @@ -42,7 +40,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.analytics.reports.bytimes.with_raw_response.get( @@ -54,7 +51,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bytime = response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.analytics.reports.bytimes.with_streaming_response.get( @@ -68,7 +64,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -80,7 +75,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBytimes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.analytics.reports.bytimes.get( @@ -88,7 +82,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.analytics.reports.bytimes.get( @@ -104,7 +97,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.analytics.reports.bytimes.with_raw_response.get( @@ -116,7 +108,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bytime = await response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.analytics.reports.bytimes.with_streaming_response.get( @@ -130,7 +121,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/dns/analytics/test_reports.py b/tests/api_resources/dns/analytics/test_reports.py index e91585a73ec..89dae97959c 100644 --- a/tests/api_resources/dns/analytics/test_reports.py +++ b/tests/api_resources/dns/analytics/test_reports.py @@ -18,7 +18,6 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: report = client.dns.analytics.reports.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: report = client.dns.analytics.reports.get( @@ -41,7 +39,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.analytics.reports.with_raw_response.get( @@ -53,7 +50,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: report = response.parse() assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.analytics.reports.with_streaming_response.get( @@ -67,7 +63,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -79,7 +74,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReports: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.analytics.reports.get( @@ -87,7 +81,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.analytics.reports.get( @@ -102,7 +95,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.analytics.reports.with_raw_response.get( @@ -114,7 +106,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: report = await response.parse() assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.analytics.reports.with_streaming_response.get( @@ -128,7 +119,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/dns/firewall/analytics/reports/test_bytimes.py b/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py index ba39224909a..0aa48692e20 100644 --- a/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py +++ b/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py @@ -18,7 +18,6 @@ class TestBytimes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bytime = client.dns.firewall.analytics.reports.bytimes.get( @@ -27,7 +26,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bytime = client.dns.firewall.analytics.reports.bytimes.get( @@ -44,7 +42,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.firewall.analytics.reports.bytimes.with_raw_response.get( @@ -57,7 +54,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bytime = response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.firewall.analytics.reports.bytimes.with_streaming_response.get( @@ -72,7 +68,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -91,7 +86,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBytimes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.firewall.analytics.reports.bytimes.get( @@ -100,7 +94,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.firewall.analytics.reports.bytimes.get( @@ -117,7 +110,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.analytics.reports.bytimes.with_raw_response.get( @@ -130,7 +122,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bytime = await response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.analytics.reports.bytimes.with_streaming_response.get( @@ -145,7 +136,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/dns/firewall/analytics/test_reports.py b/tests/api_resources/dns/firewall/analytics/test_reports.py index 32369b249a7..985ac0d448f 100644 --- a/tests/api_resources/dns/firewall/analytics/test_reports.py +++ b/tests/api_resources/dns/firewall/analytics/test_reports.py @@ -18,7 +18,6 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: report = client.dns.firewall.analytics.reports.get( @@ -27,7 +26,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: report = client.dns.firewall.analytics.reports.get( @@ -43,7 +41,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.firewall.analytics.reports.with_raw_response.get( @@ -56,7 +53,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: report = response.parse() assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.firewall.analytics.reports.with_streaming_response.get( @@ -71,7 +67,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -90,7 +85,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReports: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.firewall.analytics.reports.get( @@ -99,7 +93,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.firewall.analytics.reports.get( @@ -115,7 +108,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.analytics.reports.with_raw_response.get( @@ -128,7 +120,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: report = await response.parse() assert_matches_type(Optional[Report], report, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.analytics.reports.with_streaming_response.get( @@ -143,7 +134,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/dns/test_firewall.py b/tests/api_resources/dns/test_firewall.py index 2829440558f..5d5d6f8646c 100644 --- a/tests/api_resources/dns/test_firewall.py +++ b/tests/api_resources/dns/test_firewall.py @@ -21,7 +21,6 @@ class TestFirewall: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: firewall = client.dns.firewall.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: firewall = client.dns.firewall.create( @@ -52,7 +50,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.create( @@ -66,7 +63,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.dns.firewall.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() @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: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: firewall = client.dns.firewall.list( @@ -100,7 +94,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Firewall], firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: firewall = client.dns.firewall.list( @@ -110,7 +103,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Firewall], firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.list( @@ -122,7 +114,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(SyncV4PagePaginationArray[Firewall], firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.list( @@ -136,7 +127,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -144,7 +134,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: firewall = client.dns.firewall.delete( @@ -153,7 +142,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.delete( @@ -166,7 +154,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.delete( @@ -181,7 +168,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -196,7 +182,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: firewall = client.dns.firewall.edit( @@ -212,7 +197,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: firewall = client.dns.firewall.edit( @@ -235,7 +219,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.edit( @@ -255,7 +238,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.edit( @@ -277,7 +259,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -306,7 +287,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: firewall = client.dns.firewall.get( @@ -315,7 +295,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.get( @@ -328,7 +307,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.get( @@ -343,7 +321,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -362,7 +339,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFirewall: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.create( @@ -372,7 +348,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.create( @@ -393,7 +368,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.create( @@ -407,7 +381,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.create( @@ -423,7 +396,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -433,7 +405,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.list( @@ -441,7 +412,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Firewall], firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.list( @@ -451,7 +421,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Firewall], firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.list( @@ -463,7 +432,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Firewall], firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.list( @@ -477,7 +445,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -485,7 +452,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.delete( @@ -494,7 +460,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.delete( @@ -507,7 +472,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.delete( @@ -522,7 +486,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +500,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.edit( @@ -553,7 +515,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.edit( @@ -576,7 +537,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.edit( @@ -596,7 +556,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.edit( @@ -618,7 +577,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -647,7 +605,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.get( @@ -656,7 +613,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.get( @@ -669,7 +625,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(Firewall, firewall, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.get( @@ -684,7 +639,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/dns/test_records.py b/tests/api_resources/dns/test_records.py index b135d0d2b21..3f7a9f15183 100644 --- a/tests/api_resources/dns/test_records.py +++ b/tests/api_resources/dns/test_records.py @@ -23,7 +23,7 @@ class TestRecords: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -34,7 +34,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -49,7 +49,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -64,7 +64,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -81,7 +81,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -92,7 +92,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: type="A", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -103,7 +103,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -118,7 +118,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -133,7 +133,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -150,7 +150,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -161,7 +161,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: type="AAAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -172,7 +172,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -190,7 +190,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -205,7 +205,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -222,7 +222,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -233,7 +233,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: type="CAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -244,7 +244,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -263,7 +263,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -278,7 +278,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -295,7 +295,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -306,7 +306,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: type="CERT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -317,7 +317,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -332,7 +332,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -347,7 +347,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -364,7 +364,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -375,7 +375,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: type="CNAME", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -386,7 +386,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -405,7 +405,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -420,7 +420,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -437,7 +437,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -448,7 +448,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: type="DNSKEY", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -459,7 +459,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -478,7 +478,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -493,7 +493,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -510,7 +510,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -521,7 +521,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: type="DS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -532,7 +532,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -550,7 +550,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -565,7 +565,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -582,7 +582,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -593,7 +593,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: type="HTTPS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -604,7 +604,7 @@ def test_method_create_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -631,7 +631,7 @@ def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -646,7 +646,7 @@ def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -663,7 +663,7 @@ def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -674,7 +674,7 @@ def test_path_params_create_overload_9(self, client: Cloudflare) -> None: type="LOC", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -686,7 +686,7 @@ def test_method_create_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -701,7 +701,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -717,7 +717,7 @@ def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -735,7 +735,7 @@ def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -747,7 +747,7 @@ def test_path_params_create_overload_10(self, client: Cloudflare) -> None: type="MX", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -758,7 +758,7 @@ def test_method_create_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -779,7 +779,7 @@ def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -794,7 +794,7 @@ def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -811,7 +811,7 @@ def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -822,7 +822,7 @@ def test_path_params_create_overload_11(self, client: Cloudflare) -> None: type="NAPTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -833,7 +833,7 @@ def test_method_create_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -847,7 +847,7 @@ def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -862,7 +862,7 @@ def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -879,7 +879,7 @@ def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -890,7 +890,7 @@ def test_path_params_create_overload_12(self, client: Cloudflare) -> None: type="NS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -901,7 +901,7 @@ def test_method_create_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -915,7 +915,7 @@ def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -930,7 +930,7 @@ def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -947,7 +947,7 @@ def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -958,7 +958,7 @@ def test_path_params_create_overload_13(self, client: Cloudflare) -> None: type="PTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -969,7 +969,7 @@ def test_method_create_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -988,7 +988,7 @@ def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1003,7 +1003,7 @@ def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1020,7 +1020,7 @@ def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1031,7 +1031,7 @@ def test_path_params_create_overload_14(self, client: Cloudflare) -> None: type="SMIMEA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1042,7 +1042,7 @@ def test_method_create_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1064,7 +1064,7 @@ def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1079,7 +1079,7 @@ def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1096,7 +1096,7 @@ def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1107,7 +1107,7 @@ def test_path_params_create_overload_15(self, client: Cloudflare) -> None: type="SRV", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1118,7 +1118,7 @@ def test_method_create_overload_16(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1136,7 +1136,7 @@ def test_method_create_with_all_params_overload_16(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_16(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1151,7 +1151,7 @@ def test_raw_response_create_overload_16(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_16(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1168,7 +1168,7 @@ def test_streaming_response_create_overload_16(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_16(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1179,7 +1179,7 @@ def test_path_params_create_overload_16(self, client: Cloudflare) -> None: type="SSHFP", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1190,7 +1190,7 @@ def test_method_create_overload_17(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1208,7 +1208,7 @@ def test_method_create_with_all_params_overload_17(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_17(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1223,7 +1223,7 @@ def test_raw_response_create_overload_17(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_17(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1240,7 +1240,7 @@ def test_streaming_response_create_overload_17(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_17(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1251,7 +1251,7 @@ def test_path_params_create_overload_17(self, client: Cloudflare) -> None: type="SVCB", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1262,7 +1262,7 @@ def test_method_create_overload_18(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1281,7 +1281,7 @@ def test_method_create_with_all_params_overload_18(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_18(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1296,7 +1296,7 @@ def test_raw_response_create_overload_18(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_18(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1313,7 +1313,7 @@ def test_streaming_response_create_overload_18(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_18(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1324,7 +1324,7 @@ def test_path_params_create_overload_18(self, client: Cloudflare) -> None: type="TLSA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1335,7 +1335,7 @@ def test_method_create_overload_19(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1349,7 +1349,7 @@ def test_method_create_with_all_params_overload_19(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_19(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1364,7 +1364,7 @@ def test_raw_response_create_overload_19(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_19(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1381,7 +1381,7 @@ def test_streaming_response_create_overload_19(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_19(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1392,7 +1392,7 @@ def test_path_params_create_overload_19(self, client: Cloudflare) -> None: type="TXT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1404,7 +1404,7 @@ def test_method_create_overload_20(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1422,7 +1422,7 @@ def test_method_create_with_all_params_overload_20(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_20(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1438,7 +1438,7 @@ def test_raw_response_create_overload_20(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_20(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1456,7 +1456,7 @@ def test_streaming_response_create_overload_20(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_20(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1468,7 +1468,7 @@ def test_path_params_create_overload_20(self, client: Cloudflare) -> None: type="URI", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1480,7 +1480,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1496,7 +1496,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1512,7 +1512,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1530,7 +1530,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -1551,7 +1551,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: type="A", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1563,7 +1563,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1579,7 +1579,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1595,7 +1595,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1613,7 +1613,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -1634,7 +1634,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: type="AAAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1646,7 +1646,7 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1665,7 +1665,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1681,7 +1681,7 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1699,7 +1699,7 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -1720,7 +1720,7 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: type="CAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1732,7 +1732,7 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1752,7 +1752,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1768,7 +1768,7 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1786,7 +1786,7 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1807,7 +1807,7 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: type="CERT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1819,7 +1819,7 @@ def test_method_update_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1835,7 +1835,7 @@ def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1851,7 +1851,7 @@ def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1869,7 +1869,7 @@ def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1890,7 +1890,7 @@ def test_path_params_update_overload_5(self, client: Cloudflare) -> None: type="CNAME", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1902,7 +1902,7 @@ def test_method_update_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1922,7 +1922,7 @@ def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1938,7 +1938,7 @@ def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1956,7 +1956,7 @@ def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1977,7 +1977,7 @@ def test_path_params_update_overload_6(self, client: Cloudflare) -> None: type="DNSKEY", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1989,7 +1989,7 @@ def test_method_update_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2009,7 +2009,7 @@ def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2025,7 +2025,7 @@ def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2043,7 +2043,7 @@ def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2064,7 +2064,7 @@ def test_path_params_update_overload_7(self, client: Cloudflare) -> None: type="DS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2076,7 +2076,7 @@ def test_method_update_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2095,7 +2095,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2111,7 +2111,7 @@ def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2129,7 +2129,7 @@ def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2150,7 +2150,7 @@ def test_path_params_update_overload_8(self, client: Cloudflare) -> None: type="HTTPS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2162,7 +2162,7 @@ def test_method_update_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2190,7 +2190,7 @@ def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2206,7 +2206,7 @@ def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2224,7 +2224,7 @@ def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2245,7 +2245,7 @@ def test_path_params_update_overload_9(self, client: Cloudflare) -> None: type="LOC", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2258,7 +2258,7 @@ def test_method_update_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2274,7 +2274,7 @@ def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2291,7 +2291,7 @@ def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2310,7 +2310,7 @@ def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2333,7 +2333,7 @@ def test_path_params_update_overload_10(self, client: Cloudflare) -> None: type="MX", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2345,7 +2345,7 @@ def test_method_update_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2367,7 +2367,7 @@ def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2383,7 +2383,7 @@ def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2401,7 +2401,7 @@ def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2422,7 +2422,7 @@ def test_path_params_update_overload_11(self, client: Cloudflare) -> None: type="NAPTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2434,7 +2434,7 @@ def test_method_update_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2449,7 +2449,7 @@ def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2465,7 +2465,7 @@ def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2483,7 +2483,7 @@ def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2504,7 +2504,7 @@ def test_path_params_update_overload_12(self, client: Cloudflare) -> None: type="NS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2516,7 +2516,7 @@ def test_method_update_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2531,7 +2531,7 @@ def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2547,7 +2547,7 @@ def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2565,7 +2565,7 @@ def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2586,7 +2586,7 @@ def test_path_params_update_overload_13(self, client: Cloudflare) -> None: type="PTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2598,7 +2598,7 @@ def test_method_update_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2618,7 +2618,7 @@ def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2634,7 +2634,7 @@ def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2652,7 +2652,7 @@ def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2673,7 +2673,7 @@ def test_path_params_update_overload_14(self, client: Cloudflare) -> None: type="SMIMEA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2685,7 +2685,7 @@ def test_method_update_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2708,7 +2708,7 @@ def test_method_update_with_all_params_overload_15(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_15(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2724,7 +2724,7 @@ def test_raw_response_update_overload_15(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_15(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2742,7 +2742,7 @@ def test_streaming_response_update_overload_15(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2763,7 +2763,7 @@ def test_path_params_update_overload_15(self, client: Cloudflare) -> None: type="SRV", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2775,7 +2775,7 @@ def test_method_update_overload_16(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2794,7 +2794,7 @@ def test_method_update_with_all_params_overload_16(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_16(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2810,7 +2810,7 @@ def test_raw_response_update_overload_16(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_16(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2828,7 +2828,7 @@ def test_streaming_response_update_overload_16(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_16(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2849,7 +2849,7 @@ def test_path_params_update_overload_16(self, client: Cloudflare) -> None: type="SSHFP", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2861,7 +2861,7 @@ def test_method_update_overload_17(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2880,7 +2880,7 @@ def test_method_update_with_all_params_overload_17(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_17(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2896,7 +2896,7 @@ def test_raw_response_update_overload_17(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_17(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2914,7 +2914,7 @@ def test_streaming_response_update_overload_17(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_17(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2935,7 +2935,7 @@ def test_path_params_update_overload_17(self, client: Cloudflare) -> None: type="SVCB", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2947,7 +2947,7 @@ def test_method_update_overload_18(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2967,7 +2967,7 @@ def test_method_update_with_all_params_overload_18(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_18(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2983,7 +2983,7 @@ def test_raw_response_update_overload_18(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_18(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -3001,7 +3001,7 @@ def test_streaming_response_update_overload_18(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_18(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3022,7 +3022,7 @@ def test_path_params_update_overload_18(self, client: Cloudflare) -> None: type="TLSA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -3034,7 +3034,7 @@ def test_method_update_overload_19(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -3049,7 +3049,7 @@ def test_method_update_with_all_params_overload_19(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_19(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -3065,7 +3065,7 @@ def test_raw_response_update_overload_19(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_19(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -3083,7 +3083,7 @@ def test_streaming_response_update_overload_19(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_19(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3104,7 +3104,7 @@ def test_path_params_update_overload_19(self, client: Cloudflare) -> None: type="TXT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -3117,7 +3117,7 @@ def test_method_update_overload_20(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -3136,7 +3136,7 @@ def test_method_update_with_all_params_overload_20(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_20(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -3153,7 +3153,7 @@ def test_raw_response_update_overload_20(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_20(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -3172,7 +3172,7 @@ def test_streaming_response_update_overload_20(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_20(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3195,7 +3195,6 @@ def test_path_params_update_overload_20(self, client: Cloudflare) -> None: type="URI", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: record = client.dns.records.list( @@ -3203,7 +3202,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: record = client.dns.records.list( @@ -3238,7 +3236,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.list( @@ -3250,7 +3247,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(SyncV4PagePaginationArray[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.list( @@ -3264,7 +3260,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -3272,7 +3267,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: record = client.dns.records.delete( @@ -3281,7 +3275,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.delete( @@ -3294,7 +3287,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.delete( @@ -3309,7 +3301,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -3324,7 +3315,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3336,7 +3327,7 @@ def test_method_edit_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3352,7 +3343,7 @@ def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3368,7 +3359,7 @@ def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3386,7 +3377,7 @@ def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3407,7 +3398,7 @@ def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: type="A", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3419,7 +3410,7 @@ def test_method_edit_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3435,7 +3426,7 @@ def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3451,7 +3442,7 @@ def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3469,7 +3460,7 @@ def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3490,7 +3481,7 @@ def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: type="AAAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3502,7 +3493,7 @@ def test_method_edit_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3521,7 +3512,7 @@ def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3537,7 +3528,7 @@ def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3555,7 +3546,7 @@ def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3576,7 +3567,7 @@ def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: type="CAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3588,7 +3579,7 @@ def test_method_edit_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3608,7 +3599,7 @@ def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3624,7 +3615,7 @@ def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3642,7 +3633,7 @@ def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3663,7 +3654,7 @@ def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: type="CERT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3675,7 +3666,7 @@ def test_method_edit_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3691,7 +3682,7 @@ def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3707,7 +3698,7 @@ def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3725,7 +3716,7 @@ def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3746,7 +3737,7 @@ def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: type="CNAME", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3758,7 +3749,7 @@ def test_method_edit_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3778,7 +3769,7 @@ def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3794,7 +3785,7 @@ def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3812,7 +3803,7 @@ def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3833,7 +3824,7 @@ def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: type="DNSKEY", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3845,7 +3836,7 @@ def test_method_edit_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3865,7 +3856,7 @@ def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3881,7 +3872,7 @@ def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3899,7 +3890,7 @@ def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3920,7 +3911,7 @@ def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: type="DS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3932,7 +3923,7 @@ def test_method_edit_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3951,7 +3942,7 @@ def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3967,7 +3958,7 @@ def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3985,7 +3976,7 @@ def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4006,7 +3997,7 @@ def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: type="HTTPS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4018,7 +4009,7 @@ def test_method_edit_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4046,7 +4037,7 @@ def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4062,7 +4053,7 @@ def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4080,7 +4071,7 @@ def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4101,7 +4092,7 @@ def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: type="LOC", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4114,7 +4105,7 @@ def test_method_edit_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4130,7 +4121,7 @@ def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4147,7 +4138,7 @@ def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4166,7 +4157,7 @@ def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4189,7 +4180,7 @@ def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: type="MX", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4201,7 +4192,7 @@ def test_method_edit_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4223,7 +4214,7 @@ def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4239,7 +4230,7 @@ def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4257,7 +4248,7 @@ def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4278,7 +4269,7 @@ def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: type="NAPTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4290,7 +4281,7 @@ def test_method_edit_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4305,7 +4296,7 @@ def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4321,7 +4312,7 @@ def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4339,7 +4330,7 @@ def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4360,7 +4351,7 @@ def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: type="NS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4372,7 +4363,7 @@ def test_method_edit_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4387,7 +4378,7 @@ def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4403,7 +4394,7 @@ def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4421,7 +4412,7 @@ def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4442,7 +4433,7 @@ def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: type="PTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4454,7 +4445,7 @@ def test_method_edit_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4474,7 +4465,7 @@ def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4490,7 +4481,7 @@ def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4508,7 +4499,7 @@ def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4529,7 +4520,7 @@ def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: type="SMIMEA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4541,7 +4532,7 @@ def test_method_edit_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4564,7 +4555,7 @@ def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4580,7 +4571,7 @@ def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4598,7 +4589,7 @@ def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4619,7 +4610,7 @@ def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: type="SRV", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4631,7 +4622,7 @@ def test_method_edit_overload_16(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4650,7 +4641,7 @@ def test_method_edit_with_all_params_overload_16(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_16(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4666,7 +4657,7 @@ def test_raw_response_edit_overload_16(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_16(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4684,7 +4675,7 @@ def test_streaming_response_edit_overload_16(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4705,7 +4696,7 @@ def test_path_params_edit_overload_16(self, client: Cloudflare) -> None: type="SSHFP", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4717,7 +4708,7 @@ def test_method_edit_overload_17(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4736,7 +4727,7 @@ def test_method_edit_with_all_params_overload_17(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_17(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4752,7 +4743,7 @@ def test_raw_response_edit_overload_17(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_17(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4770,7 +4761,7 @@ def test_streaming_response_edit_overload_17(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4791,7 +4782,7 @@ def test_path_params_edit_overload_17(self, client: Cloudflare) -> None: type="SVCB", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4803,7 +4794,7 @@ def test_method_edit_overload_18(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4823,7 +4814,7 @@ def test_method_edit_with_all_params_overload_18(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_18(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4839,7 +4830,7 @@ def test_raw_response_edit_overload_18(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_18(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4857,7 +4848,7 @@ def test_streaming_response_edit_overload_18(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4878,7 +4869,7 @@ def test_path_params_edit_overload_18(self, client: Cloudflare) -> None: type="TLSA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4890,7 +4881,7 @@ def test_method_edit_overload_19(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4905,7 +4896,7 @@ def test_method_edit_with_all_params_overload_19(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_19(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4921,7 +4912,7 @@ def test_raw_response_edit_overload_19(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_19(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4939,7 +4930,7 @@ def test_streaming_response_edit_overload_19(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -4960,7 +4951,7 @@ def test_path_params_edit_overload_19(self, client: Cloudflare) -> None: type="TXT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4973,7 +4964,7 @@ def test_method_edit_overload_20(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4992,7 +4983,7 @@ def test_method_edit_with_all_params_overload_20(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_20(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -5009,7 +5000,7 @@ def test_raw_response_edit_overload_20(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_20(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -5028,7 +5019,7 @@ def test_streaming_response_edit_overload_20(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -5051,7 +5042,6 @@ def test_path_params_edit_overload_20(self, client: Cloudflare) -> None: type="URI", ) - @pytest.mark.skip() @parametrize def test_method_export(self, client: Cloudflare) -> None: record = client.dns.records.export( @@ -5059,7 +5049,6 @@ def test_method_export(self, client: Cloudflare) -> None: ) assert_matches_type(str, record, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_export(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.export( @@ -5071,7 +5060,6 @@ def test_raw_response_export(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(str, record, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_export(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.export( @@ -5085,7 +5073,6 @@ def test_streaming_response_export(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_export(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5093,7 +5080,6 @@ def test_path_params_export(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: record = client.dns.records.get( @@ -5102,7 +5088,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.get( @@ -5115,7 +5100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.get( @@ -5130,7 +5114,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -5145,7 +5128,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_import(self, client: Cloudflare) -> None: record = client.dns.records.import_( @@ -5154,7 +5137,7 @@ def test_method_import(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_import_with_all_params(self, client: Cloudflare) -> None: record = client.dns.records.import_( @@ -5164,7 +5147,7 @@ def test_method_import_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_import(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.import_( @@ -5177,7 +5160,7 @@ def test_raw_response_import(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_import(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.import_( @@ -5192,7 +5175,7 @@ def test_streaming_response_import(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_import(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5201,7 +5184,6 @@ def test_path_params_import(self, client: Cloudflare) -> None: file="www.example.com. 300 IN A 127.0.0.1", ) - @pytest.mark.skip() @parametrize def test_method_scan(self, client: Cloudflare) -> None: record = client.dns.records.scan( @@ -5210,7 +5192,6 @@ def test_method_scan(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_scan(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.scan( @@ -5223,7 +5204,6 @@ def test_raw_response_scan(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_scan(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.scan( @@ -5238,7 +5218,6 @@ def test_streaming_response_scan(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_scan(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5251,7 +5230,7 @@ def test_path_params_scan(self, client: Cloudflare) -> None: class TestAsyncRecords: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5262,7 +5241,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5277,7 +5256,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.create( @@ -5292,7 +5271,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.create( @@ -5309,7 +5288,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -5320,7 +5299,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare type="A", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5331,7 +5310,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5346,7 +5325,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.create( @@ -5361,7 +5340,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.create( @@ -5378,7 +5357,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -5389,7 +5368,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare type="AAAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5400,7 +5379,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5418,7 +5397,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5433,7 +5412,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5450,7 +5429,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5461,7 +5440,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare type="CAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5472,7 +5451,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5491,7 +5470,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5506,7 +5485,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5523,7 +5502,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5534,7 +5513,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare type="CERT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5545,7 +5524,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5560,7 +5539,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5575,7 +5554,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5592,7 +5571,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5603,7 +5582,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare type="CNAME", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5614,7 +5593,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5633,7 +5612,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5648,7 +5627,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5665,7 +5644,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5676,7 +5655,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare type="DNSKEY", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5687,7 +5666,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5706,7 +5685,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5721,7 +5700,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5738,7 +5717,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5749,7 +5728,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare type="DS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5760,7 +5739,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5778,7 +5757,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5793,7 +5772,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5810,7 +5789,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5821,7 +5800,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare type="HTTPS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5832,7 +5811,7 @@ async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5859,7 +5838,7 @@ async def test_method_create_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5874,7 +5853,7 @@ async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5891,7 +5870,7 @@ async def test_streaming_response_create_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5902,7 +5881,7 @@ async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare type="LOC", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5914,7 +5893,7 @@ async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5929,7 +5908,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5945,7 +5924,7 @@ async def test_raw_response_create_overload_10(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5963,7 +5942,7 @@ async def test_streaming_response_create_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5975,7 +5954,7 @@ async def test_path_params_create_overload_10(self, async_client: AsyncCloudflar type="MX", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5986,7 +5965,7 @@ async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6007,7 +5986,7 @@ async def test_method_create_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6022,7 +6001,7 @@ async def test_raw_response_create_overload_11(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6039,7 +6018,7 @@ async def test_streaming_response_create_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6050,7 +6029,7 @@ async def test_path_params_create_overload_11(self, async_client: AsyncCloudflar type="NAPTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6061,7 +6040,7 @@ async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6075,7 +6054,7 @@ async def test_method_create_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6090,7 +6069,7 @@ async def test_raw_response_create_overload_12(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6107,7 +6086,7 @@ async def test_streaming_response_create_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6118,7 +6097,7 @@ async def test_path_params_create_overload_12(self, async_client: AsyncCloudflar type="NS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6129,7 +6108,7 @@ async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6143,7 +6122,7 @@ async def test_method_create_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6158,7 +6137,7 @@ async def test_raw_response_create_overload_13(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6175,7 +6154,7 @@ async def test_streaming_response_create_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6186,7 +6165,7 @@ async def test_path_params_create_overload_13(self, async_client: AsyncCloudflar type="PTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6197,7 +6176,7 @@ async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6216,7 +6195,7 @@ async def test_method_create_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6231,7 +6210,7 @@ async def test_raw_response_create_overload_14(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6248,7 +6227,7 @@ async def test_streaming_response_create_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6259,7 +6238,7 @@ async def test_path_params_create_overload_14(self, async_client: AsyncCloudflar type="SMIMEA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6270,7 +6249,7 @@ async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6292,7 +6271,7 @@ async def test_method_create_with_all_params_overload_15(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6307,7 +6286,7 @@ async def test_raw_response_create_overload_15(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6324,7 +6303,7 @@ async def test_streaming_response_create_overload_15(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6335,7 +6314,7 @@ async def test_path_params_create_overload_15(self, async_client: AsyncCloudflar type="SRV", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6346,7 +6325,7 @@ async def test_method_create_overload_16(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6364,7 +6343,7 @@ async def test_method_create_with_all_params_overload_16(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_16(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6379,7 +6358,7 @@ async def test_raw_response_create_overload_16(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_16(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6396,7 +6375,7 @@ async def test_streaming_response_create_overload_16(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_16(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6407,7 +6386,7 @@ async def test_path_params_create_overload_16(self, async_client: AsyncCloudflar type="SSHFP", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6418,7 +6397,7 @@ async def test_method_create_overload_17(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6436,7 +6415,7 @@ async def test_method_create_with_all_params_overload_17(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_17(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6451,7 +6430,7 @@ async def test_raw_response_create_overload_17(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_17(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6468,7 +6447,7 @@ async def test_streaming_response_create_overload_17(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_17(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6479,7 +6458,7 @@ async def test_path_params_create_overload_17(self, async_client: AsyncCloudflar type="SVCB", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6490,7 +6469,7 @@ async def test_method_create_overload_18(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6509,7 +6488,7 @@ async def test_method_create_with_all_params_overload_18(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_18(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6524,7 +6503,7 @@ async def test_raw_response_create_overload_18(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_18(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6541,7 +6520,7 @@ async def test_streaming_response_create_overload_18(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_18(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6552,7 +6531,7 @@ async def test_path_params_create_overload_18(self, async_client: AsyncCloudflar type="TLSA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6563,7 +6542,7 @@ async def test_method_create_overload_19(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6577,7 +6556,7 @@ async def test_method_create_with_all_params_overload_19(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_19(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6592,7 +6571,7 @@ async def test_raw_response_create_overload_19(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_19(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6609,7 +6588,7 @@ async def test_streaming_response_create_overload_19(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_19(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6620,7 +6599,7 @@ async def test_path_params_create_overload_19(self, async_client: AsyncCloudflar type="TXT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6632,7 +6611,7 @@ async def test_method_create_overload_20(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6650,7 +6629,7 @@ async def test_method_create_with_all_params_overload_20(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_20(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6666,7 +6645,7 @@ async def test_raw_response_create_overload_20(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_20(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6684,7 +6663,7 @@ async def test_streaming_response_create_overload_20(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_20(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6696,7 +6675,7 @@ async def test_path_params_create_overload_20(self, async_client: AsyncCloudflar type="URI", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6708,7 +6687,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6724,7 +6703,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.update( @@ -6740,7 +6719,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.update( @@ -6758,7 +6737,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -6779,7 +6758,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare type="A", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6791,7 +6770,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6807,7 +6786,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.update( @@ -6823,7 +6802,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.update( @@ -6841,7 +6820,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -6862,7 +6841,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare type="AAAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6874,7 +6853,7 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6893,7 +6872,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.update( @@ -6909,7 +6888,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.update( @@ -6927,7 +6906,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `zone_id` but received ''"): @@ -6948,7 +6927,7 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare type="CAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6960,7 +6939,7 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6980,7 +6959,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6996,7 +6975,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7014,7 +6993,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7035,7 +7014,7 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare type="CERT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7047,7 +7026,7 @@ async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7063,7 +7042,7 @@ async def test_method_update_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7079,7 +7058,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7097,7 +7076,7 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7118,7 +7097,7 @@ async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare type="CNAME", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7130,7 +7109,7 @@ async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7150,7 +7129,7 @@ async def test_method_update_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7166,7 +7145,7 @@ async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7184,7 +7163,7 @@ async def test_streaming_response_update_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7205,7 +7184,7 @@ async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare type="DNSKEY", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7217,7 +7196,7 @@ async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7237,7 +7216,7 @@ async def test_method_update_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7253,7 +7232,7 @@ async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7271,7 +7250,7 @@ async def test_streaming_response_update_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7292,7 +7271,7 @@ async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare type="DS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7304,7 +7283,7 @@ async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7323,7 +7302,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7339,7 +7318,7 @@ async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7357,7 +7336,7 @@ async def test_streaming_response_update_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7378,7 +7357,7 @@ async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare type="HTTPS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7390,7 +7369,7 @@ async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7418,7 +7397,7 @@ async def test_method_update_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7434,7 +7413,7 @@ async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7452,7 +7431,7 @@ async def test_streaming_response_update_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7473,7 +7452,7 @@ async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare type="LOC", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7486,7 +7465,7 @@ async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7502,7 +7481,7 @@ async def test_method_update_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7519,7 +7498,7 @@ async def test_raw_response_update_overload_10(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7538,7 +7517,7 @@ async def test_streaming_response_update_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7561,7 +7540,7 @@ async def test_path_params_update_overload_10(self, async_client: AsyncCloudflar type="MX", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7573,7 +7552,7 @@ async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7595,7 +7574,7 @@ async def test_method_update_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7611,7 +7590,7 @@ async def test_raw_response_update_overload_11(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7629,7 +7608,7 @@ async def test_streaming_response_update_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7650,7 +7629,7 @@ async def test_path_params_update_overload_11(self, async_client: AsyncCloudflar type="NAPTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7662,7 +7641,7 @@ async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7677,7 +7656,7 @@ async def test_method_update_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7693,7 +7672,7 @@ async def test_raw_response_update_overload_12(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7711,7 +7690,7 @@ async def test_streaming_response_update_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7732,7 +7711,7 @@ async def test_path_params_update_overload_12(self, async_client: AsyncCloudflar type="NS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7744,7 +7723,7 @@ async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7759,7 +7738,7 @@ async def test_method_update_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7775,7 +7754,7 @@ async def test_raw_response_update_overload_13(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7793,7 +7772,7 @@ async def test_streaming_response_update_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7814,7 +7793,7 @@ async def test_path_params_update_overload_13(self, async_client: AsyncCloudflar type="PTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7826,7 +7805,7 @@ async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7846,7 +7825,7 @@ async def test_method_update_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7862,7 +7841,7 @@ async def test_raw_response_update_overload_14(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7880,7 +7859,7 @@ async def test_streaming_response_update_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7901,7 +7880,7 @@ async def test_path_params_update_overload_14(self, async_client: AsyncCloudflar type="SMIMEA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7913,7 +7892,7 @@ async def test_method_update_overload_15(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7936,7 +7915,7 @@ async def test_method_update_with_all_params_overload_15(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7952,7 +7931,7 @@ async def test_raw_response_update_overload_15(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7970,7 +7949,7 @@ async def test_streaming_response_update_overload_15(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7991,7 +7970,7 @@ async def test_path_params_update_overload_15(self, async_client: AsyncCloudflar type="SRV", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8003,7 +7982,7 @@ async def test_method_update_overload_16(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8022,7 +8001,7 @@ async def test_method_update_with_all_params_overload_16(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_16(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -8038,7 +8017,7 @@ async def test_raw_response_update_overload_16(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_16(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -8056,7 +8035,7 @@ async def test_streaming_response_update_overload_16(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_16(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8077,7 +8056,7 @@ async def test_path_params_update_overload_16(self, async_client: AsyncCloudflar type="SSHFP", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8089,7 +8068,7 @@ async def test_method_update_overload_17(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8108,7 +8087,7 @@ async def test_method_update_with_all_params_overload_17(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_17(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -8124,7 +8103,7 @@ async def test_raw_response_update_overload_17(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_17(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -8142,7 +8121,7 @@ async def test_streaming_response_update_overload_17(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_17(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8163,7 +8142,7 @@ async def test_path_params_update_overload_17(self, async_client: AsyncCloudflar type="SVCB", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8175,7 +8154,7 @@ async def test_method_update_overload_18(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8195,7 +8174,7 @@ async def test_method_update_with_all_params_overload_18(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_18(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -8211,7 +8190,7 @@ async def test_raw_response_update_overload_18(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_18(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -8229,7 +8208,7 @@ async def test_streaming_response_update_overload_18(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_18(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8250,7 +8229,7 @@ async def test_path_params_update_overload_18(self, async_client: AsyncCloudflar type="TLSA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8262,7 +8241,7 @@ async def test_method_update_overload_19(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8277,7 +8256,7 @@ async def test_method_update_with_all_params_overload_19(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_19(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -8293,7 +8272,7 @@ async def test_raw_response_update_overload_19(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_19(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -8311,7 +8290,7 @@ async def test_streaming_response_update_overload_19(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_19(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8332,7 +8311,7 @@ async def test_path_params_update_overload_19(self, async_client: AsyncCloudflar type="TXT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8345,7 +8324,7 @@ async def test_method_update_overload_20(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -8364,7 +8343,7 @@ async def test_method_update_with_all_params_overload_20(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_20(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -8381,7 +8360,7 @@ async def test_raw_response_update_overload_20(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_20(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -8400,7 +8379,7 @@ async def test_streaming_response_update_overload_20(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_20(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8423,7 +8402,6 @@ async def test_path_params_update_overload_20(self, async_client: AsyncCloudflar type="URI", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.list( @@ -8431,7 +8409,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.list( @@ -8466,7 +8443,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.list( @@ -8478,7 +8454,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.list( @@ -8492,7 +8467,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -8500,7 +8474,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.delete( @@ -8509,7 +8482,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.delete( @@ -8522,7 +8494,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.delete( @@ -8537,7 +8508,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -8552,7 +8522,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8564,7 +8534,7 @@ async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8580,7 +8550,7 @@ async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -8596,7 +8566,7 @@ async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -8614,7 +8584,7 @@ async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -8635,7 +8605,7 @@ async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) type="A", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8647,7 +8617,7 @@ async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8663,7 +8633,7 @@ async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -8679,7 +8649,7 @@ async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -8697,7 +8667,7 @@ async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -8718,7 +8688,7 @@ async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) type="AAAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8730,7 +8700,7 @@ async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8749,7 +8719,7 @@ async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -8765,7 +8735,7 @@ async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -8783,7 +8753,7 @@ async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -8804,7 +8774,7 @@ async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) type="CAA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8816,7 +8786,7 @@ async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8836,7 +8806,7 @@ async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -8852,7 +8822,7 @@ async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -8870,7 +8840,7 @@ async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -8891,7 +8861,7 @@ async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) type="CERT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8903,7 +8873,7 @@ async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8919,7 +8889,7 @@ async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -8935,7 +8905,7 @@ async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -8953,7 +8923,7 @@ async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -8974,7 +8944,7 @@ async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) type="CNAME", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8986,7 +8956,7 @@ async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9006,7 +8976,7 @@ async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9022,7 +8992,7 @@ async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9040,7 +9010,7 @@ async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9061,7 +9031,7 @@ async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) type="DNSKEY", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9073,7 +9043,7 @@ async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9093,7 +9063,7 @@ async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9109,7 +9079,7 @@ async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9127,7 +9097,7 @@ async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9148,7 +9118,7 @@ async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) type="DS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9160,7 +9130,7 @@ async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9179,7 +9149,7 @@ async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9195,7 +9165,7 @@ async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9213,7 +9183,7 @@ async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9234,7 +9204,7 @@ async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) type="HTTPS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9246,7 +9216,7 @@ async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9274,7 +9244,7 @@ async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9290,7 +9260,7 @@ async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9308,7 +9278,7 @@ async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9329,7 +9299,7 @@ async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) type="LOC", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9342,7 +9312,7 @@ async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9358,7 +9328,7 @@ async def test_method_edit_with_all_params_overload_10(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9375,7 +9345,7 @@ async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9394,7 +9364,7 @@ async def test_streaming_response_edit_overload_10(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9417,7 +9387,7 @@ async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) type="MX", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9429,7 +9399,7 @@ async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9451,7 +9421,7 @@ async def test_method_edit_with_all_params_overload_11(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9467,7 +9437,7 @@ async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9485,7 +9455,7 @@ async def test_streaming_response_edit_overload_11(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9506,7 +9476,7 @@ async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) type="NAPTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9518,7 +9488,7 @@ async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9533,7 +9503,7 @@ async def test_method_edit_with_all_params_overload_12(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9549,7 +9519,7 @@ async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9567,7 +9537,7 @@ async def test_streaming_response_edit_overload_12(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9588,7 +9558,7 @@ async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) type="NS", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9600,7 +9570,7 @@ async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9615,7 +9585,7 @@ async def test_method_edit_with_all_params_overload_13(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9631,7 +9601,7 @@ async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9649,7 +9619,7 @@ async def test_streaming_response_edit_overload_13(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9670,7 +9640,7 @@ async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) type="PTR", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9682,7 +9652,7 @@ async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9702,7 +9672,7 @@ async def test_method_edit_with_all_params_overload_14(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9718,7 +9688,7 @@ async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9736,7 +9706,7 @@ async def test_streaming_response_edit_overload_14(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9757,7 +9727,7 @@ async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) type="SMIMEA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9769,7 +9739,7 @@ async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9792,7 +9762,7 @@ async def test_method_edit_with_all_params_overload_15(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9808,7 +9778,7 @@ async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9826,7 +9796,7 @@ async def test_streaming_response_edit_overload_15(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9847,7 +9817,7 @@ async def test_path_params_edit_overload_15(self, async_client: AsyncCloudflare) type="SRV", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9859,7 +9829,7 @@ async def test_method_edit_overload_16(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9878,7 +9848,7 @@ async def test_method_edit_with_all_params_overload_16(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9894,7 +9864,7 @@ async def test_raw_response_edit_overload_16(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9912,7 +9882,7 @@ async def test_streaming_response_edit_overload_16(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -9933,7 +9903,7 @@ async def test_path_params_edit_overload_16(self, async_client: AsyncCloudflare) type="SSHFP", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9945,7 +9915,7 @@ async def test_method_edit_overload_17(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9964,7 +9934,7 @@ async def test_method_edit_with_all_params_overload_17(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -9980,7 +9950,7 @@ async def test_raw_response_edit_overload_17(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -9998,7 +9968,7 @@ async def test_streaming_response_edit_overload_17(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -10019,7 +9989,7 @@ async def test_path_params_edit_overload_17(self, async_client: AsyncCloudflare) type="SVCB", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -10031,7 +10001,7 @@ async def test_method_edit_overload_18(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -10051,7 +10021,7 @@ async def test_method_edit_with_all_params_overload_18(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -10067,7 +10037,7 @@ async def test_raw_response_edit_overload_18(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -10085,7 +10055,7 @@ async def test_streaming_response_edit_overload_18(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -10106,7 +10076,7 @@ async def test_path_params_edit_overload_18(self, async_client: AsyncCloudflare) type="TLSA", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -10118,7 +10088,7 @@ async def test_method_edit_overload_19(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -10133,7 +10103,7 @@ async def test_method_edit_with_all_params_overload_19(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -10149,7 +10119,7 @@ async def test_raw_response_edit_overload_19(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -10167,7 +10137,7 @@ async def test_streaming_response_edit_overload_19(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -10188,7 +10158,7 @@ async def test_path_params_edit_overload_19(self, async_client: AsyncCloudflare) type="TXT", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -10201,7 +10171,7 @@ async def test_method_edit_overload_20(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -10220,7 +10190,7 @@ async def test_method_edit_with_all_params_overload_20(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_raw_response.edit( @@ -10237,7 +10207,7 @@ async def test_raw_response_edit_overload_20(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() + @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.dns.records.with_streaming_response.edit( @@ -10256,7 +10226,7 @@ async def test_streaming_response_edit_overload_20(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -10279,7 +10249,6 @@ async def test_path_params_edit_overload_20(self, async_client: AsyncCloudflare) type="URI", ) - @pytest.mark.skip() @parametrize async def test_method_export(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.export( @@ -10287,7 +10256,6 @@ async def test_method_export(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_export(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.export( @@ -10299,7 +10267,6 @@ async def test_raw_response_export(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(str, record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_export(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.export( @@ -10313,7 +10280,6 @@ async def test_streaming_response_export(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_export(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -10321,7 +10287,6 @@ async def test_path_params_export(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.get( @@ -10330,7 +10295,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.get( @@ -10343,7 +10307,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.get( @@ -10358,7 +10321,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -10373,7 +10335,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_import(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.import_( @@ -10382,7 +10344,7 @@ async def test_method_import(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_import_with_all_params(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.import_( @@ -10392,7 +10354,7 @@ async def test_method_import_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_import(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.import_( @@ -10405,7 +10367,7 @@ async def test_raw_response_import(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_import(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.import_( @@ -10420,7 +10382,7 @@ async def test_streaming_response_import(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_import(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -10429,7 +10391,6 @@ async def test_path_params_import(self, async_client: AsyncCloudflare) -> None: file="www.example.com. 300 IN A 127.0.0.1", ) - @pytest.mark.skip() @parametrize async def test_method_scan(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.scan( @@ -10438,7 +10399,6 @@ async def test_method_scan(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.scan( @@ -10451,7 +10411,6 @@ async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.scan( @@ -10466,7 +10425,6 @@ async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_scan(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/durable_objects/namespaces/test_objects.py b/tests/api_resources/durable_objects/namespaces/test_objects.py index 3273c4e5eda..a68e090542a 100644 --- a/tests/api_resources/durable_objects/namespaces/test_objects.py +++ b/tests/api_resources/durable_objects/namespaces/test_objects.py @@ -18,7 +18,6 @@ class TestObjects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: object = client.durable_objects.namespaces.objects.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[DurableObject], object, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: object = client.durable_objects.namespaces.objects.list( @@ -38,7 +36,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[DurableObject], object, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.durable_objects.namespaces.objects.with_raw_response.list( @@ -51,7 +48,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: object = response.parse() assert_matches_type(SyncCursorLimitPagination[DurableObject], object, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.durable_objects.namespaces.objects.with_streaming_response.list( @@ -66,7 +62,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -85,7 +80,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncObjects: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: object = await async_client.durable_objects.namespaces.objects.list( @@ -94,7 +88,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorLimitPagination[DurableObject], object, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: object = await async_client.durable_objects.namespaces.objects.list( @@ -105,7 +98,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorLimitPagination[DurableObject], object, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.durable_objects.namespaces.objects.with_raw_response.list( @@ -118,7 +110,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: object = await response.parse() assert_matches_type(AsyncCursorLimitPagination[DurableObject], object, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.durable_objects.namespaces.objects.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() @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/durable_objects/test_namespaces.py b/tests/api_resources/durable_objects/test_namespaces.py index ca9f1d784cc..db836e379cd 100644 --- a/tests/api_resources/durable_objects/test_namespaces.py +++ b/tests/api_resources/durable_objects/test_namespaces.py @@ -18,7 +18,6 @@ class TestNamespaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: namespace = client.durable_objects.namespaces.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.durable_objects.namespaces.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(SyncSinglePage[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.durable_objects.namespaces.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() @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 TestAsyncNamespaces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.durable_objects.namespaces.list( @@ -72,7 +67,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.durable_objects.namespaces.with_raw_response.list( @@ -84,7 +78,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(AsyncSinglePage[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.durable_objects.namespaces.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() @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/email_routing/rules/test_catch_alls.py b/tests/api_resources/email_routing/rules/test_catch_alls.py index e0901a6d600..1e50ffb3147 100644 --- a/tests/api_resources/email_routing/rules/test_catch_alls.py +++ b/tests/api_resources/email_routing/rules/test_catch_alls.py @@ -17,7 +17,6 @@ class TestCatchAlls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: catch_all = client.email_routing.rules.catch_alls.update( @@ -27,7 +26,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: catch_all = client.email_routing.rules.catch_alls.update( @@ -64,7 +62,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.email_routing.rules.catch_alls.with_raw_response.update( @@ -78,7 +75,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: catch_all = response.parse() assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.email_routing.rules.catch_alls.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() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -104,7 +99,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: matchers=[{"type": "all"}, {"type": "all"}, {"type": "all"}], ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: catch_all = client.email_routing.rules.catch_alls.get( @@ -112,7 +106,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.rules.catch_alls.with_raw_response.get( @@ -124,7 +117,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: catch_all = response.parse() assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.rules.catch_alls.with_streaming_response.get( @@ -138,7 +130,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -150,7 +141,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCatchAlls: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: catch_all = await async_client.email_routing.rules.catch_alls.update( @@ -160,7 +150,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: catch_all = await async_client.email_routing.rules.catch_alls.update( @@ -197,7 +186,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.catch_alls.with_raw_response.update( @@ -211,7 +199,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: catch_all = await response.parse() assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.catch_alls.with_streaming_response.update( @@ -227,7 +214,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -237,7 +223,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: matchers=[{"type": "all"}, {"type": "all"}, {"type": "all"}], ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: catch_all = await async_client.email_routing.rules.catch_alls.get( @@ -245,7 +230,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.catch_alls.with_raw_response.get( @@ -257,7 +241,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: catch_all = await response.parse() assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.catch_alls.with_streaming_response.get( @@ -271,7 +254,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/email_routing/test_addresses.py b/tests/api_resources/email_routing/test_addresses.py index 76bbe3c7794..82e7f13e617 100644 --- a/tests/api_resources/email_routing/test_addresses.py +++ b/tests/api_resources/email_routing/test_addresses.py @@ -18,7 +18,6 @@ class TestAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: address = client.email_routing.addresses.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.create( @@ -40,7 +38,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.email_routing.addresses.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() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -64,7 +60,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: email="user@example.com", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: address = client.email_routing.addresses.list( @@ -72,7 +67,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Address], address, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: address = client.email_routing.addresses.list( @@ -84,7 +78,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Address], address, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.list( @@ -96,7 +89,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(SyncV4PagePaginationArray[Address], address, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.email_routing.addresses.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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -118,7 +109,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: address = client.email_routing.addresses.delete( @@ -127,7 +117,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.delete( @@ -140,7 +129,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.email_routing.addresses.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() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -172,7 +159,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: address = client.email_routing.addresses.get( @@ -181,7 +167,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.get( @@ -194,7 +179,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.addresses.with_streaming_response.get( @@ -209,7 +193,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -230,7 +213,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAddresses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.create( @@ -239,7 +221,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.create( @@ -252,7 +233,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.create( @@ -267,7 +247,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -276,7 +255,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: email="user@example.com", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.list( @@ -284,7 +262,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Address], address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.list( @@ -296,7 +273,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Address], address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.list( @@ -308,7 +284,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Address], address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.list( @@ -322,7 +297,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -330,7 +304,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.delete( @@ -339,7 +312,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.delete( @@ -352,7 +324,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.delete( @@ -367,7 +338,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -384,7 +354,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.get( @@ -393,7 +362,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.get( @@ -406,7 +374,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(Address, address, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.get( @@ -421,7 +388,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/email_routing/test_dns.py b/tests/api_resources/email_routing/test_dns.py index c4831f6464d..0cee3728995 100644 --- a/tests/api_resources/email_routing/test_dns.py +++ b/tests/api_resources/email_routing/test_dns.py @@ -17,7 +17,6 @@ class TestDNS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dns = client.email_routing.dns.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.dns.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dns = response.parse() assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.dns.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDNS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dns = await async_client.email_routing.dns.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.dns.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dns = await response.parse() assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.dns.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() @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_identifier` but received ''"): diff --git a/tests/api_resources/email_routing/test_rules.py b/tests/api_resources/email_routing/test_rules.py index f38bc2e6c60..10e890b4d0e 100644 --- a/tests/api_resources/email_routing/test_rules.py +++ b/tests/api_resources/email_routing/test_rules.py @@ -18,7 +18,6 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.email_routing.rules.create( @@ -69,7 +68,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.email_routing.rules.create( @@ -123,7 +121,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.create( @@ -178,7 +175,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.create( @@ -235,7 +231,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -286,7 +281,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.email_routing.rules.update( @@ -338,7 +332,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.email_routing.rules.update( @@ -393,7 +386,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.update( @@ -449,7 +441,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.update( @@ -507,7 +498,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -608,7 +598,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.email_routing.rules.list( @@ -616,7 +605,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rule = client.email_routing.rules.list( @@ -627,7 +615,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.list( @@ -639,7 +626,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.list( @@ -653,7 +639,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -661,7 +646,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.email_routing.rules.delete( @@ -670,7 +654,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.delete( @@ -683,7 +666,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.delete( @@ -698,7 +680,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -713,7 +694,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.email_routing.rules.get( @@ -722,7 +702,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.get( @@ -735,7 +714,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.get( @@ -750,7 +728,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -769,7 +746,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.create( @@ -820,7 +796,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.create( @@ -874,7 +849,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.create( @@ -929,7 +903,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.create( @@ -986,7 +959,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -1037,7 +1009,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.update( @@ -1089,7 +1060,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.update( @@ -1144,7 +1114,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.update( @@ -1200,7 +1169,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.update( @@ -1258,7 +1226,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -1359,7 +1326,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.list( @@ -1367,7 +1333,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.list( @@ -1378,7 +1343,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.list( @@ -1390,7 +1354,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.list( @@ -1404,7 +1367,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -1412,7 +1374,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.delete( @@ -1421,7 +1382,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.delete( @@ -1434,7 +1394,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.delete( @@ -1449,7 +1408,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -1464,7 +1422,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.get( @@ -1473,7 +1430,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.get( @@ -1486,7 +1442,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.get( @@ -1501,7 +1456,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/event_notifications/r2/configuration/test_queues.py b/tests/api_resources/event_notifications/r2/configuration/test_queues.py index 86d44184798..a0fd0bc166d 100644 --- a/tests/api_resources/event_notifications/r2/configuration/test_queues.py +++ b/tests/api_resources/event_notifications/r2/configuration/test_queues.py @@ -20,7 +20,6 @@ class TestQueues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: queue = client.event_notifications.r2.configuration.queues.update( @@ -30,7 +29,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: queue = client.event_notifications.r2.configuration.queues.update( @@ -57,7 +55,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.event_notifications.r2.configuration.queues.with_raw_response.update( @@ -71,7 +68,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(QueueUpdateResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.event_notifications.r2.configuration.queues.with_streaming_response.update( @@ -87,7 +83,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -111,7 +106,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: bucket_name="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: queue = client.event_notifications.r2.configuration.queues.delete( @@ -121,7 +115,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(QueueDeleteResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.event_notifications.r2.configuration.queues.with_raw_response.delete( @@ -135,7 +128,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(QueueDeleteResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.event_notifications.r2.configuration.queues.with_streaming_response.delete( @@ -151,7 +143,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -179,7 +170,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncQueues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: queue = await async_client.event_notifications.r2.configuration.queues.update( @@ -189,7 +179,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: queue = await async_client.event_notifications.r2.configuration.queues.update( @@ -216,7 +205,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.event_notifications.r2.configuration.queues.with_raw_response.update( @@ -230,7 +218,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(QueueUpdateResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.event_notifications.r2.configuration.queues.with_streaming_response.update( @@ -246,7 +233,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -270,7 +256,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: bucket_name="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: queue = await async_client.event_notifications.r2.configuration.queues.delete( @@ -280,7 +265,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(QueueDeleteResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.event_notifications.r2.configuration.queues.with_raw_response.delete( @@ -294,7 +278,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(QueueDeleteResponse, queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.event_notifications.r2.configuration.queues.with_streaming_response.delete( @@ -310,7 +293,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/event_notifications/r2/test_configuration.py b/tests/api_resources/event_notifications/r2/test_configuration.py index 7fb8bfb1965..0b4dd17ff6f 100644 --- a/tests/api_resources/event_notifications/r2/test_configuration.py +++ b/tests/api_resources/event_notifications/r2/test_configuration.py @@ -17,7 +17,6 @@ class TestConfiguration: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.event_notifications.r2.configuration.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.event_notifications.r2.configuration.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.event_notifications.r2.configuration.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() @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 TestAsyncConfiguration: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.event_notifications.r2.configuration.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.event_notifications.r2.configuration.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.event_notifications.r2.configuration.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() @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/firewall/test_access_rules.py b/tests/api_resources/firewall/test_access_rules.py index d89f4bda7f7..cbd750fda04 100644 --- a/tests/api_resources/firewall/test_access_rules.py +++ b/tests/api_resources/firewall/test_access_rules.py @@ -23,7 +23,7 @@ class TestAccessRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.create( @@ -47,7 +47,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.create( @@ -61,7 +61,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.create( @@ -77,7 +77,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +94,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.list( @@ -102,7 +102,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.list( @@ -127,7 +127,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.list( @@ -139,7 +139,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.list( @@ -153,7 +153,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -166,7 +166,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.delete( @@ -175,7 +175,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.delete( @@ -184,7 +184,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.delete( @@ -197,7 +197,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.delete( @@ -212,7 +212,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -227,7 +227,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.edit( @@ -238,7 +238,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.edit( @@ -253,7 +253,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.edit( @@ -268,7 +268,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.edit( @@ -285,7 +285,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -304,7 +304,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.get( @@ -313,7 +313,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.get( @@ -322,7 +322,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.get( @@ -335,7 +335,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.get( @@ -350,7 +350,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -369,7 +369,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAccessRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.create( @@ -379,7 +379,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.create( @@ -393,7 +393,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.create( @@ -407,7 +407,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.create( @@ -423,7 +423,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -440,7 +440,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.list( @@ -448,7 +448,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[object], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.list( @@ -473,7 +473,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.list( @@ -485,7 +485,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.list( @@ -499,7 +499,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +512,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.delete( @@ -521,7 +521,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.delete( @@ -530,7 +530,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.delete( @@ -543,7 +543,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.delete( @@ -558,7 +558,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -573,7 +573,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.edit( @@ -584,7 +584,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.edit( @@ -599,7 +599,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.edit( @@ -614,7 +614,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.edit( @@ -631,7 +631,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -650,7 +650,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.get( @@ -659,7 +659,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.get( @@ -668,7 +668,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.get( @@ -681,7 +681,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.get( @@ -696,7 +696,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/firewall/test_lockdowns.py b/tests/api_resources/firewall/test_lockdowns.py index 1088333aaa4..45a8768e630 100644 --- a/tests/api_resources/firewall/test_lockdowns.py +++ b/tests/api_resources/firewall/test_lockdowns.py @@ -22,7 +22,7 @@ class TestLockdowns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.create( @@ -31,7 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.create( @@ -44,7 +44,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.create( @@ -59,7 +59,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -68,7 +68,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.update( @@ -78,7 +78,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.update( @@ -92,7 +92,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.update( @@ -108,7 +108,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -125,7 +125,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.list( @@ -133,7 +132,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.list( @@ -152,7 +150,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.list( @@ -164,7 +161,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(SyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.list( @@ -178,7 +174,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -186,7 +181,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.delete( @@ -195,7 +189,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.delete( @@ -208,7 +201,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.delete( @@ -223,7 +215,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -238,7 +229,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.get( @@ -247,7 +237,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.get( @@ -260,7 +249,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.get( @@ -275,7 +263,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -294,7 +281,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLockdowns: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.create( @@ -303,7 +290,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.create( @@ -316,7 +303,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.create( @@ -331,7 +318,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -340,7 +327,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.update( @@ -350,7 +337,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.update( @@ -364,7 +351,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.update( @@ -380,7 +367,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -397,7 +384,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.list( @@ -405,7 +391,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.list( @@ -424,7 +409,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.list( @@ -436,7 +420,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.list( @@ -450,7 +433,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -458,7 +440,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.delete( @@ -467,7 +448,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.delete( @@ -480,7 +460,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.delete( @@ -495,7 +474,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -510,7 +488,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.get( @@ -519,7 +496,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.get( @@ -532,7 +508,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.get( @@ -547,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() @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_identifier` but received ''"): diff --git a/tests/api_resources/firewall/test_rules.py b/tests/api_resources/firewall/test_rules.py index 516da154557..7ae57fa47e3 100644 --- a/tests/api_resources/firewall/test_rules.py +++ b/tests/api_resources/firewall/test_rules.py @@ -22,7 +22,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.firewall.rules.create( @@ -31,7 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.create( @@ -44,7 +44,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.create( @@ -59,7 +59,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -68,7 +68,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.firewall.rules.update( @@ -78,7 +78,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.update( @@ -92,7 +92,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.update( @@ -108,7 +108,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -125,7 +125,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.firewall.rules.list( @@ -133,7 +132,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.rules.list( @@ -147,7 +145,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.list( @@ -159,7 +156,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.list( @@ -173,7 +169,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -181,7 +176,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.firewall.rules.delete( @@ -190,7 +184,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.delete( @@ -203,7 +196,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.delete( @@ -218,7 +210,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -233,7 +224,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.firewall.rules.edit( @@ -243,7 +234,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.edit( @@ -257,7 +248,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.edit( @@ -273,7 +264,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -290,7 +281,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.firewall.rules.get( @@ -299,7 +289,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.rules.get( @@ -309,7 +298,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.get( @@ -322,7 +310,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.get( @@ -337,7 +324,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): @@ -357,7 +343,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.create( @@ -366,7 +352,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.create( @@ -379,7 +365,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.create( @@ -394,7 +380,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -403,7 +389,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.update( @@ -413,7 +399,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.update( @@ -427,7 +413,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.update( @@ -443,7 +429,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -460,7 +446,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.list( @@ -468,7 +453,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.list( @@ -482,7 +466,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.list( @@ -494,7 +477,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.list( @@ -508,7 +490,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -516,7 +497,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.delete( @@ -525,7 +505,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.delete( @@ -538,7 +517,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.delete( @@ -553,7 +531,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -568,7 +545,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.edit( @@ -578,7 +555,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.edit( @@ -592,7 +569,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.edit( @@ -608,7 +585,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -625,7 +602,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.get( @@ -634,7 +610,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.get( @@ -644,7 +619,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.get( @@ -657,7 +631,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.get( @@ -672,7 +645,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): diff --git a/tests/api_resources/firewall/test_ua_rules.py b/tests/api_resources/firewall/test_ua_rules.py index 13eaa876ad5..2397df21b87 100644 --- a/tests/api_resources/firewall/test_ua_rules.py +++ b/tests/api_resources/firewall/test_ua_rules.py @@ -24,7 +24,7 @@ class TestUARules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.create( @@ -46,7 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.create( @@ -61,7 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -70,7 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.update( @@ -80,7 +80,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.update( @@ -94,7 +94,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.update( @@ -110,7 +110,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -127,7 +127,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.list( @@ -135,7 +134,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.list( @@ -148,7 +146,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.list( @@ -160,7 +157,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.list( @@ -174,7 +170,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -182,7 +177,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.delete( @@ -191,7 +185,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.delete( @@ -204,7 +197,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.delete( @@ -219,7 +211,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -234,7 +225,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.get( @@ -243,7 +233,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.get( @@ -256,7 +245,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.get( @@ -271,7 +259,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -290,7 +277,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncUARules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.create( @@ -299,7 +286,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.create( @@ -312,7 +299,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.create( @@ -327,7 +314,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -336,7 +323,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.update( @@ -346,7 +333,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.update( @@ -360,7 +347,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.update( @@ -376,7 +363,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -393,7 +380,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.list( @@ -401,7 +387,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.list( @@ -414,7 +399,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.list( @@ -426,7 +410,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.list( @@ -440,7 +423,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -448,7 +430,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.delete( @@ -457,7 +438,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.delete( @@ -470,7 +450,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.delete( @@ -485,7 +464,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -500,7 +478,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.get( @@ -509,7 +486,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.get( @@ -522,7 +498,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.get( @@ -537,7 +512,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/firewall/waf/packages/test_groups.py b/tests/api_resources/firewall/waf/packages/test_groups.py index 9fc8f82f467..b07aff7ed9d 100644 --- a/tests/api_resources/firewall/waf/packages/test_groups.py +++ b/tests/api_resources/firewall/waf/packages/test_groups.py @@ -22,7 +22,6 @@ class TestGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.list( @@ -31,7 +30,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Group], group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.list( @@ -48,7 +46,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Group], group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.groups.with_raw_response.list( @@ -61,7 +58,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(SyncV4PagePaginationArray[Group], group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.packages.groups.with_streaming_response.list( @@ -76,7 +72,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -91,7 +86,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.edit( @@ -101,7 +95,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(GroupEditResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.edit( @@ -112,7 +105,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(GroupEditResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.groups.with_raw_response.edit( @@ -126,7 +118,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(GroupEditResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.waf.packages.groups.with_streaming_response.edit( @@ -142,7 +133,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -166,7 +156,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.get( @@ -176,7 +165,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(GroupGetResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.groups.with_raw_response.get( @@ -190,7 +178,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(GroupGetResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.packages.groups.with_streaming_response.get( @@ -206,7 +193,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -234,7 +220,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.list( @@ -243,7 +228,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Group], group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.list( @@ -260,7 +244,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Group], group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.groups.with_raw_response.list( @@ -273,7 +256,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Group], group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.groups.with_streaming_response.list( @@ -288,7 +270,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -303,7 +284,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.edit( @@ -313,7 +293,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GroupEditResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.edit( @@ -324,7 +303,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(GroupEditResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.groups.with_raw_response.edit( @@ -338,7 +316,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(GroupEditResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.groups.with_streaming_response.edit( @@ -354,7 +331,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -378,7 +354,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.get( @@ -388,7 +363,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GroupGetResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.groups.with_raw_response.get( @@ -402,7 +376,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(GroupGetResponse, group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.groups.with_streaming_response.get( @@ -418,7 +391,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/firewall/waf/packages/test_rules.py b/tests/api_resources/firewall/waf/packages/test_rules.py index 772dd3a3128..5936030bd50 100644 --- a/tests/api_resources/firewall/waf/packages/test_rules.py +++ b/tests/api_resources/firewall/waf/packages/test_rules.py @@ -22,7 +22,6 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.list( @@ -31,7 +30,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.list( @@ -49,7 +47,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.rules.with_raw_response.list( @@ -62,7 +59,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.packages.rules.with_streaming_response.list( @@ -77,7 +73,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -92,7 +87,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.edit( @@ -102,7 +96,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.edit( @@ -113,7 +106,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.rules.with_raw_response.edit( @@ -127,7 +119,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.waf.packages.rules.with_streaming_response.edit( @@ -143,7 +134,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -167,7 +157,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.get( @@ -177,7 +166,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RuleGetResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.rules.with_raw_response.get( @@ -191,7 +179,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleGetResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.packages.rules.with_streaming_response.get( @@ -207,7 +194,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -235,7 +221,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.list( @@ -244,7 +229,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.list( @@ -262,7 +246,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.rules.with_raw_response.list( @@ -275,7 +258,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.rules.with_streaming_response.list( @@ -290,7 +272,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -305,7 +286,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.edit( @@ -315,7 +295,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.edit( @@ -326,7 +305,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.rules.with_raw_response.edit( @@ -340,7 +318,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.rules.with_streaming_response.edit( @@ -356,7 +333,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -380,7 +356,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.get( @@ -390,7 +365,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RuleGetResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.rules.with_raw_response.get( @@ -404,7 +378,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(RuleGetResponse, rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.rules.with_streaming_response.get( @@ -420,7 +393,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/firewall/waf/test_overrides.py b/tests/api_resources/firewall/waf/test_overrides.py index 6d1a278223f..8a11a0e684f 100644 --- a/tests/api_resources/firewall/waf/test_overrides.py +++ b/tests/api_resources/firewall/waf/test_overrides.py @@ -21,7 +21,7 @@ class TestOverrides: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.create( @@ -30,7 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.create( @@ -43,7 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.create( @@ -58,7 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -67,7 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.update( @@ -77,7 +77,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.update( @@ -91,7 +91,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.update( @@ -107,7 +107,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -124,7 +124,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.list( @@ -132,7 +131,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Override], override, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.list( @@ -142,7 +140,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Override], override, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.list( @@ -154,7 +151,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(SyncV4PagePaginationArray[Override], override, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.list( @@ -168,7 +164,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -176,7 +171,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.delete( @@ -185,7 +179,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.delete( @@ -198,7 +191,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.delete( @@ -213,7 +205,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -228,7 +219,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.get( @@ -237,7 +227,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.get( @@ -250,7 +239,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.get( @@ -265,7 +253,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -284,7 +271,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOverrides: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.create( @@ -293,7 +280,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.create( @@ -306,7 +293,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.create( @@ -321,7 +308,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -330,7 +317,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.update( @@ -340,7 +327,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.update( @@ -354,7 +341,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.update( @@ -370,7 +357,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -387,7 +374,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.list( @@ -395,7 +381,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Override], override, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.list( @@ -405,7 +390,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Override], override, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.list( @@ -417,7 +401,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Override], override, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.list( @@ -431,7 +414,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -439,7 +421,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.delete( @@ -448,7 +429,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.delete( @@ -461,7 +441,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.delete( @@ -476,7 +455,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -491,7 +469,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.get( @@ -500,7 +477,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.get( @@ -513,7 +489,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Override, override, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.get( @@ -528,7 +503,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/firewall/waf/test_packages.py b/tests/api_resources/firewall/waf/test_packages.py index 405a42b1221..9ce8631baf8 100644 --- a/tests/api_resources/firewall/waf/test_packages.py +++ b/tests/api_resources/firewall/waf/test_packages.py @@ -18,7 +18,7 @@ class TestPackages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: package = client.firewall.waf.packages.list( @@ -26,7 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: package = client.firewall.waf.packages.list( @@ -40,7 +40,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.with_raw_response.list( @@ -52,7 +52,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: package = response.parse() assert_matches_type(SyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.packages.with_streaming_response.list( @@ -66,7 +66,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -74,7 +74,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: package = client.firewall.waf.packages.get( @@ -83,7 +82,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PackageGetResponse, package, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.with_raw_response.get( @@ -96,7 +94,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: package = response.parse() assert_matches_type(PackageGetResponse, package, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.packages.with_streaming_response.get( @@ -111,7 +108,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -130,7 +126,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPackages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: package = await async_client.firewall.waf.packages.list( @@ -138,7 +134,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: package = await async_client.firewall.waf.packages.list( @@ -152,7 +148,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.with_raw_response.list( @@ -164,7 +160,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: package = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.with_streaming_response.list( @@ -178,7 +174,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -186,7 +182,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: package = await async_client.firewall.waf.packages.get( @@ -195,7 +190,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PackageGetResponse, package, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.with_raw_response.get( @@ -208,7 +202,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: package = await response.parse() assert_matches_type(PackageGetResponse, package, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.with_streaming_response.get( @@ -223,7 +216,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/healthchecks/test_previews.py b/tests/api_resources/healthchecks/test_previews.py index 935799e2c19..8e270873849 100644 --- a/tests/api_resources/healthchecks/test_previews.py +++ b/tests/api_resources/healthchecks/test_previews.py @@ -20,7 +20,6 @@ class TestPreviews: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.create( @@ -66,7 +64,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.healthchecks.previews.with_raw_response.create( @@ -80,7 +77,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.healthchecks.previews.with_streaming_response.create( @@ -96,7 +92,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -106,7 +101,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.delete( @@ -115,7 +109,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.healthchecks.previews.with_raw_response.delete( @@ -128,7 +121,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.healthchecks.previews.with_streaming_response.delete( @@ -143,7 +135,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -158,7 +149,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.get( @@ -167,7 +157,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.healthchecks.previews.with_raw_response.get( @@ -180,7 +169,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.healthchecks.previews.with_streaming_response.get( @@ -195,7 +183,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -214,7 +201,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPreviews: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.create( @@ -224,7 +210,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.create( @@ -260,7 +245,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.previews.with_raw_response.create( @@ -274,7 +258,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.previews.with_streaming_response.create( @@ -290,7 +273,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -300,7 +282,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.delete( @@ -309,7 +290,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.previews.with_raw_response.delete( @@ -322,7 +302,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.previews.with_streaming_response.delete( @@ -337,7 +316,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -352,7 +330,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.get( @@ -361,7 +338,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.previews.with_raw_response.get( @@ -374,7 +350,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.previews.with_streaming_response.get( @@ -389,7 +364,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/hostnames/settings/test_tls.py b/tests/api_resources/hostnames/settings/test_tls.py index 889e06e7b7e..b320eb82130 100644 --- a/tests/api_resources/hostnames/settings/test_tls.py +++ b/tests/api_resources/hostnames/settings/test_tls.py @@ -21,7 +21,6 @@ class TestTLS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tls = client.hostnames.settings.tls.update( @@ -32,7 +31,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Setting, tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.hostnames.settings.tls.with_raw_response.update( @@ -47,7 +45,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tls = response.parse() assert_matches_type(Setting, tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.hostnames.settings.tls.with_streaming_response.update( @@ -64,7 +61,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -83,7 +79,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"], ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tls = client.hostnames.settings.tls.delete( @@ -93,7 +88,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(TLSDeleteResponse, tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.hostnames.settings.tls.with_raw_response.delete( @@ -107,7 +101,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tls = response.parse() assert_matches_type(TLSDeleteResponse, tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.hostnames.settings.tls.with_streaming_response.delete( @@ -123,7 +116,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -140,7 +132,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: setting_id="ciphers", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls = client.hostnames.settings.tls.get( @@ -149,7 +140,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.hostnames.settings.tls.with_raw_response.get( @@ -162,7 +152,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls = response.parse() assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.hostnames.settings.tls.with_streaming_response.get( @@ -177,7 +166,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -190,7 +178,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTLS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tls = await async_client.hostnames.settings.tls.update( @@ -201,7 +188,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Setting, tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.hostnames.settings.tls.with_raw_response.update( @@ -216,7 +202,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tls = await response.parse() assert_matches_type(Setting, tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.hostnames.settings.tls.with_streaming_response.update( @@ -233,7 +218,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -252,7 +236,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"], ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tls = await async_client.hostnames.settings.tls.delete( @@ -262,7 +245,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TLSDeleteResponse, tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.hostnames.settings.tls.with_raw_response.delete( @@ -276,7 +258,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tls = await response.parse() assert_matches_type(TLSDeleteResponse, tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.hostnames.settings.tls.with_streaming_response.delete( @@ -292,7 +273,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -309,7 +289,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: setting_id="ciphers", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls = await async_client.hostnames.settings.tls.get( @@ -318,7 +297,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.hostnames.settings.tls.with_raw_response.get( @@ -331,7 +309,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls = await response.parse() assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.hostnames.settings.tls.with_streaming_response.get( @@ -346,7 +323,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/hyperdrive/test_configs.py b/tests/api_resources/hyperdrive/test_configs.py index 33d4e955297..b0f78ba131d 100644 --- a/tests/api_resources/hyperdrive/test_configs.py +++ b/tests/api_resources/hyperdrive/test_configs.py @@ -21,7 +21,7 @@ class TestConfigs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.create( @@ -37,7 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.create( @@ -58,7 +58,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.create( @@ -78,7 +78,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.create( @@ -100,7 +100,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +116,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.update( @@ -133,7 +133,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.update( @@ -155,7 +155,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.update( @@ -176,7 +176,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.update( @@ -199,7 +199,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -230,7 +230,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.list( @@ -238,7 +237,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.list( @@ -250,7 +248,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(SyncSinglePage[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.list( @@ -264,7 +261,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -272,7 +268,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.delete( @@ -281,7 +276,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigDeleteResponse, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.delete( @@ -294,7 +288,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(ConfigDeleteResponse, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.delete( @@ -309,7 +302,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -324,7 +316,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.edit( @@ -333,7 +325,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.edit( @@ -355,7 +347,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.edit( @@ -368,7 +360,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.edit( @@ -383,7 +375,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -398,7 +390,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.get( @@ -407,7 +398,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.get( @@ -420,7 +410,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.get( @@ -435,7 +424,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -454,7 +442,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.create( @@ -470,7 +458,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.create( @@ -491,7 +479,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.create( @@ -511,7 +499,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.create( @@ -533,7 +521,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -549,7 +537,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.update( @@ -566,7 +554,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.update( @@ -588,7 +576,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.update( @@ -609,7 +597,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.update( @@ -632,7 +620,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -663,7 +651,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.list( @@ -671,7 +658,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.list( @@ -683,7 +669,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(AsyncSinglePage[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.list( @@ -697,7 +682,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -705,7 +689,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.delete( @@ -714,7 +697,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigDeleteResponse, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.delete( @@ -727,7 +709,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(ConfigDeleteResponse, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.delete( @@ -742,7 +723,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -757,7 +737,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.edit( @@ -766,7 +746,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.edit( @@ -788,7 +768,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.edit( @@ -801,7 +781,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.edit( @@ -816,7 +796,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -831,7 +811,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.get( @@ -840,7 +819,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.get( @@ -853,7 +831,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.get( @@ -868,7 +845,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/images/test_v1.py b/tests/api_resources/images/test_v1.py index 75e998d65c5..5662df98dcc 100644 --- a/tests/api_resources/images/test_v1.py +++ b/tests/api_resources/images/test_v1.py @@ -22,7 +22,7 @@ class TestV1: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: v1 = client.images.v1.create( @@ -30,7 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: v1 = client.images.v1.create( @@ -42,7 +42,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.create( @@ -54,7 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.create( @@ -68,7 +68,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +76,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: v1 = client.images.v1.list( @@ -84,7 +83,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[V1ListResponse], v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: v1 = client.images.v1.list( @@ -94,7 +92,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[V1ListResponse], v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.list( @@ -106,7 +103,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(SyncV4PagePagination[V1ListResponse], v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.list( @@ -120,7 +116,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -128,7 +123,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: v1 = client.images.v1.delete( @@ -137,7 +131,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(V1DeleteResponse, v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.delete( @@ -150,7 +143,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(V1DeleteResponse, v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.delete( @@ -165,7 +157,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -180,7 +171,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: v1 = client.images.v1.edit( @@ -189,7 +179,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: v1 = client.images.v1.edit( @@ -200,7 +189,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.edit( @@ -213,7 +201,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.edit( @@ -228,7 +215,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +229,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: v1 = client.images.v1.get( @@ -252,7 +237,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.get( @@ -265,7 +249,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.get( @@ -280,7 +263,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +281,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncV1: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.create( @@ -307,7 +289,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.create( @@ -319,7 +301,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.create( @@ -331,7 +313,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.create( @@ -345,7 +327,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -353,7 +335,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.list( @@ -361,7 +342,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[V1ListResponse], v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.list( @@ -371,7 +351,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[V1ListResponse], v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.list( @@ -383,7 +362,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(AsyncV4PagePagination[V1ListResponse], v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.list( @@ -397,7 +375,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -405,7 +382,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.delete( @@ -414,7 +390,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(V1DeleteResponse, v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.delete( @@ -427,7 +402,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(V1DeleteResponse, v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.delete( @@ -442,7 +416,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -457,7 +430,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.edit( @@ -466,7 +438,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.edit( @@ -477,7 +448,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.edit( @@ -490,7 +460,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.edit( @@ -505,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() @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 ''"): @@ -520,7 +488,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.get( @@ -529,7 +496,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.get( @@ -542,7 +508,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(Image, v1, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.get( @@ -557,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() @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/images/test_v2.py b/tests/api_resources/images/test_v2.py index b40c7c1b94a..52527ae66ae 100644 --- a/tests/api_resources/images/test_v2.py +++ b/tests/api_resources/images/test_v2.py @@ -17,7 +17,6 @@ class TestV2: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: v2 = client.images.v2.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(V2ListResponse, v2, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: v2 = client.images.v2.list( @@ -36,7 +34,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(V2ListResponse, v2, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v2.with_raw_response.list( @@ -48,7 +45,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: v2 = response.parse() assert_matches_type(V2ListResponse, v2, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v2.with_streaming_response.list( @@ -62,7 +58,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +69,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncV2: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: v2 = await async_client.images.v2.list( @@ -82,7 +76,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(V2ListResponse, v2, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: v2 = await async_client.images.v2.list( @@ -93,7 +86,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(V2ListResponse, v2, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v2.with_raw_response.list( @@ -105,7 +97,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: v2 = await response.parse() assert_matches_type(V2ListResponse, v2, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v2.with_streaming_response.list( @@ -119,7 +110,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/images/v1/test_blobs.py b/tests/api_resources/images/v1/test_blobs.py index 51341b70d65..e9573fc5000 100644 --- a/tests/api_resources/images/v1/test_blobs.py +++ b/tests/api_resources/images/v1/test_blobs.py @@ -23,7 +23,6 @@ class TestBlobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -39,7 +38,6 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, blob.is_closed) is True assert isinstance(blob, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -57,7 +55,6 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert blob.json() == {"foo": "bar"} assert isinstance(blob, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -77,7 +74,6 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, blob.is_closed) is True - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -97,7 +93,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBlobs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -113,7 +108,6 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, blob.is_closed) is True assert isinstance(blob, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -131,7 +125,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await blob.json() == {"foo": "bar"} assert isinstance(blob, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -151,7 +144,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, blob.is_closed) is True - @pytest.mark.skip() @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/images/v1/test_keys.py b/tests/api_resources/images/v1/test_keys.py index 42691cb49b0..570044e7b4f 100644 --- a/tests/api_resources/images/v1/test_keys.py +++ b/tests/api_resources/images/v1/test_keys.py @@ -17,7 +17,6 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: key = client.images.v1.keys.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(KeyUpdateResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.images.v1.keys.with_raw_response.update( @@ -39,7 +37,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(KeyUpdateResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.images.v1.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() @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 +65,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: key = client.images.v1.keys.list( @@ -77,7 +72,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(KeyListResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v1.keys.with_raw_response.list( @@ -89,7 +83,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(KeyListResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v1.keys.with_streaming_response.list( @@ -103,7 +96,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -111,7 +103,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: key = client.images.v1.keys.delete( @@ -120,7 +111,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(KeyDeleteResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.images.v1.keys.with_raw_response.delete( @@ -133,7 +123,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(KeyDeleteResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.images.v1.keys.with_streaming_response.delete( @@ -148,7 +137,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -167,7 +155,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: key = await async_client.images.v1.keys.update( @@ -176,7 +163,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeyUpdateResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.keys.with_raw_response.update( @@ -189,7 +175,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(KeyUpdateResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.keys.with_streaming_response.update( @@ -204,7 +189,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -219,7 +203,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: key = await async_client.images.v1.keys.list( @@ -227,7 +210,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeyListResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.keys.with_raw_response.list( @@ -239,7 +221,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(KeyListResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.keys.with_streaming_response.list( @@ -253,7 +234,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -261,7 +241,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: key = await async_client.images.v1.keys.delete( @@ -270,7 +249,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeyDeleteResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.keys.with_raw_response.delete( @@ -283,7 +261,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(KeyDeleteResponse, key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.keys.with_streaming_response.delete( @@ -298,7 +275,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/images/v1/test_stats.py b/tests/api_resources/images/v1/test_stats.py index d2ea3b07cbb..ba44e332bc2 100644 --- a/tests/api_resources/images/v1/test_stats.py +++ b/tests/api_resources/images/v1/test_stats.py @@ -17,7 +17,6 @@ class TestStats: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: stat = client.images.v1.stats.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Stat, stat, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.images.v1.stats.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: stat = response.parse() assert_matches_type(Stat, stat, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.images.v1.stats.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() @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 TestAsyncStats: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: stat = await async_client.images.v1.stats.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Stat, stat, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.stats.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: stat = await response.parse() assert_matches_type(Stat, stat, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.stats.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() @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/images/v1/test_variants.py b/tests/api_resources/images/v1/test_variants.py index 13794df1771..d5cb41d40f0 100644 --- a/tests/api_resources/images/v1/test_variants.py +++ b/tests/api_resources/images/v1/test_variants.py @@ -23,7 +23,6 @@ class TestVariants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: variant = client.images.v1.variants.create( @@ -38,7 +37,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: variant = client.images.v1.variants.create( @@ -54,7 +52,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.create( @@ -73,7 +70,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantCreateResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.create( @@ -94,7 +90,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -109,7 +104,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: variant = client.images.v1.variants.list( @@ -117,7 +111,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Variant, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.list( @@ -129,7 +122,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(Variant, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.list( @@ -143,7 +135,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -151,7 +142,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: variant = client.images.v1.variants.delete( @@ -160,7 +150,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(VariantDeleteResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.delete( @@ -173,7 +162,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantDeleteResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.delete( @@ -188,7 +176,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +190,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: variant = client.images.v1.variants.edit( @@ -218,7 +204,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: variant = client.images.v1.variants.edit( @@ -234,7 +219,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.edit( @@ -253,7 +237,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.edit( @@ -274,7 +257,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -301,7 +283,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: variant = client.images.v1.variants.get( @@ -310,7 +291,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.get( @@ -323,7 +303,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.get( @@ -338,7 +317,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -357,7 +335,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVariants: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.create( @@ -372,7 +349,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.create( @@ -388,7 +364,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.create( @@ -407,7 +382,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantCreateResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.create( @@ -428,7 +402,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -443,7 +416,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.list( @@ -451,7 +423,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Variant, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.list( @@ -463,7 +434,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(Variant, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.list( @@ -477,7 +447,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -485,7 +454,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.delete( @@ -494,7 +462,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantDeleteResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.delete( @@ -507,7 +474,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantDeleteResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.delete( @@ -522,7 +488,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +502,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.edit( @@ -552,7 +516,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.edit( @@ -568,7 +531,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.edit( @@ -587,7 +549,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.edit( @@ -608,7 +569,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -635,7 +595,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.get( @@ -644,7 +603,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.get( @@ -657,7 +615,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.get( @@ -672,7 +629,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/images/v2/test_direct_uploads.py b/tests/api_resources/images/v2/test_direct_uploads.py index a9ed5cc45d6..88a6299905f 100644 --- a/tests/api_resources/images/v2/test_direct_uploads.py +++ b/tests/api_resources/images/v2/test_direct_uploads.py @@ -18,7 +18,7 @@ class TestDirectUploads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: direct_upload = client.images.v2.direct_uploads.create( @@ -26,7 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: direct_upload = client.images.v2.direct_uploads.create( @@ -38,7 +38,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.images.v2.direct_uploads.with_raw_response.create( @@ -50,7 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: direct_upload = response.parse() assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.images.v2.direct_uploads.with_streaming_response.create( @@ -64,7 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +76,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncDirectUploads: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.images.v2.direct_uploads.create( @@ -84,7 +84,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.images.v2.direct_uploads.create( @@ -96,7 +96,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v2.direct_uploads.with_raw_response.create( @@ -108,7 +108,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await response.parse() assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v2.direct_uploads.with_streaming_response.create( @@ -122,7 +122,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/intel/asn/test_subnets.py b/tests/api_resources/intel/asn/test_subnets.py index 3014e7984ef..b231532262f 100644 --- a/tests/api_resources/intel/asn/test_subnets.py +++ b/tests/api_resources/intel/asn/test_subnets.py @@ -17,7 +17,6 @@ class TestSubnets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subnet = client.intel.asn.subnets.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SubnetGetResponse, subnet, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.asn.subnets.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subnet = response.parse() assert_matches_type(SubnetGetResponse, subnet, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.asn.subnets.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() @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 ''"): @@ -67,7 +63,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSubnets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subnet = await async_client.intel.asn.subnets.get( @@ -76,7 +71,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubnetGetResponse, subnet, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.asn.subnets.with_raw_response.get( @@ -89,7 +83,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subnet = await response.parse() assert_matches_type(SubnetGetResponse, subnet, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.asn.subnets.with_streaming_response.get( @@ -104,7 +97,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/attack_surface_report/test_issue_types.py b/tests/api_resources/intel/attack_surface_report/test_issue_types.py index 1274cb4c67d..904b3db245f 100644 --- a/tests/api_resources/intel/attack_surface_report/test_issue_types.py +++ b/tests/api_resources/intel/attack_surface_report/test_issue_types.py @@ -17,7 +17,6 @@ class TestIssueTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: issue_type = client.intel.attack_surface_report.issue_types.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issue_types.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: issue_type = response.parse() assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issue_types.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() @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 TestAsyncIssueTypes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: issue_type = await async_client.intel.attack_surface_report.issue_types.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issue_types.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: issue_type = await response.parse() assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issue_types.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() @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/intel/attack_surface_report/test_issues.py b/tests/api_resources/intel/attack_surface_report/test_issues.py index 31bd421e533..7f46dae5dca 100644 --- a/tests/api_resources/intel/attack_surface_report/test_issues.py +++ b/tests/api_resources/intel/attack_surface_report/test_issues.py @@ -24,7 +24,6 @@ class TestIssues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.list( @@ -32,7 +31,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[IssueListResponse], issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.list( @@ -53,7 +51,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[IssueListResponse], issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.list( @@ -65,7 +62,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(SyncV4PagePagination[IssueListResponse], issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.list( @@ -79,7 +75,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_class(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.class_( @@ -95,7 +89,6 @@ def test_method_class(self, client: Cloudflare) -> None: ) assert_matches_type(IssueClassResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_class_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.class_( @@ -114,7 +107,6 @@ def test_method_class_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueClassResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_class(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.class_( @@ -126,7 +118,6 @@ def test_raw_response_class(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueClassResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_class(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.class_( @@ -140,7 +131,6 @@ def test_streaming_response_class(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_class(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -148,7 +138,6 @@ def test_path_params_class(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_dismiss(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.dismiss( @@ -157,7 +146,6 @@ def test_method_dismiss(self, client: Cloudflare) -> None: ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dismiss_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.dismiss( @@ -167,7 +155,6 @@ def test_method_dismiss_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dismiss(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.dismiss( @@ -180,7 +167,6 @@ def test_raw_response_dismiss(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueDismissResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dismiss(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.dismiss( @@ -195,7 +181,6 @@ def test_streaming_response_dismiss(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_dismiss(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -210,7 +195,6 @@ def test_path_params_dismiss(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_severity(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.severity( @@ -218,7 +202,6 @@ def test_method_severity(self, client: Cloudflare) -> None: ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_severity_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.severity( @@ -237,7 +220,6 @@ def test_method_severity_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_severity(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.severity( @@ -249,7 +231,6 @@ def test_raw_response_severity(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueSeverityResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_severity(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.severity( @@ -263,7 +244,6 @@ def test_streaming_response_severity(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_severity(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -271,7 +251,6 @@ def test_path_params_severity(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_type(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.type( @@ -279,7 +258,6 @@ def test_method_type(self, client: Cloudflare) -> None: ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_type_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.type( @@ -298,7 +276,6 @@ def test_method_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_type(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.type( @@ -310,7 +287,6 @@ def test_raw_response_type(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueTypeResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_type(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.type( @@ -324,7 +300,6 @@ def test_streaming_response_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_type(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -336,7 +311,6 @@ def test_path_params_type(self, client: Cloudflare) -> None: class TestAsyncIssues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.list( @@ -344,7 +318,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[IssueListResponse], issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.list( @@ -365,7 +338,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[IssueListResponse], issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.list( @@ -377,7 +349,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: issue = await response.parse() assert_matches_type(AsyncV4PagePagination[IssueListResponse], issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.list( @@ -391,7 +362,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -399,7 +369,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_class(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.class_( @@ -407,7 +376,6 @@ async def test_method_class(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueClassResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_class_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.class_( @@ -426,7 +394,6 @@ async def test_method_class_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(IssueClassResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_class(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.class_( @@ -438,7 +405,6 @@ async def test_raw_response_class(self, async_client: AsyncCloudflare) -> None: issue = await response.parse() assert_matches_type(IssueClassResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_class(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.class_( @@ -452,7 +418,6 @@ async def test_streaming_response_class(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_class(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -460,7 +425,6 @@ async def test_path_params_class(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_dismiss(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.dismiss( @@ -469,7 +433,6 @@ async def test_method_dismiss(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dismiss_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.dismiss( @@ -479,7 +442,6 @@ async def test_method_dismiss_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dismiss(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.dismiss( @@ -492,7 +454,6 @@ async def test_raw_response_dismiss(self, async_client: AsyncCloudflare) -> None issue = await response.parse() assert_matches_type(IssueDismissResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dismiss(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.dismiss( @@ -507,7 +468,6 @@ async def test_streaming_response_dismiss(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_dismiss(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -522,7 +482,6 @@ async def test_path_params_dismiss(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_severity(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.severity( @@ -530,7 +489,6 @@ async def test_method_severity(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_severity_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.severity( @@ -549,7 +507,6 @@ async def test_method_severity_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_severity(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.severity( @@ -561,7 +518,6 @@ async def test_raw_response_severity(self, async_client: AsyncCloudflare) -> Non issue = await response.parse() assert_matches_type(IssueSeverityResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_severity(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.severity( @@ -575,7 +531,6 @@ async def test_streaming_response_severity(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_severity(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -583,7 +538,6 @@ async def test_path_params_severity(self, async_client: AsyncCloudflare) -> None account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_type(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.type( @@ -591,7 +545,6 @@ async def test_method_type(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_type_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.type( @@ -610,7 +563,6 @@ async def test_method_type_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.type( @@ -622,7 +574,6 @@ async def test_raw_response_type(self, async_client: AsyncCloudflare) -> None: issue = await response.parse() assert_matches_type(IssueTypeResponse, issue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_type(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.type( @@ -636,7 +587,6 @@ async def test_streaming_response_type(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_type(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/intel/domains/test_bulks.py b/tests/api_resources/intel/domains/test_bulks.py index 10054a63d1c..0a1c1828bc7 100644 --- a/tests/api_resources/intel/domains/test_bulks.py +++ b/tests/api_resources/intel/domains/test_bulks.py @@ -17,7 +17,6 @@ class TestBulks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bulk = client.intel.domains.bulks.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bulk = client.intel.domains.bulks.get( @@ -34,7 +32,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.domains.bulks.with_raw_response.get( @@ -46,7 +43,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bulk = response.parse() assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.domains.bulks.with_streaming_response.get( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +67,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBulks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.intel.domains.bulks.get( @@ -80,7 +74,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.intel.domains.bulks.get( @@ -89,7 +82,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.domains.bulks.with_raw_response.get( @@ -101,7 +93,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bulk = await response.parse() assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.domains.bulks.with_streaming_response.get( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/indicator_feeds/test_permissions.py b/tests/api_resources/intel/indicator_feeds/test_permissions.py index f7da59f2cda..5e89ce038e2 100644 --- a/tests/api_resources/intel/indicator_feeds/test_permissions.py +++ b/tests/api_resources/intel/indicator_feeds/test_permissions.py @@ -21,7 +21,6 @@ class TestPermissions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.permissions.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: permission = response.parse() assert_matches_type(PermissionCreateResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.permissions.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -73,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.list( @@ -81,7 +75,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionListResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.permissions.with_raw_response.list( @@ -93,7 +86,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: permission = response.parse() assert_matches_type(PermissionListResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.permissions.with_streaming_response.list( @@ -107,7 +99,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -115,7 +106,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.delete( @@ -123,7 +113,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.delete( @@ -133,7 +122,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.permissions.with_raw_response.delete( @@ -145,7 +133,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: permission = response.parse() assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.permissions.with_streaming_response.delete( @@ -159,7 +146,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -171,7 +157,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncPermissions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.create( @@ -179,7 +164,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.create( @@ -189,7 +173,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.permissions.with_raw_response.create( @@ -201,7 +184,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: permission = await response.parse() assert_matches_type(PermissionCreateResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.permissions.with_streaming_response.create( @@ -215,7 +197,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -223,7 +204,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.list( @@ -231,7 +211,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PermissionListResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.permissions.with_raw_response.list( @@ -243,7 +222,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: permission = await response.parse() assert_matches_type(PermissionListResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.permissions.with_streaming_response.list( @@ -257,7 +235,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -265,7 +242,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.delete( @@ -273,7 +249,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.delete( @@ -283,7 +258,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.permissions.with_raw_response.delete( @@ -295,7 +269,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: permission = await response.parse() assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.permissions.with_streaming_response.delete( @@ -309,7 +282,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/intel/test_asn.py b/tests/api_resources/intel/test_asn.py index 125ac1e76c0..da82b690fa4 100644 --- a/tests/api_resources/intel/test_asn.py +++ b/tests/api_resources/intel/test_asn.py @@ -17,7 +17,6 @@ class TestASN: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: asn = client.intel.asn.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ASN, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.asn.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASN, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.asn.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() @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 ''"): @@ -67,7 +63,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncASN: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: asn = await async_client.intel.asn.get( @@ -76,7 +71,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASN, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.asn.with_raw_response.get( @@ -89,7 +83,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASN, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.asn.with_streaming_response.get( @@ -104,7 +97,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/test_dns.py b/tests/api_resources/intel/test_dns.py index 0c916acc860..4e95dc2891a 100644 --- a/tests/api_resources/intel/test_dns.py +++ b/tests/api_resources/intel/test_dns.py @@ -19,7 +19,6 @@ class TestDNS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dns = client.intel.dns.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[DNSListResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: dns = client.intel.dns.list( @@ -42,7 +40,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[DNSListResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.dns.with_raw_response.list( @@ -54,7 +51,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dns = response.parse() assert_matches_type(SyncV4PagePagination[DNSListResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.dns.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() @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 ''"): @@ -80,7 +75,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncDNS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dns = await async_client.intel.dns.list( @@ -88,7 +82,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[DNSListResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: dns = await async_client.intel.dns.list( @@ -103,7 +96,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[DNSListResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.dns.with_raw_response.list( @@ -115,7 +107,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dns = await response.parse() assert_matches_type(AsyncV4PagePagination[DNSListResponse], dns, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.dns.with_streaming_response.list( @@ -129,7 +120,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/test_domain_history.py b/tests/api_resources/intel/test_domain_history.py index 811ded0a843..75926dc919d 100644 --- a/tests/api_resources/intel/test_domain_history.py +++ b/tests/api_resources/intel/test_domain_history.py @@ -17,7 +17,6 @@ class TestDomainHistory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain_history = client.intel.domain_history.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: domain_history = client.intel.domain_history.get( @@ -34,7 +32,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.domain_history.with_raw_response.get( @@ -46,7 +43,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain_history = response.parse() assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.domain_history.with_streaming_response.get( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +67,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomainHistory: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain_history = await async_client.intel.domain_history.get( @@ -80,7 +74,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: domain_history = await async_client.intel.domain_history.get( @@ -89,7 +82,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.domain_history.with_raw_response.get( @@ -101,7 +93,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain_history = await response.parse() assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.domain_history.with_streaming_response.get( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/test_domains.py b/tests/api_resources/intel/test_domains.py index ccf650a3380..8a5a65a6699 100644 --- a/tests/api_resources/intel/test_domains.py +++ b/tests/api_resources/intel/test_domains.py @@ -17,7 +17,6 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.intel.domains.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Domain, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: domain = client.intel.domains.get( @@ -34,7 +32,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Domain, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.domains.with_raw_response.get( @@ -46,7 +43,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Domain, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.domains.with_streaming_response.get( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +67,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.intel.domains.get( @@ -80,7 +74,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Domain, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.intel.domains.get( @@ -89,7 +82,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Domain, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.domains.with_raw_response.get( @@ -101,7 +93,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Domain, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.domains.with_streaming_response.get( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/test_indicator_feeds.py b/tests/api_resources/intel/test_indicator_feeds.py index 956f15c0233..8b13403785c 100644 --- a/tests/api_resources/intel/test_indicator_feeds.py +++ b/tests/api_resources/intel/test_indicator_feeds.py @@ -23,7 +23,6 @@ class TestIndicatorFeeds: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.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() @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 ''"): @@ -75,7 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.update( @@ -84,7 +79,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.update( @@ -94,7 +89,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.update( @@ -107,7 +102,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.update( @@ -122,7 +117,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -131,7 +126,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.list( @@ -139,7 +133,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.list( @@ -151,7 +144,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(SyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.list( @@ -165,7 +157,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -173,7 +164,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_data(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.data( @@ -182,7 +172,6 @@ def test_method_data(self, client: Cloudflare) -> None: ) assert_matches_type(str, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_data(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.data( @@ -195,7 +184,6 @@ def test_raw_response_data(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(str, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_data(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.data( @@ -210,7 +198,6 @@ def test_streaming_response_data(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_data(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -219,7 +206,6 @@ def test_path_params_data(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.get( @@ -228,7 +214,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.get( @@ -241,7 +226,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.get( @@ -256,7 +240,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -269,7 +252,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIndicatorFeeds: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.create( @@ -277,7 +259,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.create( @@ -287,7 +268,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.create( @@ -299,7 +279,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.create( @@ -313,7 +292,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -321,7 +299,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.update( @@ -330,7 +308,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.update( @@ -340,7 +318,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.update( @@ -353,7 +331,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.update( @@ -368,7 +346,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -377,7 +355,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.list( @@ -385,7 +362,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.list( @@ -397,7 +373,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(AsyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.list( @@ -411,7 +386,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -419,7 +393,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_data(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.data( @@ -428,7 +401,6 @@ async def test_method_data(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_data(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.data( @@ -441,7 +413,6 @@ async def test_raw_response_data(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(str, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_data(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.data( @@ -456,7 +427,6 @@ async def test_streaming_response_data(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_data(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -465,7 +435,6 @@ async def test_path_params_data(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.get( @@ -474,7 +443,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.get( @@ -487,7 +455,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.get( @@ -502,7 +469,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/test_ip_lists.py b/tests/api_resources/intel/test_ip_lists.py index 2adbe284b62..afb47b13e8c 100644 --- a/tests/api_resources/intel/test_ip_lists.py +++ b/tests/api_resources/intel/test_ip_lists.py @@ -17,7 +17,6 @@ class TestIPLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_list = client.intel.ip_lists.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.ip_lists.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_list = response.parse() assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.ip_lists.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() @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 TestAsyncIPLists: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_list = await async_client.intel.ip_lists.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.ip_lists.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_list = await response.parse() assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.ip_lists.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() @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/intel/test_ips.py b/tests/api_resources/intel/test_ips.py index 8956bb8c5fa..56721abdf3a 100644 --- a/tests/api_resources/intel/test_ips.py +++ b/tests/api_resources/intel/test_ips.py @@ -17,7 +17,6 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip = client.intel.ips.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip = client.intel.ips.get( @@ -35,7 +33,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.ips.with_raw_response.get( @@ -47,7 +44,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.ips.with_streaming_response.get( @@ -61,7 +57,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +68,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip = await async_client.intel.ips.get( @@ -81,7 +75,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip = await async_client.intel.ips.get( @@ -91,7 +84,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.ips.with_raw_response.get( @@ -103,7 +95,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.ips.with_streaming_response.get( @@ -117,7 +108,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/test_miscategorizations.py b/tests/api_resources/intel/test_miscategorizations.py index 8231ba952c5..9e5d6b8786f 100644 --- a/tests/api_resources/intel/test_miscategorizations.py +++ b/tests/api_resources/intel/test_miscategorizations.py @@ -17,7 +17,6 @@ class TestMiscategorizations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: miscategorization = client.intel.miscategorizations.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: miscategorization = client.intel.miscategorizations.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.intel.miscategorizations.with_raw_response.create( @@ -52,7 +49,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: miscategorization = response.parse() assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.intel.miscategorizations.with_streaming_response.create( @@ -66,7 +62,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +73,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncMiscategorizations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: miscategorization = await async_client.intel.miscategorizations.create( @@ -86,7 +80,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: miscategorization = await async_client.intel.miscategorizations.create( @@ -101,7 +94,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.miscategorizations.with_raw_response.create( @@ -113,7 +105,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: miscategorization = await response.parse() assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.miscategorizations.with_streaming_response.create( @@ -127,7 +118,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/intel/test_sinkholes.py b/tests/api_resources/intel/test_sinkholes.py index 9c3ac5abb15..5e9b3dda069 100644 --- a/tests/api_resources/intel/test_sinkholes.py +++ b/tests/api_resources/intel/test_sinkholes.py @@ -18,7 +18,6 @@ class TestSinkholes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: sinkhole = client.intel.sinkholes.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Sinkhole], sinkhole, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.sinkholes.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: sinkhole = response.parse() assert_matches_type(SyncSinglePage[Sinkhole], sinkhole, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.sinkholes.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() @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 TestAsyncSinkholes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: sinkhole = await async_client.intel.sinkholes.list( @@ -72,7 +67,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Sinkhole], sinkhole, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.sinkholes.with_raw_response.list( @@ -84,7 +78,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: sinkhole = await response.parse() assert_matches_type(AsyncSinglePage[Sinkhole], sinkhole, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.sinkholes.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() @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/intel/test_whois.py b/tests/api_resources/intel/test_whois.py index 5f42548c43b..d9d603dfc23 100644 --- a/tests/api_resources/intel/test_whois.py +++ b/tests/api_resources/intel/test_whois.py @@ -17,7 +17,6 @@ class TestWhois: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: whois = client.intel.whois.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Whois, whois, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: whois = client.intel.whois.get( @@ -34,7 +32,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Whois, whois, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.whois.with_raw_response.get( @@ -46,7 +43,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: whois = response.parse() assert_matches_type(Whois, whois, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.whois.with_streaming_response.get( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +67,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWhois: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: whois = await async_client.intel.whois.get( @@ -80,7 +74,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Whois, whois, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: whois = await async_client.intel.whois.get( @@ -89,7 +82,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Whois, whois, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.whois.with_raw_response.get( @@ -101,7 +93,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: whois = await response.parse() assert_matches_type(Whois, whois, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.whois.with_streaming_response.get( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/kv/namespaces/test_bulk.py b/tests/api_resources/kv/namespaces/test_bulk.py index 21c3f453838..c941e118037 100644 --- a/tests/api_resources/kv/namespaces/test_bulk.py +++ b/tests/api_resources/kv/namespaces/test_bulk.py @@ -17,7 +17,6 @@ class TestBulk: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: bulk = client.kv.namespaces.bulk.update( @@ -27,7 +26,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.kv.namespaces.bulk.with_raw_response.update( @@ -41,7 +39,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: bulk = response.parse() assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.kv.namespaces.bulk.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() @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 ''"): @@ -74,7 +70,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: bulk = client.kv.namespaces.bulk.delete( @@ -83,7 +78,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.kv.namespaces.bulk.with_raw_response.delete( @@ -96,7 +90,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: bulk = response.parse() assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.kv.namespaces.bulk.with_streaming_response.delete( @@ -111,7 +104,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +122,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncBulk: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.kv.namespaces.bulk.update( @@ -140,7 +131,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.bulk.with_raw_response.update( @@ -154,7 +144,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: bulk = await response.parse() assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.bulk.with_streaming_response.update( @@ -170,7 +159,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -187,7 +175,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.kv.namespaces.bulk.delete( @@ -196,7 +183,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.bulk.with_raw_response.delete( @@ -209,7 +195,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: bulk = await response.parse() assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.bulk.with_streaming_response.delete( @@ -224,7 +209,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/kv/namespaces/test_keys.py b/tests/api_resources/kv/namespaces/test_keys.py index 36b5cad82c6..26c09a1f9b5 100644 --- a/tests/api_resources/kv/namespaces/test_keys.py +++ b/tests/api_resources/kv/namespaces/test_keys.py @@ -18,7 +18,6 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: key = client.kv.namespaces.keys.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[Key], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: key = client.kv.namespaces.keys.list( @@ -39,7 +37,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[Key], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.kv.namespaces.keys.with_raw_response.list( @@ -52,7 +49,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(SyncCursorLimitPagination[Key], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.kv.namespaces.keys.with_streaming_response.list( @@ -67,7 +63,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -86,7 +81,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: key = await async_client.kv.namespaces.keys.list( @@ -95,7 +89,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorLimitPagination[Key], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: key = await async_client.kv.namespaces.keys.list( @@ -107,7 +100,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorLimitPagination[Key], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.keys.with_raw_response.list( @@ -120,7 +112,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(AsyncCursorLimitPagination[Key], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.keys.with_streaming_response.list( @@ -135,7 +126,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/kv/namespaces/test_metadata.py b/tests/api_resources/kv/namespaces/test_metadata.py index f7fbd01bdd5..e7f40bbb7bd 100644 --- a/tests/api_resources/kv/namespaces/test_metadata.py +++ b/tests/api_resources/kv/namespaces/test_metadata.py @@ -16,7 +16,6 @@ class TestMetadata: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: metadata = client.kv.namespaces.metadata.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(object, metadata, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.kv.namespaces.metadata.with_raw_response.get( @@ -40,7 +38,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: metadata = response.parse() assert_matches_type(object, metadata, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.kv.namespaces.metadata.with_streaming_response.get( @@ -56,7 +53,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -84,7 +80,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMetadata: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: metadata = await async_client.kv.namespaces.metadata.get( @@ -94,7 +89,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, metadata, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.metadata.with_raw_response.get( @@ -108,7 +102,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: metadata = await response.parse() assert_matches_type(object, metadata, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.metadata.with_streaming_response.get( @@ -124,7 +117,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/kv/namespaces/test_values.py b/tests/api_resources/kv/namespaces/test_values.py index 0327c01e662..af7e9da5b3b 100644 --- a/tests/api_resources/kv/namespaces/test_values.py +++ b/tests/api_resources/kv/namespaces/test_values.py @@ -20,7 +20,7 @@ class TestValues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: value = client.kv.namespaces.values.update( @@ -32,7 +32,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(ValueUpdateResponse, value, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.kv.namespaces.values.with_raw_response.update( @@ -48,7 +48,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(ValueUpdateResponse, value, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.kv.namespaces.values.with_streaming_response.update( @@ -66,7 +66,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -96,7 +96,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: value="Some Value", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: value = client.kv.namespaces.values.delete( @@ -106,7 +105,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ValueDeleteResponse, value, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.kv.namespaces.values.with_raw_response.delete( @@ -120,7 +118,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(ValueDeleteResponse, value, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.kv.namespaces.values.with_streaming_response.delete( @@ -136,7 +133,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -160,7 +156,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: namespace_id="0f2ac74b498b48028cb68387c421e279", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: value = client.kv.namespaces.values.get( @@ -170,7 +165,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.kv.namespaces.values.with_raw_response.get( @@ -184,7 +178,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.kv.namespaces.values.with_streaming_response.get( @@ -200,7 +193,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -228,7 +220,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncValues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: value = await async_client.kv.namespaces.values.update( @@ -240,7 +232,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ValueUpdateResponse, value, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.values.with_raw_response.update( @@ -256,7 +248,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(ValueUpdateResponse, value, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.values.with_streaming_response.update( @@ -274,7 +266,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -304,7 +296,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: value="Some Value", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: value = await async_client.kv.namespaces.values.delete( @@ -314,7 +305,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ValueDeleteResponse, value, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.values.with_raw_response.delete( @@ -328,7 +318,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(ValueDeleteResponse, value, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.values.with_streaming_response.delete( @@ -344,7 +333,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -368,7 +356,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: namespace_id="0f2ac74b498b48028cb68387c421e279", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: value = await async_client.kv.namespaces.values.get( @@ -378,7 +365,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.values.with_raw_response.get( @@ -392,7 +378,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.values.with_streaming_response.get( @@ -408,7 +393,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/kv/test_namespaces.py b/tests/api_resources/kv/test_namespaces.py index df560f6668a..aca5a2593f2 100644 --- a/tests/api_resources/kv/test_namespaces.py +++ b/tests/api_resources/kv/test_namespaces.py @@ -22,7 +22,6 @@ class TestNamespaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Namespace, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(Namespace, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.create( @@ -59,7 +56,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -68,7 +64,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: title="My Own Namespace", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.update( @@ -78,7 +73,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.update( @@ -92,7 +86,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.update( @@ -108,7 +101,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -125,7 +117,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: title="My Own Namespace", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.list( @@ -133,7 +124,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.list( @@ -145,7 +135,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.list( @@ -157,7 +146,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(SyncV4PagePaginationArray[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.list( @@ -171,7 +159,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -179,7 +166,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.delete( @@ -188,7 +174,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.delete( @@ -201,7 +186,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.delete( @@ -216,7 +200,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -235,7 +218,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncNamespaces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.create( @@ -244,7 +226,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Namespace, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.create( @@ -257,7 +238,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(Namespace, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.create( @@ -272,7 +252,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -281,7 +260,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: title="My Own Namespace", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.update( @@ -291,7 +269,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.update( @@ -305,7 +282,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.update( @@ -321,7 +297,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -338,7 +313,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: title="My Own Namespace", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.list( @@ -346,7 +320,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.list( @@ -358,7 +331,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.list( @@ -370,7 +342,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Namespace], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.list( @@ -384,7 +355,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -392,7 +362,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.delete( @@ -401,7 +370,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.delete( @@ -414,7 +382,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.delete( @@ -429,7 +396,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/load_balancers/monitors/test_previews.py b/tests/api_resources/load_balancers/monitors/test_previews.py index 791b255f075..71a61ec7d40 100644 --- a/tests/api_resources/load_balancers/monitors/test_previews.py +++ b/tests/api_resources/load_balancers/monitors/test_previews.py @@ -17,7 +17,6 @@ class TestPreviews: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: preview = client.load_balancers.monitors.previews.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: preview = client.load_balancers.monitors.previews.create( @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.previews.with_raw_response.create( @@ -69,7 +66,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(PreviewCreateResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.monitors.previews.with_streaming_response.create( @@ -85,7 +81,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -106,7 +101,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncPreviews: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: preview = await async_client.load_balancers.monitors.previews.create( @@ -116,7 +110,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: preview = await async_client.load_balancers.monitors.previews.create( @@ -144,7 +137,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.previews.with_raw_response.create( @@ -158,7 +150,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(PreviewCreateResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.previews.with_streaming_response.create( @@ -174,7 +165,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/load_balancers/monitors/test_references.py b/tests/api_resources/load_balancers/monitors/test_references.py index ac893043fec..a31063f687e 100644 --- a/tests/api_resources/load_balancers/monitors/test_references.py +++ b/tests/api_resources/load_balancers/monitors/test_references.py @@ -17,7 +17,6 @@ class TestReferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: reference = client.load_balancers.monitors.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() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.monitors.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() @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() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: reference = await async_client.load_balancers.monitors.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() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.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() @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/load_balancers/pools/test_health.py b/tests/api_resources/load_balancers/pools/test_health.py index 13c1108bf5d..6c9b62dcdea 100644 --- a/tests/api_resources/load_balancers/pools/test_health.py +++ b/tests/api_resources/load_balancers/pools/test_health.py @@ -17,7 +17,6 @@ class TestHealth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: health = client.load_balancers.pools.health.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(HealthCreateResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: health = client.load_balancers.pools.health.create( @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HealthCreateResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.pools.health.with_raw_response.create( @@ -69,7 +66,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: health = response.parse() assert_matches_type(HealthCreateResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.pools.health.with_streaming_response.create( @@ -85,7 +81,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -102,7 +97,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: health = client.load_balancers.pools.health.get( @@ -111,7 +105,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HealthGetResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.pools.health.with_raw_response.get( @@ -124,7 +117,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: health = response.parse() assert_matches_type(HealthGetResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.pools.health.with_streaming_response.get( @@ -139,7 +131,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -158,7 +149,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHealth: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: health = await async_client.load_balancers.pools.health.create( @@ -168,7 +158,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HealthCreateResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: health = await async_client.load_balancers.pools.health.create( @@ -196,7 +185,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(HealthCreateResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.health.with_raw_response.create( @@ -210,7 +198,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: health = await response.parse() assert_matches_type(HealthCreateResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.health.with_streaming_response.create( @@ -226,7 +213,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +229,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: health = await async_client.load_balancers.pools.health.get( @@ -252,7 +237,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HealthGetResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.health.with_raw_response.get( @@ -265,7 +249,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: health = await response.parse() assert_matches_type(HealthGetResponse, health, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.health.with_streaming_response.get( @@ -280,7 +263,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/load_balancers/pools/test_references.py b/tests/api_resources/load_balancers/pools/test_references.py index 723f890e4e7..409be7228ac 100644 --- a/tests/api_resources/load_balancers/pools/test_references.py +++ b/tests/api_resources/load_balancers/pools/test_references.py @@ -17,7 +17,6 @@ class TestReferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: reference = client.load_balancers.pools.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() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.pools.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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.pools.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() @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() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: reference = await async_client.load_balancers.pools.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() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.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() @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/load_balancers/test_monitors.py b/tests/api_resources/load_balancers/test_monitors.py index 5914c124f51..aec60b132cd 100644 --- a/tests/api_resources/load_balancers/test_monitors.py +++ b/tests/api_resources/load_balancers/test_monitors.py @@ -21,7 +21,6 @@ class TestMonitors: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.create( @@ -57,7 +55,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.create( @@ -70,7 +67,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.create( @@ -85,7 +81,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.update( @@ -104,7 +98,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.update( @@ -132,7 +125,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.update( @@ -146,7 +138,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.update( @@ -162,7 +153,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -179,7 +169,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.list( @@ -187,7 +176,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Monitor], monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.list( @@ -199,7 +187,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(SyncSinglePage[Monitor], monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.list( @@ -213,7 +200,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -221,7 +207,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.delete( @@ -230,7 +215,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.delete( @@ -243,7 +227,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.delete( @@ -258,7 +241,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -273,7 +255,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.edit( @@ -283,7 +264,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.edit( @@ -311,7 +291,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.edit( @@ -325,7 +304,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.edit( @@ -341,7 +319,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -358,7 +335,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.get( @@ -367,7 +343,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.get( @@ -380,7 +355,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.get( @@ -395,7 +369,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -414,7 +387,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMonitors: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.create( @@ -423,7 +395,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.create( @@ -450,7 +421,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.create( @@ -463,7 +433,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.create( @@ -478,7 +447,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -487,7 +455,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.update( @@ -497,7 +464,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.update( @@ -525,7 +491,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.update( @@ -539,7 +504,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.update( @@ -555,7 +519,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -572,7 +535,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.list( @@ -580,7 +542,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Monitor], monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.list( @@ -592,7 +553,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(AsyncSinglePage[Monitor], monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.list( @@ -606,7 +566,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -614,7 +573,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.delete( @@ -623,7 +581,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.delete( @@ -636,7 +593,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.delete( @@ -651,7 +607,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -666,7 +621,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.edit( @@ -676,7 +630,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.edit( @@ -704,7 +657,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.edit( @@ -718,7 +670,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.edit( @@ -734,7 +685,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -751,7 +701,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.get( @@ -760,7 +709,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.get( @@ -773,7 +721,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.get( @@ -788,7 +735,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/load_balancers/test_pools.py b/tests/api_resources/load_balancers/test_pools.py index 8952eba8a2c..e128a3f2287 100644 --- a/tests/api_resources/load_balancers/test_pools.py +++ b/tests/api_resources/load_balancers/test_pools.py @@ -21,7 +21,6 @@ class TestPools: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.create( @@ -90,7 +88,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.create( @@ -104,7 +101,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.create( @@ -120,7 +116,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +125,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: origins=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.update( @@ -141,7 +135,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.update( @@ -202,7 +195,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.update( @@ -217,7 +209,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.update( @@ -234,7 +225,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -253,7 +243,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: origins=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.list( @@ -261,7 +250,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Pool], pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.list( @@ -270,7 +258,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Pool], pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.list( @@ -282,7 +269,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(SyncSinglePage[Pool], pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.list( @@ -296,7 +282,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -304,7 +289,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.delete( @@ -313,7 +297,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PoolDeleteResponse, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.delete( @@ -326,7 +309,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(PoolDeleteResponse, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.delete( @@ -341,7 +323,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -356,7 +337,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.edit( @@ -365,7 +345,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.edit( @@ -426,7 +405,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.edit( @@ -439,7 +417,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.edit( @@ -454,7 +431,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -469,7 +445,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.get( @@ -478,7 +453,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.get( @@ -491,7 +465,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.get( @@ -506,7 +479,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -525,7 +497,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPools: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.create( @@ -535,7 +506,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.create( @@ -594,7 +564,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.create( @@ -608,7 +577,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.create( @@ -624,7 +592,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -634,7 +601,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: origins=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.update( @@ -645,7 +611,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.update( @@ -706,7 +671,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.update( @@ -721,7 +685,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.update( @@ -738,7 +701,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -757,7 +719,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: origins=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.list( @@ -765,7 +726,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Pool], pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.list( @@ -774,7 +734,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Pool], pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.list( @@ -786,7 +745,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(AsyncSinglePage[Pool], pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.list( @@ -800,7 +758,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -808,7 +765,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.delete( @@ -817,7 +773,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PoolDeleteResponse, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.delete( @@ -830,7 +785,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(PoolDeleteResponse, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.delete( @@ -845,7 +799,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -860,7 +813,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.edit( @@ -869,7 +821,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.edit( @@ -930,7 +881,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.edit( @@ -943,7 +893,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.edit( @@ -958,7 +907,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -973,7 +921,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.get( @@ -982,7 +929,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.get( @@ -995,7 +941,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.get( @@ -1010,7 +955,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/load_balancers/test_previews.py b/tests/api_resources/load_balancers/test_previews.py index 588ab766d4a..62da37e0c52 100644 --- a/tests/api_resources/load_balancers/test_previews.py +++ b/tests/api_resources/load_balancers/test_previews.py @@ -17,7 +17,6 @@ class TestPreviews: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: preview = client.load_balancers.previews.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewGetResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.previews.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(PreviewGetResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.previews.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() @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 TestAsyncPreviews: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: preview = await async_client.load_balancers.previews.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PreviewGetResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.previews.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(PreviewGetResponse, preview, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.previews.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() @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/load_balancers/test_regions.py b/tests/api_resources/load_balancers/test_regions.py index ae7e7b8f3d4..34d882330a0 100644 --- a/tests/api_resources/load_balancers/test_regions.py +++ b/tests/api_resources/load_balancers/test_regions.py @@ -17,7 +17,6 @@ class TestRegions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: region = client.load_balancers.regions.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: region = client.load_balancers.regions.list( @@ -36,7 +34,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.regions.with_raw_response.list( @@ -48,7 +45,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: region = response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.regions.with_streaming_response.list( @@ -62,7 +58,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +65,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: region = client.load_balancers.regions.get( @@ -79,7 +73,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RegionGetResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.regions.with_raw_response.get( @@ -92,7 +85,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: region = response.parse() assert_matches_type(RegionGetResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.regions.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() @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 ''"): @@ -120,7 +111,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRegions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: region = await async_client.load_balancers.regions.list( @@ -128,7 +118,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: region = await async_client.load_balancers.regions.list( @@ -139,7 +128,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.regions.with_raw_response.list( @@ -151,7 +139,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: region = await response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.regions.with_streaming_response.list( @@ -165,7 +152,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -173,7 +159,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: region = await async_client.load_balancers.regions.get( @@ -182,7 +167,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionGetResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.regions.with_raw_response.get( @@ -195,7 +179,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: region = await response.parse() assert_matches_type(RegionGetResponse, region, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.regions.with_streaming_response.get( @@ -210,7 +193,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/load_balancers/test_searches.py b/tests/api_resources/load_balancers/test_searches.py index 22949e8c586..26259459464 100644 --- a/tests/api_resources/load_balancers/test_searches.py +++ b/tests/api_resources/load_balancers/test_searches.py @@ -17,7 +17,7 @@ class TestSearches: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: search = client.load_balancers.searches.get( @@ -25,7 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: search = client.load_balancers.searches.get( @@ -39,7 +39,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.searches.with_raw_response.get( @@ -51,7 +51,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: search = response.parse() assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.searches.with_streaming_response.get( @@ -65,7 +65,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -77,7 +77,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSearches: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: search = await async_client.load_balancers.searches.get( @@ -85,7 +85,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: search = await async_client.load_balancers.searches.get( @@ -99,7 +99,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.searches.with_raw_response.get( @@ -111,7 +111,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: search = await response.parse() assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.searches.with_streaming_response.get( @@ -125,7 +125,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/logpush/datasets/test_fields.py b/tests/api_resources/logpush/datasets/test_fields.py index e676171ea8f..fb994642e7b 100644 --- a/tests/api_resources/logpush/datasets/test_fields.py +++ b/tests/api_resources/logpush/datasets/test_fields.py @@ -16,7 +16,7 @@ class TestFields: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: field = client.logpush.datasets.fields.get( @@ -25,7 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(object, field, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: field = client.logpush.datasets.fields.get( @@ -34,7 +34,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, field, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.datasets.fields.with_raw_response.get( @@ -47,7 +47,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: field = response.parse() assert_matches_type(object, field, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.datasets.fields.with_streaming_response.get( @@ -62,7 +62,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `dataset_id` but received ''"): @@ -87,7 +87,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFields: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: field = await async_client.logpush.datasets.fields.get( @@ -96,7 +96,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, field, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: field = await async_client.logpush.datasets.fields.get( @@ -105,7 +105,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(object, field, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.datasets.fields.with_raw_response.get( @@ -118,7 +118,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: field = await response.parse() assert_matches_type(object, field, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.datasets.fields.with_streaming_response.get( @@ -133,7 +133,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `dataset_id` but received ''"): diff --git a/tests/api_resources/logpush/datasets/test_jobs.py b/tests/api_resources/logpush/datasets/test_jobs.py index 1d2a9fe31c6..7176ea97c6f 100644 --- a/tests/api_resources/logpush/datasets/test_jobs.py +++ b/tests/api_resources/logpush/datasets/test_jobs.py @@ -17,7 +17,7 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: job = client.logpush.datasets.jobs.get( @@ -26,7 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.datasets.jobs.get( @@ -35,7 +35,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.datasets.jobs.with_raw_response.get( @@ -48,7 +48,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[JobGetResponse], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.datasets.jobs.with_streaming_response.get( @@ -63,7 +63,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `dataset_id` but received ''"): @@ -88,7 +88,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncJobs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.datasets.jobs.get( @@ -97,7 +97,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.datasets.jobs.get( @@ -106,7 +106,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.datasets.jobs.with_raw_response.get( @@ -119,7 +119,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[JobGetResponse], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.datasets.jobs.with_streaming_response.get( @@ -134,7 +134,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `dataset_id` but received ''"): diff --git a/tests/api_resources/logpush/test_edge.py b/tests/api_resources/logpush/test_edge.py index b1bdf576c70..850a8a4cb57 100644 --- a/tests/api_resources/logpush/test_edge.py +++ b/tests/api_resources/logpush/test_edge.py @@ -17,7 +17,6 @@ class TestEdge: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: edge = client.logpush.edge.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: edge = client.logpush.edge.create( @@ -36,7 +34,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logpush.edge.with_raw_response.create( @@ -48,7 +45,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: edge = response.parse() assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logpush.edge.with_streaming_response.create( @@ -62,7 +58,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -70,7 +65,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: edge = client.logpush.edge.get( @@ -78,7 +72,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.edge.with_raw_response.get( @@ -90,7 +83,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: edge = response.parse() assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.edge.with_streaming_response.get( @@ -104,7 +96,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +107,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEdge: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: edge = await async_client.logpush.edge.create( @@ -124,7 +114,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: edge = await async_client.logpush.edge.create( @@ -135,7 +124,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.edge.with_raw_response.create( @@ -147,7 +135,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: edge = await response.parse() assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.edge.with_streaming_response.create( @@ -161,7 +148,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -169,7 +155,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: edge = await async_client.logpush.edge.get( @@ -177,7 +162,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.edge.with_raw_response.get( @@ -189,7 +173,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: edge = await response.parse() assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.edge.with_streaming_response.get( @@ -203,7 +186,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/logpush/test_jobs.py b/tests/api_resources/logpush/test_jobs.py index 7d39a8b6015..73db5328ba0 100644 --- a/tests/api_resources/logpush/test_jobs.py +++ b/tests/api_resources/logpush/test_jobs.py @@ -18,7 +18,7 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: job = client.logpush.jobs.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.create( @@ -56,7 +56,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.create( @@ -69,7 +69,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.create( @@ -84,7 +84,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -99,7 +99,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: job = client.logpush.jobs.update( @@ -108,7 +108,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.update( @@ -136,7 +136,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.update( @@ -149,7 +149,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.update( @@ -164,7 +164,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -179,7 +179,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: job = client.logpush.jobs.list( @@ -187,7 +187,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Optional[LogpushJob]], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.list( @@ -195,7 +195,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Optional[LogpushJob]], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.list( @@ -207,7 +207,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(SyncSinglePage[Optional[LogpushJob]], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.list( @@ -221,7 +221,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -234,7 +234,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: job = client.logpush.jobs.delete( @@ -243,7 +243,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.delete( @@ -252,7 +252,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.delete( @@ -265,7 +265,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(object, job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.delete( @@ -280,7 +280,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -295,7 +295,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: job = client.logpush.jobs.get( @@ -304,7 +304,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.get( @@ -313,7 +313,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.get( @@ -326,7 +326,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.get( @@ -341,7 +341,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -360,7 +360,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncJobs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.create( @@ -369,7 +369,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.create( @@ -398,7 +398,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.create( @@ -411,7 +411,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.create( @@ -426,7 +426,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -441,7 +441,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.update( @@ -450,7 +450,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.update( @@ -478,7 +478,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.update( @@ -491,7 +491,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.update( @@ -506,7 +506,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -521,7 +521,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.list( @@ -529,7 +529,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Optional[LogpushJob]], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.list( @@ -537,7 +537,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Optional[LogpushJob]], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.list( @@ -549,7 +549,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(AsyncSinglePage[Optional[LogpushJob]], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.list( @@ -563,7 +563,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -576,7 +576,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.delete( @@ -585,7 +585,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.delete( @@ -594,7 +594,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(object, job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.delete( @@ -607,7 +607,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(object, job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.delete( @@ -622,7 +622,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -637,7 +637,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.get( @@ -646,7 +646,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.get( @@ -655,7 +655,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.get( @@ -668,7 +668,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.get( @@ -683,7 +683,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/logpush/test_ownership.py b/tests/api_resources/logpush/test_ownership.py index a1d2e7839de..ce1f9a83fb3 100644 --- a/tests/api_resources/logpush/test_ownership.py +++ b/tests/api_resources/logpush/test_ownership.py @@ -20,7 +20,7 @@ class TestOwnership: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.create( @@ -29,7 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.create( @@ -38,7 +38,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logpush.ownership.with_raw_response.create( @@ -51,7 +51,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logpush.ownership.with_streaming_response.create( @@ -66,7 +66,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -81,7 +81,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_validate(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.validate( @@ -91,7 +91,7 @@ def test_method_validate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_validate_with_all_params(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.validate( @@ -101,7 +101,7 @@ def test_method_validate_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_validate(self, client: Cloudflare) -> None: response = client.logpush.ownership.with_raw_response.validate( @@ -115,7 +115,7 @@ def test_raw_response_validate(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_validate(self, client: Cloudflare) -> None: with client.logpush.ownership.with_streaming_response.validate( @@ -131,7 +131,7 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -152,7 +152,7 @@ def test_path_params_validate(self, client: Cloudflare) -> None: class TestAsyncOwnership: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.create( @@ -161,7 +161,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.create( @@ -170,7 +170,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.ownership.with_raw_response.create( @@ -183,7 +183,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.ownership.with_streaming_response.create( @@ -198,7 +198,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -213,7 +213,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.validate( @@ -223,7 +223,7 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_validate_with_all_params(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.validate( @@ -233,7 +233,7 @@ async def test_method_validate_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.ownership.with_raw_response.validate( @@ -247,7 +247,7 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non ownership = await response.parse() assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_validate(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.ownership.with_streaming_response.validate( @@ -263,7 +263,7 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/logpush/test_validate.py b/tests/api_resources/logpush/test_validate.py index 0a3cff70df5..7b80c557e5d 100644 --- a/tests/api_resources/logpush/test_validate.py +++ b/tests/api_resources/logpush/test_validate.py @@ -20,7 +20,7 @@ class TestValidate: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_destination(self, client: Cloudflare) -> None: validate = client.logpush.validate.destination( @@ -29,7 +29,7 @@ def test_method_destination(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_destination_with_all_params(self, client: Cloudflare) -> None: validate = client.logpush.validate.destination( @@ -38,7 +38,7 @@ def test_method_destination_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_destination(self, client: Cloudflare) -> None: response = client.logpush.validate.with_raw_response.destination( @@ -51,7 +51,7 @@ def test_raw_response_destination(self, client: Cloudflare) -> None: validate = response.parse() assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_destination(self, client: Cloudflare) -> None: with client.logpush.validate.with_streaming_response.destination( @@ -66,7 +66,7 @@ def test_streaming_response_destination(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_destination(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,7 +81,7 @@ def test_path_params_destination(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_origin(self, client: Cloudflare) -> None: validate = client.logpush.validate.origin( @@ -90,7 +90,7 @@ def test_method_origin(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: validate = client.logpush.validate.origin( @@ -99,7 +99,7 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.logpush.validate.with_raw_response.origin( @@ -112,7 +112,7 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: validate = response.parse() assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.logpush.validate.with_streaming_response.origin( @@ -127,7 +127,7 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_origin(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -146,7 +146,7 @@ def test_path_params_origin(self, client: Cloudflare) -> None: class TestAsyncValidate: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_destination(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.destination( @@ -155,7 +155,7 @@ async def test_method_destination(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_destination_with_all_params(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.destination( @@ -164,7 +164,7 @@ async def test_method_destination_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_destination(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.validate.with_raw_response.destination( @@ -177,7 +177,7 @@ async def test_raw_response_destination(self, async_client: AsyncCloudflare) -> validate = await response.parse() assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_destination(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.validate.with_streaming_response.destination( @@ -192,7 +192,7 @@ async def test_streaming_response_destination(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_destination(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -207,7 +207,7 @@ async def test_path_params_destination(self, async_client: AsyncCloudflare) -> N account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.origin( @@ -216,7 +216,7 @@ async def test_method_origin(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.origin( @@ -225,7 +225,7 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.validate.with_raw_response.origin( @@ -238,7 +238,7 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: validate = await response.parse() assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.validate.with_streaming_response.origin( @@ -253,7 +253,7 @@ async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_origin(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/logs/control/cmb/test_config.py b/tests/api_resources/logs/control/cmb/test_config.py index 4aee26139a5..b7240366dcd 100644 --- a/tests/api_resources/logs/control/cmb/test_config.py +++ b/tests/api_resources/logs/control/cmb/test_config.py @@ -17,7 +17,6 @@ class TestConfig: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.create( @@ -34,7 +32,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logs.control.cmb.config.with_raw_response.create( @@ -46,7 +43,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logs.control.cmb.config.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() @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 ''"): @@ -68,7 +63,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.delete( @@ -76,7 +70,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.logs.control.cmb.config.with_raw_response.delete( @@ -88,7 +81,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(object, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.logs.control.cmb.config.with_streaming_response.delete( @@ -102,7 +94,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -110,7 +101,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.get( @@ -118,7 +108,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.control.cmb.config.with_raw_response.get( @@ -130,7 +119,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.control.cmb.config.with_streaming_response.get( @@ -144,7 +132,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -156,7 +143,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfig: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.create( @@ -164,7 +150,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.create( @@ -173,7 +158,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.cmb.config.with_raw_response.create( @@ -185,7 +169,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.cmb.config.with_streaming_response.create( @@ -199,7 +182,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -207,7 +189,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.delete( @@ -215,7 +196,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.cmb.config.with_raw_response.delete( @@ -227,7 +207,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(object, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.cmb.config.with_streaming_response.delete( @@ -241,7 +220,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -249,7 +227,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.get( @@ -257,7 +234,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.cmb.config.with_raw_response.get( @@ -269,7 +245,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.cmb.config.with_streaming_response.get( @@ -283,7 +258,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/logs/control/retention/test_flag.py b/tests/api_resources/logs/control/retention/test_flag.py index a6fce61750f..ace95eb0dd9 100644 --- a/tests/api_resources/logs/control/retention/test_flag.py +++ b/tests/api_resources/logs/control/retention/test_flag.py @@ -17,7 +17,6 @@ class TestFlag: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: flag = client.logs.control.retention.flag.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(FlagCreateResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logs.control.retention.flag.with_raw_response.create( @@ -39,7 +37,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: flag = response.parse() assert_matches_type(FlagCreateResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logs.control.retention.flag.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() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: flag=True, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: flag = client.logs.control.retention.flag.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FlagGetResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.control.retention.flag.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: flag = response.parse() assert_matches_type(FlagGetResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.control.retention.flag.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFlag: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: flag = await async_client.logs.control.retention.flag.create( @@ -118,7 +109,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FlagCreateResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.retention.flag.with_raw_response.create( @@ -131,7 +121,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: flag = await response.parse() assert_matches_type(FlagCreateResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.retention.flag.with_streaming_response.create( @@ -146,7 +135,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -155,7 +143,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: flag=True, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: flag = await async_client.logs.control.retention.flag.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FlagGetResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.retention.flag.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: flag = await response.parse() assert_matches_type(FlagGetResponse, flag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.retention.flag.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/logs/received/test_fields.py b/tests/api_resources/logs/received/test_fields.py index 38a6509bf56..67fa637d050 100644 --- a/tests/api_resources/logs/received/test_fields.py +++ b/tests/api_resources/logs/received/test_fields.py @@ -17,7 +17,6 @@ class TestFields: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: field = client.logs.received.fields.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FieldGetResponse, field, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.received.fields.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: field = response.parse() assert_matches_type(FieldGetResponse, field, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.received.fields.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFields: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: field = await async_client.logs.received.fields.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FieldGetResponse, field, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.received.fields.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: field = await response.parse() assert_matches_type(FieldGetResponse, field, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.received.fields.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() @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_identifier` but received ''"): diff --git a/tests/api_resources/logs/test_rayid.py b/tests/api_resources/logs/test_rayid.py index a5264c4450a..5268b84e977 100644 --- a/tests/api_resources/logs/test_rayid.py +++ b/tests/api_resources/logs/test_rayid.py @@ -17,7 +17,6 @@ class TestRayID: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rayid = client.logs.rayid.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: rayid = client.logs.rayid.get( @@ -37,7 +35,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.rayid.with_raw_response.get( @@ -50,7 +47,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rayid = response.parse() assert_matches_type(RayIDGetResponse, rayid, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.rayid.with_streaming_response.get( @@ -65,7 +61,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -84,7 +79,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRayID: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rayid = await async_client.logs.rayid.get( @@ -93,7 +87,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: rayid = await async_client.logs.rayid.get( @@ -104,7 +97,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.rayid.with_raw_response.get( @@ -117,7 +109,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rayid = await response.parse() assert_matches_type(RayIDGetResponse, rayid, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.rayid.with_streaming_response.get( @@ -132,7 +123,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/logs/test_received.py b/tests/api_resources/logs/test_received.py index 38002e7e0f9..86effb42fe4 100644 --- a/tests/api_resources/logs/test_received.py +++ b/tests/api_resources/logs/test_received.py @@ -17,7 +17,6 @@ class TestReceived: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: received = client.logs.received.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: received = client.logs.received.get( @@ -40,7 +38,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.received.with_raw_response.get( @@ -53,7 +50,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: received = response.parse() assert_matches_type(ReceivedGetResponse, received, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.received.with_streaming_response.get( @@ -68,7 +64,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -81,7 +76,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReceived: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: received = await async_client.logs.received.get( @@ -90,7 +84,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: received = await async_client.logs.received.get( @@ -104,7 +97,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.received.with_raw_response.get( @@ -117,7 +109,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: received = await response.parse() assert_matches_type(ReceivedGetResponse, received, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.received.with_streaming_response.get( @@ -132,7 +123,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/magic_network_monitoring/configs/test_full.py b/tests/api_resources/magic_network_monitoring/configs/test_full.py index 27f997aab52..fa2d1efd518 100644 --- a/tests/api_resources/magic_network_monitoring/configs/test_full.py +++ b/tests/api_resources/magic_network_monitoring/configs/test_full.py @@ -17,7 +17,6 @@ class TestFull: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: full = client.magic_network_monitoring.configs.full.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, full, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.full.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: full = response.parse() assert_matches_type(Configuration, full, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.full.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() @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 TestAsyncFull: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: full = await async_client.magic_network_monitoring.configs.full.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, full, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.full.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: full = await response.parse() assert_matches_type(Configuration, full, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.full.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() @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/magic_network_monitoring/rules/test_advertisements.py b/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py index ab20ee89a26..6f0e476a67e 100644 --- a/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py +++ b/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py @@ -17,7 +17,6 @@ class TestAdvertisements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: advertisement = client.magic_network_monitoring.rules.advertisements.edit( @@ -27,7 +26,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.advertisements.with_raw_response.edit( @@ -41,7 +39,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: advertisement = response.parse() assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.advertisements.with_streaming_response.edit( @@ -57,7 +54,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -78,7 +74,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncAdvertisements: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: advertisement = await async_client.magic_network_monitoring.rules.advertisements.edit( @@ -88,7 +83,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.advertisements.with_raw_response.edit( @@ -102,7 +96,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: advertisement = await response.parse() assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.advertisements.with_streaming_response.edit( @@ -118,7 +111,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/magic_network_monitoring/test_configs.py b/tests/api_resources/magic_network_monitoring/test_configs.py index e675e6165bf..8a60e5320fa 100644 --- a/tests/api_resources/magic_network_monitoring/test_configs.py +++ b/tests/api_resources/magic_network_monitoring/test_configs.py @@ -19,7 +19,6 @@ class TestConfigs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.create( @@ -41,7 +39,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.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() @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 ''"): @@ -65,7 +61,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.update( @@ -74,7 +69,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.update( @@ -87,7 +81,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.update( @@ -102,7 +95,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -111,7 +103,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.delete( @@ -119,7 +110,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.delete( @@ -131,7 +121,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.delete( @@ -145,7 +134,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -153,7 +141,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.edit( @@ -162,7 +149,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.edit( @@ -175,7 +161,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.edit( @@ -190,7 +175,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -199,7 +183,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.get( @@ -207,7 +190,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.get( @@ -219,7 +201,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.get( @@ -233,7 +214,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -245,7 +225,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.create( @@ -254,7 +233,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.create( @@ -267,7 +245,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.create( @@ -282,7 +259,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -291,7 +267,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.update( @@ -300,7 +275,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.update( @@ -313,7 +287,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.update( @@ -328,7 +301,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -337,7 +309,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.delete( @@ -345,7 +316,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.delete( @@ -357,7 +327,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.delete( @@ -371,7 +340,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -379,7 +347,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.edit( @@ -388,7 +355,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.edit( @@ -401,7 +367,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.edit( @@ -416,7 +381,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -425,7 +389,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.get( @@ -433,7 +396,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.get( @@ -445,7 +407,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.get( @@ -459,7 +420,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/magic_network_monitoring/test_rules.py b/tests/api_resources/magic_network_monitoring/test_rules.py index fe556ed0c55..b813da89aca 100644 --- a/tests/api_resources/magic_network_monitoring/test_rules.py +++ b/tests/api_resources/magic_network_monitoring/test_rules.py @@ -20,7 +20,6 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.create( @@ -42,7 +40,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.create( @@ -57,7 +54,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -66,7 +62,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.update( @@ -75,7 +70,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.update( @@ -88,7 +82,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.update( @@ -103,7 +96,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -112,7 +104,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.list( @@ -120,7 +111,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.list( @@ -132,7 +122,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.list( @@ -146,7 +135,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -154,7 +142,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.delete( @@ -163,7 +150,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.delete( @@ -176,7 +162,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.delete( @@ -191,7 +176,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -206,7 +190,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="6f91088a406011ed95aed352566e8d4c", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.edit( @@ -216,7 +199,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.edit( @@ -230,7 +212,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.edit( @@ -246,7 +227,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -263,7 +243,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.get( @@ -272,7 +251,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.get( @@ -285,7 +263,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.get( @@ -300,7 +277,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -319,7 +295,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.create( @@ -328,7 +303,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.create( @@ -341,7 +315,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.create( @@ -356,7 +329,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -365,7 +337,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.update( @@ -374,7 +345,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.update( @@ -387,7 +357,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.update( @@ -402,7 +371,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -411,7 +379,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.list( @@ -419,7 +386,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.list( @@ -431,7 +397,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.list( @@ -445,7 +410,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -453,7 +417,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.delete( @@ -462,7 +425,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.delete( @@ -475,7 +437,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.delete( @@ -490,7 +451,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -505,7 +465,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="6f91088a406011ed95aed352566e8d4c", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.edit( @@ -515,7 +474,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.edit( @@ -529,7 +487,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.edit( @@ -545,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() @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 ''"): @@ -562,7 +518,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.get( @@ -571,7 +526,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.get( @@ -584,7 +538,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.get( @@ -599,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() @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/magic_transit/sites/test_acls.py b/tests/api_resources/magic_transit/sites/test_acls.py index b9e83d9ab23..107cdc54368 100644 --- a/tests/api_resources/magic_transit/sites/test_acls.py +++ b/tests/api_resources/magic_transit/sites/test_acls.py @@ -18,7 +18,6 @@ class TestACLs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.create( @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.create( @@ -71,7 +68,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.create( @@ -89,7 +85,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -110,7 +105,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="PIN Pad - Cash Register", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.update( @@ -120,7 +114,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.update( @@ -146,7 +139,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.update( @@ -160,7 +152,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.update( @@ -176,7 +167,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_update(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.list( @@ -209,7 +198,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.list( @@ -222,7 +210,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(SyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.list( @@ -237,7 +224,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -252,7 +238,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.delete( @@ -262,7 +247,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.delete( @@ -276,7 +260,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.delete( @@ -292,7 +275,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -316,7 +298,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.get( @@ -326,7 +307,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.get( @@ -340,7 +320,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.get( @@ -356,7 +335,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -384,7 +362,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncACLs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.create( @@ -396,7 +373,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.create( @@ -421,7 +397,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.create( @@ -437,7 +412,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.create( @@ -455,7 +429,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -476,7 +449,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="PIN Pad - Cash Register", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.update( @@ -486,7 +458,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.update( @@ -512,7 +483,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.update( @@ -526,7 +496,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.update( @@ -542,7 +511,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -566,7 +534,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.list( @@ -575,7 +542,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.list( @@ -588,7 +554,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(AsyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.list( @@ -603,7 +568,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -618,7 +582,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.delete( @@ -628,7 +591,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.delete( @@ -642,7 +604,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.delete( @@ -658,7 +619,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -682,7 +642,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.get( @@ -692,7 +651,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.get( @@ -706,7 +664,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACL, acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.get( @@ -722,7 +679,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/magic_transit/sites/test_lans.py b/tests/api_resources/magic_transit/sites/test_lans.py index 54cfe328bef..a6cbd9c9307 100644 --- a/tests/api_resources/magic_transit/sites/test_lans.py +++ b/tests/api_resources/magic_transit/sites/test_lans.py @@ -21,7 +21,6 @@ class TestLANs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(LANCreateResponse, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.create( @@ -78,7 +76,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LANCreateResponse, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.create( @@ -93,7 +90,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LANCreateResponse, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.create( @@ -110,7 +106,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -129,7 +124,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: vlan_tag=0, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.update( @@ -139,7 +133,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.update( @@ -185,7 +178,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.update( @@ -199,7 +191,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.update( @@ -215,7 +206,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -239,7 +229,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.list( @@ -248,7 +237,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[LAN], lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.list( @@ -261,7 +249,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(SyncSinglePage[LAN], lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.list( @@ -276,7 +263,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -291,7 +277,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.delete( @@ -301,7 +286,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.delete( @@ -315,7 +299,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.delete( @@ -331,7 +314,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -355,7 +337,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.get( @@ -365,7 +346,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.get( @@ -379,7 +359,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.get( @@ -395,7 +374,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -423,7 +401,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLANs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.create( @@ -434,7 +411,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LANCreateResponse, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.create( @@ -480,7 +456,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LANCreateResponse, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.create( @@ -495,7 +470,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LANCreateResponse, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.create( @@ -512,7 +486,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -531,7 +504,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: vlan_tag=0, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.update( @@ -541,7 +513,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.update( @@ -587,7 +558,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.update( @@ -601,7 +571,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.update( @@ -617,7 +586,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -641,7 +609,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.list( @@ -650,7 +617,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[LAN], lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.list( @@ -663,7 +629,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(AsyncSinglePage[LAN], lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.list( @@ -678,7 +643,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -693,7 +657,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.delete( @@ -703,7 +666,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.delete( @@ -717,7 +679,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.delete( @@ -733,7 +694,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -757,7 +717,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.get( @@ -767,7 +726,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.get( @@ -781,7 +739,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LAN, lan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.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() @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/magic_transit/sites/test_wans.py b/tests/api_resources/magic_transit/sites/test_wans.py index 8169c914b45..86079814ce2 100644 --- a/tests/api_resources/magic_transit/sites/test_wans.py +++ b/tests/api_resources/magic_transit/sites/test_wans.py @@ -21,7 +21,6 @@ class TestWANs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WANCreateResponse, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.create( @@ -50,7 +48,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WANCreateResponse, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.create( @@ -65,7 +62,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WANCreateResponse, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.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() @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 ''"): @@ -101,7 +96,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: vlan_tag=0, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.update( @@ -111,7 +105,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.update( @@ -130,7 +123,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.update( @@ -144,7 +136,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.update( @@ -160,7 +151,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -184,7 +174,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.list( @@ -193,7 +182,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[WAN], wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.list( @@ -206,7 +194,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(SyncSinglePage[WAN], wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.list( @@ -221,7 +208,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -236,7 +222,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.delete( @@ -246,7 +231,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.delete( @@ -260,7 +244,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.delete( @@ -276,7 +259,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -300,7 +282,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.get( @@ -310,7 +291,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.get( @@ -324,7 +304,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.get( @@ -340,7 +319,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -368,7 +346,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWANs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.create( @@ -379,7 +356,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WANCreateResponse, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.create( @@ -397,7 +373,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WANCreateResponse, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.create( @@ -412,7 +387,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WANCreateResponse, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.create( @@ -429,7 +403,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -448,7 +421,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: vlan_tag=0, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.update( @@ -458,7 +430,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.update( @@ -477,7 +448,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.update( @@ -491,7 +461,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.update( @@ -507,7 +476,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -531,7 +499,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.list( @@ -540,7 +507,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[WAN], wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.list( @@ -553,7 +519,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(AsyncSinglePage[WAN], wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.list( @@ -568,7 +533,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -583,7 +547,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.delete( @@ -593,7 +556,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.delete( @@ -607,7 +569,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.delete( @@ -623,7 +584,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -647,7 +607,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.get( @@ -657,7 +616,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.get( @@ -671,7 +629,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WAN, wan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.get( @@ -687,7 +644,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/magic_transit/test_cf_interconnects.py b/tests/api_resources/magic_transit/test_cf_interconnects.py index 1c04dbbae9f..8869b789a89 100644 --- a/tests/api_resources/magic_transit/test_cf_interconnects.py +++ b/tests/api_resources/magic_transit/test_cf_interconnects.py @@ -21,7 +21,6 @@ class TestCfInterconnects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.update( @@ -30,7 +29,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.update( @@ -49,7 +47,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.cf_interconnects.with_raw_response.update( @@ -62,7 +59,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: cf_interconnect = response.parse() assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.cf_interconnects.with_streaming_response.update( @@ -77,7 +73,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -92,7 +87,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.list( @@ -100,7 +94,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.cf_interconnects.with_raw_response.list( @@ -112,7 +105,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: cf_interconnect = response.parse() assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.cf_interconnects.with_streaming_response.list( @@ -126,7 +118,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -134,7 +125,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.get( @@ -143,7 +133,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.cf_interconnects.with_raw_response.get( @@ -156,7 +145,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cf_interconnect = response.parse() assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.cf_interconnects.with_streaming_response.get( @@ -171,7 +159,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -190,7 +177,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCfInterconnects: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.update( @@ -199,7 +185,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.update( @@ -218,7 +203,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.cf_interconnects.with_raw_response.update( @@ -231,7 +215,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await response.parse() assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.cf_interconnects.with_streaming_response.update( @@ -246,7 +229,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -261,7 +243,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.list( @@ -269,7 +250,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.cf_interconnects.with_raw_response.list( @@ -281,7 +261,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await response.parse() assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.cf_interconnects.with_streaming_response.list( @@ -295,7 +274,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -303,7 +281,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.get( @@ -312,7 +289,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.cf_interconnects.with_raw_response.get( @@ -325,7 +301,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await response.parse() assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.cf_interconnects.with_streaming_response.get( @@ -340,7 +315,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/magic_transit/test_gre_tunnels.py b/tests/api_resources/magic_transit/test_gre_tunnels.py index 31d91baf984..4b34df6809b 100644 --- a/tests/api_resources/magic_transit/test_gre_tunnels.py +++ b/tests/api_resources/magic_transit/test_gre_tunnels.py @@ -23,7 +23,7 @@ class TestGRETunnels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.create( @@ -45,7 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.create( @@ -60,7 +60,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +69,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.update( @@ -82,7 +81,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.update( @@ -105,7 +103,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.update( @@ -122,7 +119,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.update( @@ -141,7 +137,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -164,7 +159,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="GRE_1", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.list( @@ -172,7 +166,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.list( @@ -184,7 +177,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.list( @@ -198,7 +190,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -206,7 +197,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.delete( @@ -215,7 +205,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.delete( @@ -228,7 +217,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.delete( @@ -243,7 +231,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -258,7 +245,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.get( @@ -267,7 +253,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.get( @@ -280,7 +265,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.get( @@ -295,7 +279,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +297,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncGRETunnels: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.create( @@ -323,7 +306,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.create( @@ -336,7 +319,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.create( @@ -351,7 +334,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +343,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.update( @@ -373,7 +355,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.update( @@ -396,7 +377,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.update( @@ -413,7 +393,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.update( @@ -432,7 +411,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -455,7 +433,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="GRE_1", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.list( @@ -463,7 +440,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.list( @@ -475,7 +451,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.list( @@ -489,7 +464,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -497,7 +471,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.delete( @@ -506,7 +479,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.delete( @@ -519,7 +491,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.delete( @@ -534,7 +505,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -549,7 +519,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.get( @@ -558,7 +527,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.get( @@ -571,7 +539,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.get( @@ -586,7 +553,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/magic_transit/test_ipsec_tunnels.py b/tests/api_resources/magic_transit/test_ipsec_tunnels.py index d2a44b460b4..e4ea142af03 100644 --- a/tests/api_resources/magic_transit/test_ipsec_tunnels.py +++ b/tests/api_resources/magic_transit/test_ipsec_tunnels.py @@ -24,7 +24,6 @@ class TestIPSECTunnels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.create( @@ -57,7 +55,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.create( @@ -72,7 +69,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.create( @@ -89,7 +85,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -100,7 +95,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="IPsec_1", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.update( @@ -112,7 +106,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.update( @@ -135,7 +128,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.update( @@ -151,7 +143,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.update( @@ -169,7 +160,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -190,7 +180,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="IPsec_1", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.list( @@ -198,7 +187,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.list( @@ -210,7 +198,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.list( @@ -224,7 +211,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -232,7 +218,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.delete( @@ -241,7 +226,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.delete( @@ -254,7 +238,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.delete( @@ -269,7 +252,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -284,7 +266,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.get( @@ -293,7 +274,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.get( @@ -306,7 +286,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.get( @@ -321,7 +300,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_psk_generate(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.psk_generate( @@ -346,7 +323,6 @@ def test_method_psk_generate(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_psk_generate(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.psk_generate( @@ -360,7 +336,6 @@ def test_raw_response_psk_generate(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_psk_generate(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.psk_generate( @@ -376,7 +351,6 @@ def test_streaming_response_psk_generate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_psk_generate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -397,7 +371,6 @@ def test_path_params_psk_generate(self, client: Cloudflare) -> None: class TestAsyncIPSECTunnels: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.create( @@ -408,7 +381,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.create( @@ -430,7 +402,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.create( @@ -445,7 +416,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.create( @@ -462,7 +432,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -473,7 +442,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="IPsec_1", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.update( @@ -485,7 +453,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.update( @@ -508,7 +475,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.update( @@ -524,7 +490,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.update( @@ -542,7 +507,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -563,7 +527,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="IPsec_1", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.list( @@ -571,7 +534,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.list( @@ -583,7 +545,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.list( @@ -597,7 +558,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -605,7 +565,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.delete( @@ -614,7 +573,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.delete( @@ -627,7 +585,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.delete( @@ -642,7 +599,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -657,7 +613,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.get( @@ -666,7 +621,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.get( @@ -679,7 +633,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.get( @@ -694,7 +647,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -709,7 +661,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_psk_generate(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.psk_generate( @@ -719,7 +670,6 @@ async def test_method_psk_generate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_psk_generate(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.psk_generate( @@ -733,7 +683,6 @@ async def test_raw_response_psk_generate(self, async_client: AsyncCloudflare) -> ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_psk_generate(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.psk_generate( @@ -749,7 +698,6 @@ async def test_streaming_response_psk_generate(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_psk_generate(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/magic_transit/test_routes.py b/tests/api_resources/magic_transit/test_routes.py index d7e8a391a8f..20866b7a330 100644 --- a/tests/api_resources/magic_transit/test_routes.py +++ b/tests/api_resources/magic_transit/test_routes.py @@ -24,7 +24,7 @@ class TestRoutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: route = client.magic_transit.routes.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RouteCreateResponse, route, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.create( @@ -46,7 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteCreateResponse, route, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.create( @@ -61,7 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +70,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: route = client.magic_transit.routes.update( @@ -82,7 +81,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: route = client.magic_transit.routes.update( @@ -100,7 +98,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.update( @@ -116,7 +113,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteUpdateResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.update( @@ -134,7 +130,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +150,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: priority=0, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: route = client.magic_transit.routes.list( @@ -163,7 +157,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(RouteListResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.list( @@ -175,7 +168,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteListResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.list( @@ -189,7 +181,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -197,7 +188,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: route = client.magic_transit.routes.delete( @@ -206,7 +196,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RouteDeleteResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.delete( @@ -219,7 +208,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteDeleteResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.delete( @@ -234,7 +222,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -249,7 +236,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_empty(self, client: Cloudflare) -> None: route = client.magic_transit.routes.empty( @@ -257,7 +243,6 @@ def test_method_empty(self, client: Cloudflare) -> None: ) assert_matches_type(RouteEmptyResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_empty(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.empty( @@ -269,7 +254,6 @@ def test_raw_response_empty(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteEmptyResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_empty(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.empty( @@ -283,7 +267,6 @@ def test_streaming_response_empty(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_empty(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -291,7 +274,6 @@ def test_path_params_empty(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: route = client.magic_transit.routes.get( @@ -300,7 +282,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RouteGetResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.get( @@ -313,7 +294,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteGetResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.get( @@ -328,7 +308,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -347,7 +326,7 @@ 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() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.create( @@ -356,7 +335,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteCreateResponse, route, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.create( @@ -369,7 +348,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteCreateResponse, route, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.create( @@ -384,7 +363,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -393,7 +372,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.update( @@ -405,7 +383,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.update( @@ -423,7 +400,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.update( @@ -439,7 +415,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteUpdateResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.update( @@ -457,7 +432,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -478,7 +452,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: priority=0, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.list( @@ -486,7 +459,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteListResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.list( @@ -498,7 +470,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteListResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.list( @@ -512,7 +483,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -520,7 +490,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.delete( @@ -529,7 +498,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteDeleteResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.delete( @@ -542,7 +510,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteDeleteResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.delete( @@ -557,7 +524,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -572,7 +538,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_empty(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.empty( @@ -580,7 +545,6 @@ async def test_method_empty(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteEmptyResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_empty(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.empty( @@ -592,7 +556,6 @@ async def test_raw_response_empty(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteEmptyResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_empty(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.empty( @@ -606,7 +569,6 @@ async def test_streaming_response_empty(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_empty(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -614,7 +576,6 @@ async def test_path_params_empty(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.get( @@ -623,7 +584,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteGetResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.get( @@ -636,7 +596,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteGetResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.get( @@ -651,7 +610,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/magic_transit/test_sites.py b/tests/api_resources/magic_transit/test_sites.py index a75f49ec761..a4cfda99cf1 100644 --- a/tests/api_resources/magic_transit/test_sites.py +++ b/tests/api_resources/magic_transit/test_sites.py @@ -18,7 +18,6 @@ class TestSites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: site = client.magic_transit.sites.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: site = client.magic_transit.sites.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.create( @@ -57,7 +54,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.create( @@ -72,7 +68,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -81,7 +76,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="site_1", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: site = client.magic_transit.sites.update( @@ -90,7 +84,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: site = client.magic_transit.sites.update( @@ -107,7 +100,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.update( @@ -120,7 +112,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.update( @@ -135,7 +126,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -150,7 +140,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: site = client.magic_transit.sites.list( @@ -158,7 +147,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Site], site, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: site = client.magic_transit.sites.list( @@ -167,7 +155,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Site], site, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.list( @@ -179,7 +166,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(SyncSinglePage[Site], site, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.list( @@ -193,7 +179,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -201,7 +186,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: site = client.magic_transit.sites.delete( @@ -210,7 +194,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.delete( @@ -223,7 +206,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.delete( @@ -238,7 +220,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -253,7 +234,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: site = client.magic_transit.sites.get( @@ -262,7 +242,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.get( @@ -275,7 +254,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.get( @@ -290,7 +268,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -309,7 +286,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSites: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.create( @@ -318,7 +294,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.create( @@ -335,7 +310,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.create( @@ -348,7 +322,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.create( @@ -363,7 +336,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -372,7 +344,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="site_1", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.update( @@ -381,7 +352,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.update( @@ -398,7 +368,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.update( @@ -411,7 +380,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.update( @@ -426,7 +394,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +408,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.list( @@ -449,7 +415,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Site], site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.list( @@ -458,7 +423,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Site], site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.list( @@ -470,7 +434,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(AsyncSinglePage[Site], site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.list( @@ -484,7 +447,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -492,7 +454,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.delete( @@ -501,7 +462,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.delete( @@ -514,7 +474,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.delete( @@ -529,7 +488,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -544,7 +502,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.get( @@ -553,7 +510,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.get( @@ -566,7 +522,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(Site, site, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.get( @@ -581,7 +536,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/mtls_certificates/test_associations.py b/tests/api_resources/mtls_certificates/test_associations.py index a253daa651a..cce75fc9fec 100644 --- a/tests/api_resources/mtls_certificates/test_associations.py +++ b/tests/api_resources/mtls_certificates/test_associations.py @@ -17,7 +17,6 @@ class TestAssociations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: association = client.mtls_certificates.associations.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.mtls_certificates.associations.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: association = response.parse() assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.mtls_certificates.associations.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() @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 TestAsyncAssociations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: association = await async_client.mtls_certificates.associations.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.associations.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: association = await response.parse() assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.associations.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() @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/origin_tls_client_auth/hostnames/test_certificates.py b/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py index e75496db647..5e7de663ce0 100644 --- a/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py +++ b/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py @@ -23,7 +23,6 @@ class TestCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.create( @@ -47,7 +45,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.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() @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 ''"): @@ -73,7 +69,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.list( @@ -81,7 +76,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.list( @@ -93,7 +87,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(SyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.list( @@ -107,7 +100,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -115,7 +107,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.delete( @@ -124,7 +115,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete( @@ -137,7 +127,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.delete( @@ -152,7 +141,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -167,7 +155,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.get( @@ -176,7 +163,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CertificateGetResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.get( @@ -189,7 +175,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(CertificateGetResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.get( @@ -204,7 +189,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -223,7 +207,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.create( @@ -233,7 +216,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.create( @@ -247,7 +229,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.create( @@ -263,7 +244,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -273,7 +253,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.list( @@ -281,7 +260,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.list( @@ -293,7 +271,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(AsyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.list( @@ -307,7 +284,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -315,7 +291,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.delete( @@ -324,7 +299,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete( @@ -337,7 +311,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.delete( @@ -352,7 +325,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -367,7 +339,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.get( @@ -376,7 +347,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificateGetResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.get( @@ -389,7 +359,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(CertificateGetResponse, certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.get( @@ -404,7 +373,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/origin_tls_client_auth/test_hostnames.py b/tests/api_resources/origin_tls_client_auth/test_hostnames.py index a3247d84853..2878f827e81 100644 --- a/tests/api_resources/origin_tls_client_auth/test_hostnames.py +++ b/tests/api_resources/origin_tls_client_auth/test_hostnames.py @@ -20,7 +20,6 @@ class TestHostnames: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: hostname = client.origin_tls_client_auth.hostnames.update( @@ -29,7 +28,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.with_raw_response.update( @@ -42,7 +40,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.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() @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 ''"): @@ -66,7 +62,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: config=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hostname = client.origin_tls_client_auth.hostnames.get( @@ -75,7 +70,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.with_raw_response.get( @@ -88,7 +82,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.with_streaming_response.get( @@ -103,7 +96,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -122,7 +114,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHostnames: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.origin_tls_client_auth.hostnames.update( @@ -131,7 +122,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.with_raw_response.update( @@ -144,7 +134,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.with_streaming_response.update( @@ -159,7 +148,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -168,7 +156,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: config=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.origin_tls_client_auth.hostnames.get( @@ -177,7 +164,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.with_raw_response.get( @@ -190,7 +176,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.with_streaming_response.get( @@ -205,7 +190,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/origin_tls_client_auth/test_settings.py b/tests/api_resources/origin_tls_client_auth/test_settings.py index 009e48b2779..36d285fe92f 100644 --- a/tests/api_resources/origin_tls_client_auth/test_settings.py +++ b/tests/api_resources/origin_tls_client_auth/test_settings.py @@ -17,7 +17,6 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.origin_tls_client_auth.settings.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.settings.with_raw_response.update( @@ -39,7 +37,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.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() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: enabled=True, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.origin_tls_client_auth.settings.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.settings.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.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() @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 ''"): @@ -109,7 +101,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.origin_tls_client_auth.settings.update( @@ -118,7 +109,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.settings.with_raw_response.update( @@ -131,7 +121,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.settings.with_streaming_response.update( @@ -146,7 +135,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: enabled=True, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.origin_tls_client_auth.settings.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.settings.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.settings.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/page_shield/test_connections.py b/tests/api_resources/page_shield/test_connections.py index 4b343c51e30..f0a138460d7 100644 --- a/tests/api_resources/page_shield/test_connections.py +++ b/tests/api_resources/page_shield/test_connections.py @@ -18,7 +18,6 @@ class TestConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: connection = client.page_shield.connections.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Connection], connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: connection = client.page_shield.connections.list( @@ -46,7 +44,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Connection], connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.page_shield.connections.with_raw_response.list( @@ -58,7 +55,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(SyncSinglePage[Connection], connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.page_shield.connections.with_streaming_response.list( @@ -72,7 +68,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -80,7 +75,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: connection = client.page_shield.connections.get( @@ -89,7 +83,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Connection, connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.connections.with_raw_response.get( @@ -102,7 +95,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(Connection, connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.connections.with_streaming_response.get( @@ -117,7 +109,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -136,7 +127,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() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: connection = await async_client.page_shield.connections.list( @@ -144,7 +134,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Connection], connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: connection = await async_client.page_shield.connections.list( @@ -164,7 +153,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Connection], connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.connections.with_raw_response.list( @@ -176,7 +164,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(AsyncSinglePage[Connection], connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.connections.with_streaming_response.list( @@ -190,7 +177,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -198,7 +184,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connection = await async_client.page_shield.connections.get( @@ -207,7 +192,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Connection, connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.connections.with_raw_response.get( @@ -220,7 +204,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(Connection, connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.connections.with_streaming_response.get( @@ -235,7 +218,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/page_shield/test_policies.py b/tests/api_resources/page_shield/test_policies.py index 81f6297c0e0..500d4d23d0e 100644 --- a/tests/api_resources/page_shield/test_policies.py +++ b/tests/api_resources/page_shield/test_policies.py @@ -18,7 +18,6 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.page_shield.policies.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.page_shield.policies.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.page_shield.policies.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -73,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: policy = client.page_shield.policies.update( @@ -82,7 +76,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: policy = client.page_shield.policies.update( @@ -96,7 +89,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.update( @@ -109,7 +101,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.page_shield.policies.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() @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 ''"): @@ -139,7 +129,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.page_shield.policies.list( @@ -147,7 +136,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.list( @@ -159,7 +147,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.page_shield.policies.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() @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 ''"): @@ -181,7 +167,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.page_shield.policies.delete( @@ -190,7 +175,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert policy is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.delete( @@ -203,7 +187,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert policy is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.page_shield.policies.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() @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 ''"): @@ -233,7 +215,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.page_shield.policies.get( @@ -242,7 +223,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.get( @@ -255,7 +235,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.policies.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() @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 ''"): @@ -289,7 +267,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.create( @@ -297,7 +274,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.create( @@ -310,7 +286,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.create( @@ -322,7 +297,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.with_streaming_response.create( @@ -336,7 +310,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -344,7 +317,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.update( @@ -353,7 +325,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.update( @@ -367,7 +338,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.update( @@ -380,7 +350,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.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() @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 ''"): @@ -410,7 +378,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.list( @@ -418,7 +385,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.list( @@ -430,7 +396,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.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() @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 ''"): @@ -452,7 +416,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.delete( @@ -461,7 +424,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert policy is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.delete( @@ -474,7 +436,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert policy is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.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() @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 ''"): @@ -504,7 +464,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.get( @@ -513,7 +472,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.get( @@ -526,7 +484,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.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() @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/page_shield/test_scripts.py b/tests/api_resources/page_shield/test_scripts.py index 7896ce43515..a93e18c8b85 100644 --- a/tests/api_resources/page_shield/test_scripts.py +++ b/tests/api_resources/page_shield/test_scripts.py @@ -18,7 +18,6 @@ class TestScripts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: script = client.page_shield.scripts.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: script = client.page_shield.scripts.list( @@ -47,7 +45,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.page_shield.scripts.with_raw_response.list( @@ -59,7 +56,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(SyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.page_shield.scripts.with_streaming_response.list( @@ -73,7 +69,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -81,7 +76,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: script = client.page_shield.scripts.get( @@ -90,7 +84,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ScriptGetResponse, script, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.scripts.with_raw_response.get( @@ -103,7 +96,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(ScriptGetResponse, script, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.scripts.with_streaming_response.get( @@ -118,7 +110,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -137,7 +128,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncScripts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: script = await async_client.page_shield.scripts.list( @@ -145,7 +135,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: script = await async_client.page_shield.scripts.list( @@ -166,7 +155,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.scripts.with_raw_response.list( @@ -178,7 +166,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.scripts.with_streaming_response.list( @@ -192,7 +179,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -200,7 +186,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: script = await async_client.page_shield.scripts.get( @@ -209,7 +194,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScriptGetResponse, script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.scripts.with_raw_response.get( @@ -222,7 +206,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(ScriptGetResponse, script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.scripts.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/pagerules/test_settings.py b/tests/api_resources/pagerules/test_settings.py index 983c7e2bd05..7339a7f0ecc 100644 --- a/tests/api_resources/pagerules/test_settings.py +++ b/tests/api_resources/pagerules/test_settings.py @@ -17,7 +17,6 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: setting = client.pagerules.settings.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SettingListResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pagerules.settings.with_raw_response.list( @@ -37,7 +35,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingListResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pagerules.settings.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() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: setting = await async_client.pagerules.settings.list( @@ -71,7 +66,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingListResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.settings.with_raw_response.list( @@ -83,7 +77,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingListResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.settings.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() @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 ''"): diff --git a/tests/api_resources/pages/projects/deployments/history/test_logs.py b/tests/api_resources/pages/projects/deployments/history/test_logs.py index 7e59a77f9b2..03612af99fe 100644 --- a/tests/api_resources/pages/projects/deployments/history/test_logs.py +++ b/tests/api_resources/pages/projects/deployments/history/test_logs.py @@ -17,7 +17,6 @@ class TestLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: log = client.pages.projects.deployments.history.logs.get( @@ -27,7 +26,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LogGetResponse, log, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.history.logs.with_raw_response.get( @@ -41,7 +39,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: log = response.parse() assert_matches_type(LogGetResponse, log, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.deployments.history.logs.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() @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 TestAsyncLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: log = await async_client.pages.projects.deployments.history.logs.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LogGetResponse, log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.history.logs.with_raw_response.get( @@ -109,7 +103,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: log = await response.parse() assert_matches_type(LogGetResponse, log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.history.logs.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() @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/pages/projects/test_deployments.py b/tests/api_resources/pages/projects/test_deployments.py index f68617ea9fe..45e2f785dad 100644 --- a/tests/api_resources/pages/projects/test_deployments.py +++ b/tests/api_resources/pages/projects/test_deployments.py @@ -18,7 +18,7 @@ class TestDeployments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.create( @@ -37,7 +37,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.create( @@ -50,7 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.create( @@ -65,7 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -80,7 +80,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.list( @@ -89,7 +88,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Deployment], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.list( @@ -99,7 +97,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Deployment], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.list( @@ -112,7 +109,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(SyncSinglePage[Deployment], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.list( @@ -127,7 +123,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -142,7 +137,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.delete( @@ -152,7 +146,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.delete( @@ -166,7 +159,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(object, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.delete( @@ -182,7 +174,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -206,7 +197,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: project_name="this-is-my-project-01", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.get( @@ -216,7 +206,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.get( @@ -230,7 +219,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.get( @@ -246,7 +234,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -270,7 +257,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: project_name="this-is-my-project-01", ) - @pytest.mark.skip() @parametrize def test_method_retry(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.retry( @@ -281,7 +267,6 @@ def test_method_retry(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_retry(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.retry( @@ -296,7 +281,6 @@ def test_raw_response_retry(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_retry(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.retry( @@ -313,7 +297,6 @@ def test_streaming_response_retry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_retry(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -340,7 +323,6 @@ def test_path_params_retry(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_rollback(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.rollback( @@ -351,7 +333,6 @@ def test_method_rollback(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_rollback(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.rollback( @@ -366,7 +347,6 @@ def test_raw_response_rollback(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_rollback(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.rollback( @@ -383,7 +363,6 @@ def test_streaming_response_rollback(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_rollback(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -414,7 +393,7 @@ def test_path_params_rollback(self, client: Cloudflare) -> None: class TestAsyncDeployments: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.create( @@ -423,7 +402,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.create( @@ -433,7 +412,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.create( @@ -446,7 +425,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.create( @@ -461,7 +440,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -476,7 +455,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.list( @@ -485,7 +463,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Deployment], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.list( @@ -495,7 +472,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Deployment], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.list( @@ -508,7 +484,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(AsyncSinglePage[Deployment], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.list( @@ -523,7 +498,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -538,7 +512,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.delete( @@ -548,7 +521,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.delete( @@ -562,7 +534,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(object, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.delete( @@ -578,7 +549,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -602,7 +572,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: project_name="this-is-my-project-01", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.get( @@ -612,7 +581,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.get( @@ -626,7 +594,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.get( @@ -642,7 +609,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -666,7 +632,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: project_name="this-is-my-project-01", ) - @pytest.mark.skip() @parametrize async def test_method_retry(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.retry( @@ -677,7 +642,6 @@ async def test_method_retry(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_retry(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.retry( @@ -692,7 +656,6 @@ async def test_raw_response_retry(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_retry(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.retry( @@ -709,7 +672,6 @@ async def test_streaming_response_retry(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_retry(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -736,7 +698,6 @@ async def test_path_params_retry(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_rollback(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.rollback( @@ -747,7 +708,6 @@ async def test_method_rollback(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_rollback(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.rollback( @@ -762,7 +722,6 @@ async def test_raw_response_rollback(self, async_client: AsyncCloudflare) -> Non deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_rollback(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.rollback( @@ -779,7 +738,6 @@ async def test_streaming_response_rollback(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_rollback(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/pages/projects/test_domains.py b/tests/api_resources/pages/projects/test_domains.py index 9aff4e673ee..6fb601b3070 100644 --- a/tests/api_resources/pages/projects/test_domains.py +++ b/tests/api_resources/pages/projects/test_domains.py @@ -22,7 +22,6 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.create( @@ -46,7 +44,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pages.projects.domains.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() @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 ''"): @@ -79,7 +75,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={"name": "example.com"}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.list( @@ -88,7 +83,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.list( @@ -101,7 +95,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(SyncSinglePage[object], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.list( @@ -116,7 +109,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +123,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.delete( @@ -141,7 +132,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.delete( @@ -155,7 +145,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(object, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.delete( @@ -171,7 +160,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +183,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: project_name="this-is-my-project-01", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.edit( @@ -206,7 +193,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.edit( @@ -221,7 +207,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.edit( @@ -238,7 +223,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -265,7 +249,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.get( @@ -275,7 +258,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.get( @@ -289,7 +271,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.get( @@ -305,7 +286,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -333,7 +313,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.create( @@ -343,7 +322,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.create( @@ -357,7 +335,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.create( @@ -373,7 +350,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -390,7 +366,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={"name": "example.com"}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.list( @@ -399,7 +374,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[object], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.list( @@ -412,7 +386,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(AsyncSinglePage[object], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.list( @@ -427,7 +400,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -442,7 +414,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.delete( @@ -452,7 +423,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.delete( @@ -466,7 +436,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(object, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.delete( @@ -482,7 +451,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -506,7 +474,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: project_name="this-is-my-project-01", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.edit( @@ -517,7 +484,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.edit( @@ -532,7 +498,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.edit( @@ -549,7 +514,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -576,7 +540,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.get( @@ -586,7 +549,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.get( @@ -600,7 +562,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.get( @@ -616,7 +577,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/pages/test_projects.py b/tests/api_resources/pages/test_projects.py index 7089853a4f1..562db3e98af 100644 --- a/tests/api_resources/pages/test_projects.py +++ b/tests/api_resources/pages/test_projects.py @@ -23,7 +23,6 @@ class TestProjects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: project = client.pages.projects.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: project = client.pages.projects.create( @@ -111,7 +109,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.create( @@ -123,7 +120,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(ProjectCreateResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.create( @@ -137,7 +133,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -145,7 +140,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: project = client.pages.projects.list( @@ -153,7 +147,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Deployment], project, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.list( @@ -165,7 +158,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(SyncSinglePage[Deployment], project, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.list( @@ -179,7 +171,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -187,7 +178,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: project = client.pages.projects.delete( @@ -196,7 +186,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.delete( @@ -209,7 +198,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.delete( @@ -224,7 +212,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -239,7 +226,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: project = client.pages.projects.edit( @@ -264,7 +250,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ProjectEditResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.edit( @@ -293,7 +278,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(ProjectEditResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.edit( @@ -324,7 +308,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -371,7 +354,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: project = client.pages.projects.get( @@ -380,7 +362,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Project, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.get( @@ -393,7 +374,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(Project, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.get( @@ -408,7 +388,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -423,7 +402,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_purge_build_cache(self, client: Cloudflare) -> None: project = client.pages.projects.purge_build_cache( @@ -432,7 +410,6 @@ def test_method_purge_build_cache(self, client: Cloudflare) -> None: ) assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_purge_build_cache(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.purge_build_cache( @@ -445,7 +422,6 @@ def test_raw_response_purge_build_cache(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_purge_build_cache(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.purge_build_cache( @@ -460,7 +436,6 @@ def test_streaming_response_purge_build_cache(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_purge_build_cache(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -479,7 +454,6 @@ def test_path_params_purge_build_cache(self, client: Cloudflare) -> None: class TestAsyncProjects: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.create( @@ -487,7 +461,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.create( @@ -567,7 +540,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.create( @@ -579,7 +551,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(ProjectCreateResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.create( @@ -593,7 +564,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -601,7 +571,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.list( @@ -609,7 +578,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Deployment], project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.list( @@ -621,7 +589,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(AsyncSinglePage[Deployment], project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.list( @@ -635,7 +602,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -643,7 +609,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.delete( @@ -652,7 +617,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.delete( @@ -665,7 +629,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.delete( @@ -680,7 +643,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -695,7 +657,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.edit( @@ -720,7 +681,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProjectEditResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.edit( @@ -749,7 +709,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(ProjectEditResponse, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.edit( @@ -780,7 +739,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -827,7 +785,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.get( @@ -836,7 +793,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Project, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.get( @@ -849,7 +805,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(Project, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.get( @@ -864,7 +819,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -879,7 +833,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_purge_build_cache(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.purge_build_cache( @@ -888,7 +841,6 @@ async def test_method_purge_build_cache(self, async_client: AsyncCloudflare) -> ) assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_purge_build_cache(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.purge_build_cache( @@ -901,7 +853,6 @@ async def test_raw_response_purge_build_cache(self, async_client: AsyncCloudflar project = await response.parse() assert_matches_type(object, project, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_purge_build_cache(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.purge_build_cache( @@ -916,7 +867,6 @@ async def test_streaming_response_purge_build_cache(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_purge_build_cache(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/pcaps/test_download.py b/tests/api_resources/pcaps/test_download.py index 2b6c3f86def..ee286a6f414 100644 --- a/tests/api_resources/pcaps/test_download.py +++ b/tests/api_resources/pcaps/test_download.py @@ -23,7 +23,6 @@ class TestDownload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -39,7 +38,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() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -57,7 +55,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() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -77,7 +74,6 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, download.is_closed) is True - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -97,7 +93,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDownload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -113,7 +108,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() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -131,7 +125,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() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -151,7 +144,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, download.is_closed) is True - @pytest.mark.skip() @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/pcaps/test_ownership.py b/tests/api_resources/pcaps/test_ownership.py index d3a4f2fad81..b1032e3d9e3 100644 --- a/tests/api_resources/pcaps/test_ownership.py +++ b/tests/api_resources/pcaps/test_ownership.py @@ -17,7 +17,6 @@ class TestOwnership: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.create( @@ -39,7 +37,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pcaps.ownership.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() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: destination_conf="s3://pcaps-bucket?region=us-east-1", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.delete( @@ -72,7 +67,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert ownership is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.delete( @@ -85,7 +79,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ownership = response.parse() assert ownership is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pcaps.ownership.with_streaming_response.delete( @@ -100,7 +93,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -115,7 +107,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.get( @@ -123,7 +114,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.get( @@ -135,7 +125,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pcaps.ownership.with_streaming_response.get( @@ -149,7 +138,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -157,7 +145,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_validate(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.validate( @@ -167,7 +154,6 @@ def test_method_validate(self, client: Cloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_validate(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.validate( @@ -181,7 +167,6 @@ def test_raw_response_validate(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_validate(self, client: Cloudflare) -> None: with client.pcaps.ownership.with_streaming_response.validate( @@ -197,7 +182,6 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -211,7 +195,6 @@ def test_path_params_validate(self, client: Cloudflare) -> None: class TestAsyncOwnership: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.create( @@ -220,7 +203,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.create( @@ -233,7 +215,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.create( @@ -248,7 +229,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -257,7 +237,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: destination_conf="s3://pcaps-bucket?region=us-east-1", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.delete( @@ -266,7 +245,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert ownership is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.delete( @@ -279,7 +257,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert ownership is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.delete( @@ -294,7 +271,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -309,7 +285,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.get( @@ -317,7 +292,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.get( @@ -329,7 +303,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.get( @@ -343,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() @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 ''"): @@ -351,7 +323,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.validate( @@ -361,7 +332,6 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.validate( @@ -375,7 +345,6 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non ownership = await response.parse() assert_matches_type(Ownership, ownership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_validate(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.validate( @@ -391,7 +360,6 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/queues/test_consumers.py b/tests/api_resources/queues/test_consumers.py index 744744cd9cf..39efe21c453 100644 --- a/tests/api_resources/queues/test_consumers.py +++ b/tests/api_resources/queues/test_consumers.py @@ -22,7 +22,6 @@ class TestConsumers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: consumer = client.queues.consumers.create( @@ -42,7 +41,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.create( @@ -66,7 +64,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.create( @@ -92,7 +89,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -129,7 +125,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: consumer = client.queues.consumers.update( @@ -145,7 +140,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.update( @@ -165,7 +159,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.update( @@ -187,7 +180,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -229,7 +221,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: consumer = client.queues.consumers.delete( @@ -239,7 +230,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.delete( @@ -253,7 +243,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.delete( @@ -269,7 +258,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -293,7 +281,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: queue_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: consumer = client.queues.consumers.get( @@ -302,7 +289,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.get( @@ -315,7 +301,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.get( @@ -330,7 +315,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -349,7 +333,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConsumers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.create( @@ -369,7 +352,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.create( @@ -393,7 +375,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.create( @@ -419,7 +400,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -456,7 +436,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.update( @@ -472,7 +451,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.update( @@ -492,7 +470,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.update( @@ -514,7 +491,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -556,7 +532,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.delete( @@ -566,7 +541,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.delete( @@ -580,7 +554,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.delete( @@ -596,7 +569,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -620,7 +592,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: queue_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.get( @@ -629,7 +600,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.get( @@ -642,7 +612,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.get( @@ -657,7 +626,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/queues/test_messages.py b/tests/api_resources/queues/test_messages.py index 1e24941e1b8..709728a1ff1 100644 --- a/tests/api_resources/queues/test_messages.py +++ b/tests/api_resources/queues/test_messages.py @@ -17,7 +17,6 @@ class TestMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_ack(self, client: Cloudflare) -> None: message = client.queues.messages.ack( @@ -26,7 +25,6 @@ def test_method_ack(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ack_with_all_params(self, client: Cloudflare) -> None: message = client.queues.messages.ack( @@ -60,7 +58,6 @@ def test_method_ack_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ack(self, client: Cloudflare) -> None: response = client.queues.messages.with_raw_response.ack( @@ -73,7 +70,6 @@ def test_raw_response_ack(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ack(self, client: Cloudflare) -> None: with client.queues.messages.with_streaming_response.ack( @@ -88,7 +84,6 @@ def test_streaming_response_ack(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_ack(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -103,7 +98,6 @@ def test_path_params_ack(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_pull(self, client: Cloudflare) -> None: message = client.queues.messages.pull( @@ -112,7 +106,6 @@ def test_method_pull(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_pull_with_all_params(self, client: Cloudflare) -> None: message = client.queues.messages.pull( @@ -123,7 +116,6 @@ def test_method_pull_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_pull(self, client: Cloudflare) -> None: response = client.queues.messages.with_raw_response.pull( @@ -136,7 +128,6 @@ def test_raw_response_pull(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_pull(self, client: Cloudflare) -> None: with client.queues.messages.with_streaming_response.pull( @@ -151,7 +142,6 @@ def test_streaming_response_pull(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_pull(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -170,7 +160,6 @@ def test_path_params_pull(self, client: Cloudflare) -> None: class TestAsyncMessages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_ack(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.ack( @@ -179,7 +168,6 @@ async def test_method_ack(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ack_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.ack( @@ -213,7 +201,6 @@ async def test_method_ack_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ack(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.messages.with_raw_response.ack( @@ -226,7 +213,6 @@ async def test_raw_response_ack(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ack(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.messages.with_streaming_response.ack( @@ -241,7 +227,6 @@ async def test_streaming_response_ack(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_ack(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -256,7 +241,6 @@ async def test_path_params_ack(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_pull(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.pull( @@ -265,7 +249,6 @@ async def test_method_pull(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_pull_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.pull( @@ -276,7 +259,6 @@ async def test_method_pull_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_pull(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.messages.with_raw_response.pull( @@ -289,7 +271,6 @@ async def test_raw_response_pull(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_pull(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.messages.with_streaming_response.pull( @@ -304,7 +285,6 @@ async def test_streaming_response_pull(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_pull(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/r2/test_buckets.py b/tests/api_resources/r2/test_buckets.py index 157f4be3fe6..956a75d7441 100644 --- a/tests/api_resources/r2/test_buckets.py +++ b/tests/api_resources/r2/test_buckets.py @@ -18,7 +18,6 @@ class TestBuckets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: bucket = client.r2.buckets.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: bucket = client.r2.buckets.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -74,7 +69,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="example-bucket", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: bucket = client.r2.buckets.list( @@ -82,7 +76,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[Bucket], bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: bucket = client.r2.buckets.list( @@ -96,7 +89,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[Bucket], bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.list( @@ -108,7 +100,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(SyncCursorPagination[Bucket], bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.list( @@ -122,7 +113,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +120,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: bucket = client.r2.buckets.delete( @@ -139,7 +128,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.delete( @@ -152,7 +140,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.delete( @@ -167,7 +154,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -182,7 +168,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bucket = client.r2.buckets.get( @@ -191,7 +176,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.get( @@ -204,7 +188,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.get( @@ -219,7 +202,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -238,7 +220,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBuckets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.create( @@ -247,7 +228,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.create( @@ -257,7 +237,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.create( @@ -270,7 +249,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.create( @@ -285,7 +263,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -294,7 +271,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="example-bucket", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.list( @@ -302,7 +278,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorPagination[Bucket], bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.list( @@ -316,7 +291,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorPagination[Bucket], bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.list( @@ -328,7 +302,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(AsyncCursorPagination[Bucket], bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.list( @@ -342,7 +315,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -350,7 +322,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.delete( @@ -359,7 +330,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.delete( @@ -372,7 +342,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.delete( @@ -387,7 +356,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -402,7 +370,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.get( @@ -411,7 +378,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.get( @@ -424,7 +390,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(Bucket, bucket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.get( @@ -439,7 +404,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/r2/test_sippy.py b/tests/api_resources/r2/test_sippy.py index 364859aae67..b3005ce3cc9 100644 --- a/tests/api_resources/r2/test_sippy.py +++ b/tests/api_resources/r2/test_sippy.py @@ -17,7 +17,6 @@ class TestSippy: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -26,7 +25,6 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -47,7 +45,6 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.update( @@ -60,7 +57,6 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.update( @@ -75,7 +71,6 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -90,7 +85,6 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -99,7 +93,6 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -119,7 +112,6 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.update( @@ -132,7 +124,6 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.update( @@ -147,7 +138,6 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -162,7 +152,6 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: sippy = client.r2.sippy.delete( @@ -171,7 +160,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.delete( @@ -184,7 +172,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.delete( @@ -199,7 +186,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -214,7 +200,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: sippy = client.r2.sippy.get( @@ -223,7 +208,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.get( @@ -236,7 +220,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.get( @@ -251,7 +234,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -270,7 +252,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSippy: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -279,7 +260,6 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -300,7 +280,6 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.update( @@ -313,7 +292,6 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar sippy = await response.parse() assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.update( @@ -328,7 +306,6 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -343,7 +320,6 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -352,7 +328,6 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -372,7 +347,6 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.update( @@ -385,7 +359,6 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar sippy = await response.parse() assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.update( @@ -400,7 +373,6 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -415,7 +387,6 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.delete( @@ -424,7 +395,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.delete( @@ -437,7 +407,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: sippy = await response.parse() assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.delete( @@ -452,7 +421,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -467,7 +435,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.get( @@ -476,7 +443,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.get( @@ -489,7 +455,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: sippy = await response.parse() assert_matches_type(Sippy, sippy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.get( @@ -504,7 +469,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/radar/annotations/test_outages.py b/tests/api_resources/radar/annotations/test_outages.py index c0cfec471f9..f249d7e3c89 100644 --- a/tests/api_resources/radar/annotations/test_outages.py +++ b/tests/api_resources/radar/annotations/test_outages.py @@ -21,13 +21,11 @@ class TestOutages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.get() assert_matches_type(OutageGetResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.get( @@ -42,7 +40,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OutageGetResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.annotations.outages.with_raw_response.get() @@ -52,7 +49,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: outage = response.parse() assert_matches_type(OutageGetResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.annotations.outages.with_streaming_response.get() as response: @@ -64,13 +60,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.locations() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.locations( @@ -82,7 +76,6 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OutageLocationsResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.annotations.outages.with_raw_response.locations() @@ -92,7 +85,6 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: outage = response.parse() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.annotations.outages.with_streaming_response.locations() as response: @@ -108,13 +100,11 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncOutages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.get() assert_matches_type(OutageGetResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.get( @@ -129,7 +119,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(OutageGetResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.annotations.outages.with_raw_response.get() @@ -139,7 +128,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: outage = await response.parse() assert_matches_type(OutageGetResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.annotations.outages.with_streaming_response.get() as response: @@ -151,13 +139,11 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.locations() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.locations( @@ -169,7 +155,6 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(OutageLocationsResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.annotations.outages.with_raw_response.locations() @@ -179,7 +164,6 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No outage = await response.parse() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.annotations.outages.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/as112/test_summary.py b/tests/api_resources/radar/as112/test_summary.py index 1f6f7128b01..13d0bdbf800 100644 --- a/tests/api_resources/radar/as112/test_summary.py +++ b/tests/api_resources/radar/as112/test_summary.py @@ -25,13 +25,11 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_dnssec(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.dnssec() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.dnssec( @@ -54,7 +52,6 @@ def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dnssec(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.dnssec() @@ -64,7 +61,6 @@ def test_raw_response_dnssec(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dnssec(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.dnssec() as response: @@ -76,13 +72,11 @@ def test_streaming_response_dnssec(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_edns(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.edns() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edns_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.edns( @@ -105,7 +99,6 @@ def test_method_edns_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edns(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.edns() @@ -115,7 +108,6 @@ def test_raw_response_edns(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edns(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.edns() as response: @@ -127,13 +119,11 @@ def test_streaming_response_edns(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.ip_version( @@ -156,7 +146,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.ip_version() @@ -166,7 +155,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.ip_version() as response: @@ -178,13 +166,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.protocol( @@ -207,7 +193,6 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.protocol() @@ -217,7 +202,6 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.protocol() as response: @@ -229,13 +213,11 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_query_type(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.query_type() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.query_type( @@ -258,7 +240,6 @@ def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_query_type(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.query_type() @@ -268,7 +249,6 @@ def test_raw_response_query_type(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_query_type(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.query_type() as response: @@ -280,13 +260,11 @@ def test_streaming_response_query_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_response_codes(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.response_codes() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.response_codes( @@ -309,7 +287,6 @@ def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None ) assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_response_codes(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.response_codes() @@ -319,7 +296,6 @@ def test_raw_response_response_codes(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_response_codes(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.response_codes() as response: @@ -335,13 +311,11 @@ def test_streaming_response_response_codes(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.dnssec() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.dnssec( @@ -364,7 +338,6 @@ async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.dnssec() @@ -374,7 +347,6 @@ async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.dnssec() as response: @@ -386,13 +358,11 @@ async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_edns(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.edns() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.edns( @@ -415,7 +385,6 @@ async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.edns() @@ -425,7 +394,6 @@ async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.edns() as response: @@ -437,13 +405,11 @@ async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.ip_version( @@ -466,7 +432,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.ip_version() @@ -476,7 +441,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.ip_version() as response: @@ -488,13 +452,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.protocol( @@ -517,7 +479,6 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.protocol() @@ -527,7 +488,6 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non summary = await response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.protocol() as response: @@ -539,13 +499,11 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_query_type(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.query_type() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_query_type_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.query_type( @@ -568,7 +526,6 @@ async def test_method_query_type_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.query_type() @@ -578,7 +535,6 @@ async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_query_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.query_type() as response: @@ -590,13 +546,11 @@ async def test_streaming_response_query_type(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_response_codes(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.response_codes() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_response_codes_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.response_codes( @@ -619,7 +573,6 @@ async def test_method_response_codes_with_all_params(self, async_client: AsyncCl ) assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.response_codes() @@ -629,7 +582,6 @@ async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) summary = await response.parse() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_response_codes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.response_codes() as response: diff --git a/tests/api_resources/radar/as112/test_timeseries_groups.py b/tests/api_resources/radar/as112/test_timeseries_groups.py index ed291ceed6b..38ec1d21891 100644 --- a/tests/api_resources/radar/as112/test_timeseries_groups.py +++ b/tests/api_resources/radar/as112/test_timeseries_groups.py @@ -25,13 +25,11 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_dnssec(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.dnssec() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.dnssec( @@ -55,7 +53,6 @@ def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dnssec(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.dnssec() @@ -65,7 +62,6 @@ def test_raw_response_dnssec(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dnssec(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.dnssec() as response: @@ -77,13 +73,11 @@ def test_streaming_response_dnssec(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_edns(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.edns() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edns_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.edns( @@ -107,7 +101,6 @@ def test_method_edns_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edns(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.edns() @@ -117,7 +110,6 @@ def test_raw_response_edns(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edns(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.edns() as response: @@ -129,13 +121,11 @@ def test_streaming_response_edns(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.ip_version( @@ -159,7 +149,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.ip_version() @@ -169,7 +158,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.ip_version() as response: @@ -181,13 +169,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.protocol( @@ -211,7 +197,6 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.protocol() @@ -221,7 +206,6 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.protocol() as response: @@ -233,13 +217,11 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_query_type(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.query_type() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.query_type( @@ -263,7 +245,6 @@ def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_query_type(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.query_type() @@ -273,7 +254,6 @@ def test_raw_response_query_type(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_query_type(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.query_type() as response: @@ -285,13 +265,11 @@ def test_streaming_response_query_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_response_codes(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.response_codes() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.response_codes( @@ -315,7 +293,6 @@ def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None ) assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_response_codes(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.response_codes() @@ -325,7 +302,6 @@ def test_raw_response_response_codes(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_response_codes(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.response_codes() as response: @@ -341,13 +317,11 @@ def test_streaming_response_response_codes(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.dnssec() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.dnssec( @@ -371,7 +345,6 @@ async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.dnssec() @@ -381,7 +354,6 @@ async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.dnssec() as response: @@ -393,13 +365,11 @@ async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_edns(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.edns() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.edns( @@ -423,7 +393,6 @@ async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.edns() @@ -433,7 +402,6 @@ async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.edns() as response: @@ -445,13 +413,11 @@ async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.ip_version( @@ -475,7 +441,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.ip_version() @@ -485,7 +450,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.ip_version() as response: @@ -497,13 +461,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.protocol( @@ -527,7 +489,6 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.protocol() @@ -537,7 +498,6 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.protocol() as response: @@ -549,13 +509,11 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_query_type(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.query_type() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_query_type_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.query_type( @@ -579,7 +537,6 @@ async def test_method_query_type_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.query_type() @@ -589,7 +546,6 @@ async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_query_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.query_type() as response: @@ -601,13 +557,11 @@ async def test_streaming_response_query_type(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_response_codes(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.response_codes() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_response_codes_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.response_codes( @@ -631,7 +585,6 @@ async def test_method_response_codes_with_all_params(self, async_client: AsyncCl ) assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.response_codes() @@ -641,7 +594,6 @@ async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_response_codes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.response_codes() as response: diff --git a/tests/api_resources/radar/as112/test_top.py b/tests/api_resources/radar/as112/test_top.py index 9dcda9b638d..81ffe5314d8 100644 --- a/tests/api_resources/radar/as112/test_top.py +++ b/tests/api_resources/radar/as112/test_top.py @@ -23,7 +23,6 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_dnssec(self, client: Cloudflare) -> None: top = client.radar.as112.top.dnssec( @@ -31,7 +30,6 @@ def test_method_dnssec(self, client: Cloudflare) -> None: ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.dnssec( @@ -56,7 +54,6 @@ def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dnssec(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.dnssec( @@ -68,7 +65,6 @@ def test_raw_response_dnssec(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopDNSSECResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dnssec(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.dnssec( @@ -82,7 +78,6 @@ def test_streaming_response_dnssec(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_edns(self, client: Cloudflare) -> None: top = client.radar.as112.top.edns( @@ -90,7 +85,6 @@ def test_method_edns(self, client: Cloudflare) -> None: ) assert_matches_type(TopEdnsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edns_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.edns( @@ -115,7 +109,6 @@ def test_method_edns_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopEdnsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edns(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.edns( @@ -127,7 +120,6 @@ def test_raw_response_edns(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopEdnsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edns(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.edns( @@ -141,7 +133,6 @@ def test_streaming_response_edns(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: top = client.radar.as112.top.ip_version( @@ -149,7 +140,6 @@ def test_method_ip_version(self, client: Cloudflare) -> None: ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.ip_version( @@ -174,7 +164,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.ip_version( @@ -186,7 +175,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopIPVersionResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.ip_version( @@ -200,13 +188,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.as112.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.locations( @@ -230,7 +216,6 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.locations() @@ -240,7 +225,6 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.locations() as response: @@ -256,7 +240,6 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.dnssec( @@ -264,7 +247,6 @@ async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.dnssec( @@ -289,7 +271,6 @@ async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.dnssec( @@ -301,7 +282,6 @@ async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopDNSSECResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.dnssec( @@ -315,7 +295,6 @@ async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_edns(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.edns( @@ -323,7 +302,6 @@ async def test_method_edns(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopEdnsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.edns( @@ -348,7 +326,6 @@ async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopEdnsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.edns( @@ -360,7 +337,6 @@ async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopEdnsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.edns( @@ -374,7 +350,6 @@ async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.ip_version( @@ -382,7 +357,6 @@ async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.ip_version( @@ -407,7 +381,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.ip_version( @@ -419,7 +392,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N top = await response.parse() assert_matches_type(TopIPVersionResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.ip_version( @@ -433,13 +405,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.locations( @@ -463,7 +433,6 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.locations() @@ -473,7 +442,6 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/attacks/layer3/test_summary.py b/tests/api_resources/radar/attacks/layer3/test_summary.py index fa77a34344f..4b0fa3e5290 100644 --- a/tests/api_resources/radar/attacks/layer3/test_summary.py +++ b/tests/api_resources/radar/attacks/layer3/test_summary.py @@ -25,13 +25,11 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_bitrate(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.bitrate() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.bitrate( @@ -56,7 +54,6 @@ def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_bitrate(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.bitrate() @@ -66,7 +63,6 @@ def test_raw_response_bitrate(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_bitrate(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.bitrate() as response: @@ -78,13 +74,11 @@ def test_streaming_response_bitrate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_duration(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.duration() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_duration_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.duration( @@ -109,7 +103,6 @@ def test_method_duration_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDurationResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_duration(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.duration() @@ -119,7 +112,6 @@ def test_raw_response_duration(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_duration(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.duration() as response: @@ -131,13 +123,11 @@ def test_streaming_response_duration(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.get( @@ -160,7 +150,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.get() @@ -170,7 +159,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.get() as response: @@ -182,13 +170,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.ip_version( @@ -212,7 +198,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.ip_version() @@ -222,7 +207,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.ip_version() as response: @@ -234,13 +218,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.protocol( @@ -264,7 +246,6 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.protocol() @@ -274,7 +255,6 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.protocol() as response: @@ -286,13 +266,11 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_vector(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.vector() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_vector_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.vector( @@ -317,7 +295,6 @@ def test_method_vector_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryVectorResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_vector(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.vector() @@ -327,7 +304,6 @@ def test_raw_response_vector(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_vector(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.vector() as response: @@ -343,13 +319,11 @@ def test_streaming_response_vector(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_bitrate(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.bitrate() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.bitrate( @@ -374,7 +348,6 @@ async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.bitrate() @@ -384,7 +357,6 @@ async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None summary = await response.parse() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.bitrate() as response: @@ -396,13 +368,11 @@ async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_duration(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.duration() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_duration_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.duration( @@ -427,7 +397,6 @@ async def test_method_duration_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(SummaryDurationResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.duration() @@ -437,7 +406,6 @@ async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> Non summary = await response.parse() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_duration(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.duration() as response: @@ -449,13 +417,11 @@ async def test_streaming_response_duration(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.get( @@ -478,7 +444,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.get() @@ -488,7 +453,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.get() as response: @@ -500,13 +464,11 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.ip_version( @@ -530,7 +492,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.ip_version() @@ -540,7 +501,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.ip_version() as response: @@ -552,13 +512,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.protocol( @@ -582,7 +540,6 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.protocol() @@ -592,7 +549,6 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non summary = await response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.protocol() as response: @@ -604,13 +560,11 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_vector(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.vector() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.vector( @@ -635,7 +589,6 @@ async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SummaryVectorResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.vector() @@ -645,7 +598,6 @@ async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_vector(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.vector() as response: diff --git a/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py b/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py index 67738ff175e..1dd04286948 100644 --- a/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py +++ b/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py @@ -27,13 +27,11 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_bitrate(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.bitrate() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.bitrate( @@ -60,7 +58,6 @@ def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_bitrate(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.bitrate() @@ -70,7 +67,6 @@ def test_raw_response_bitrate(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_bitrate(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.bitrate() as response: @@ -82,13 +78,11 @@ def test_streaming_response_bitrate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_duration(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.duration() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_duration_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.duration( @@ -115,7 +109,6 @@ def test_method_duration_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_duration(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.duration() @@ -125,7 +118,6 @@ def test_raw_response_duration(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_duration(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.duration() as response: @@ -137,13 +129,11 @@ def test_streaming_response_duration(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.get( @@ -167,7 +157,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.get() @@ -177,7 +166,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.get() as response: @@ -189,13 +177,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.industry( @@ -222,7 +208,6 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.industry() @@ -232,7 +217,6 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.industry() as response: @@ -244,13 +228,11 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.ip_version( @@ -276,7 +258,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.ip_version() @@ -286,7 +267,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.ip_version() as response: @@ -298,13 +278,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.protocol( @@ -330,7 +308,6 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.protocol() @@ -340,7 +317,6 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.protocol() as response: @@ -352,13 +328,11 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_vector(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vector() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_vector_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vector( @@ -386,7 +360,6 @@ def test_method_vector_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_vector(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.vector() @@ -396,7 +369,6 @@ def test_raw_response_vector(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_vector(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vector() as response: @@ -408,13 +380,11 @@ def test_streaming_response_vector(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vertical( @@ -441,7 +411,6 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.vertical() @@ -451,7 +420,6 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vertical() as response: @@ -467,13 +435,11 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_bitrate(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.bitrate() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.bitrate( @@ -500,7 +466,6 @@ async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.bitrate() @@ -510,7 +475,6 @@ async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.bitrate() as response: @@ -522,13 +486,11 @@ async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_duration(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.duration() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_duration_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.duration( @@ -555,7 +517,6 @@ async def test_method_duration_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.duration() @@ -565,7 +526,6 @@ async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_duration(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.duration() as response: @@ -577,13 +537,11 @@ async def test_streaming_response_duration(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.get( @@ -607,7 +565,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.get() @@ -617,7 +574,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.get() as response: @@ -629,13 +585,11 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.industry( @@ -662,7 +616,6 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.industry() @@ -672,7 +625,6 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.industry() as response: @@ -684,13 +636,11 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.ip_version( @@ -716,7 +666,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.ip_version() @@ -726,7 +675,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.ip_version() as response: @@ -738,13 +686,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.protocol( @@ -770,7 +716,6 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.protocol() @@ -780,7 +725,6 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.protocol() as response: @@ -792,13 +736,11 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_vector(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vector() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vector( @@ -826,7 +768,6 @@ async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.vector() @@ -836,7 +777,6 @@ async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_vector(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vector() as response: @@ -848,13 +788,11 @@ async def test_streaming_response_vector(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vertical( @@ -881,7 +819,6 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.vertical() @@ -891,7 +828,6 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer3/test_top.py b/tests/api_resources/radar/attacks/layer3/test_top.py index d48011bdd67..6d2d7d36d7c 100644 --- a/tests/api_resources/radar/attacks/layer3/test_top.py +++ b/tests/api_resources/radar/attacks/layer3/test_top.py @@ -22,13 +22,11 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_attacks(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.attacks( @@ -55,7 +53,6 @@ def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_attacks(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.with_raw_response.attacks() @@ -65,7 +62,6 @@ def test_raw_response_attacks(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_attacks(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.with_streaming_response.attacks() as response: @@ -77,13 +73,11 @@ def test_streaming_response_attacks(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.industry( @@ -108,7 +102,6 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.with_raw_response.industry() @@ -118,7 +111,6 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.with_streaming_response.industry() as response: @@ -130,13 +122,11 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.vertical( @@ -161,7 +151,6 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.with_raw_response.vertical() @@ -171,7 +160,6 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.with_streaming_response.vertical() as response: @@ -187,13 +175,11 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_attacks(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.attacks( @@ -220,7 +206,6 @@ async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.with_raw_response.attacks() @@ -230,7 +215,6 @@ async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None top = await response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.with_streaming_response.attacks() as response: @@ -242,13 +226,11 @@ async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.industry( @@ -273,7 +255,6 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.with_raw_response.industry() @@ -283,7 +264,6 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.with_streaming_response.industry() as response: @@ -295,13 +275,11 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.vertical( @@ -326,7 +304,6 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.with_raw_response.vertical() @@ -336,7 +313,6 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer3/top/test_locations.py b/tests/api_resources/radar/attacks/layer3/top/test_locations.py index 194c19f4bcd..f1848af7b27 100644 --- a/tests/api_resources/radar/attacks/layer3/top/test_locations.py +++ b/tests/api_resources/radar/attacks/layer3/top/test_locations.py @@ -21,13 +21,11 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_origin(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.origin( @@ -52,7 +50,6 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.locations.with_raw_response.origin() @@ -62,7 +59,6 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.locations.with_streaming_response.origin() as response: @@ -74,13 +70,11 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_target(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_target_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.target( @@ -105,7 +99,6 @@ def test_method_target_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_target(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.locations.with_raw_response.target() @@ -115,7 +108,6 @@ def test_raw_response_target(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_target(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.locations.with_streaming_response.target() as response: @@ -131,13 +123,11 @@ def test_streaming_response_target(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.origin( @@ -162,7 +152,6 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.locations.with_raw_response.origin() @@ -172,7 +161,6 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.locations.with_streaming_response.origin() as response: @@ -184,13 +172,11 @@ async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_target(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_target_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.target( @@ -215,7 +201,6 @@ async def test_method_target_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.locations.with_raw_response.target() @@ -225,7 +210,6 @@ async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_target(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.locations.with_streaming_response.target() as response: diff --git a/tests/api_resources/radar/attacks/layer7/test_summary.py b/tests/api_resources/radar/attacks/layer7/test_summary.py index 387fa63e663..c8f4159e08c 100644 --- a/tests/api_resources/radar/attacks/layer7/test_summary.py +++ b/tests/api_resources/radar/attacks/layer7/test_summary.py @@ -25,13 +25,11 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.get( @@ -54,7 +52,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.get() @@ -64,7 +61,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.get() as response: @@ -76,13 +72,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_method(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_method() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_method( @@ -108,7 +102,6 @@ def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_method(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.http_method() @@ -118,7 +111,6 @@ def test_raw_response_http_method(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_method(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.http_method() as response: @@ -130,13 +122,11 @@ def test_streaming_response_http_method(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_version( @@ -162,7 +152,6 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.http_version() @@ -172,7 +161,6 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.http_version() as response: @@ -184,13 +172,11 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.ip_version( @@ -216,7 +202,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.ip_version() @@ -226,7 +211,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.ip_version() as response: @@ -238,13 +222,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_managed_rules(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.managed_rules() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.managed_rules( @@ -271,7 +253,6 @@ def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_managed_rules(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.managed_rules() @@ -281,7 +262,6 @@ def test_raw_response_managed_rules(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.managed_rules() as response: @@ -293,13 +273,11 @@ def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_mitigation_product(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.mitigation_product() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.mitigation_product( @@ -325,7 +303,6 @@ def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> ) assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.mitigation_product() @@ -335,7 +312,6 @@ def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.mitigation_product() as response: @@ -351,13 +327,11 @@ def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.get( @@ -380,7 +354,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.get() @@ -390,7 +363,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.get() as response: @@ -402,13 +374,11 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_method(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_method() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_method_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_method( @@ -434,7 +404,6 @@ async def test_method_http_method_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.http_method() @@ -444,7 +413,6 @@ async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_method(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.http_method() as response: @@ -456,13 +424,11 @@ async def test_streaming_response_http_method(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_version( @@ -488,7 +454,6 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.http_version() @@ -498,7 +463,6 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.http_version() as response: @@ -510,13 +474,11 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.ip_version( @@ -542,7 +504,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.ip_version() @@ -552,7 +513,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.ip_version() as response: @@ -564,13 +524,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_managed_rules(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.managed_rules() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_managed_rules_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.managed_rules( @@ -597,7 +555,6 @@ async def test_method_managed_rules_with_all_params(self, async_client: AsyncClo ) assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.managed_rules() @@ -607,7 +564,6 @@ async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) - summary = await response.parse() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_managed_rules(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.managed_rules() as response: @@ -619,13 +575,11 @@ async def test_streaming_response_managed_rules(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_mitigation_product(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.mitigation_product() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_mitigation_product_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.mitigation_product( @@ -651,7 +605,6 @@ async def test_method_mitigation_product_with_all_params(self, async_client: Asy ) assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.mitigation_product() @@ -661,7 +614,6 @@ async def test_raw_response_mitigation_product(self, async_client: AsyncCloudfla summary = await response.parse() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.mitigation_product() as response: diff --git a/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py b/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py index e019a3d76fd..99f8be5a802 100644 --- a/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py +++ b/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py @@ -27,13 +27,11 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.get() @@ -67,7 +64,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.get() as response: @@ -79,13 +75,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_method(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_method() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_method( @@ -113,7 +107,6 @@ def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_method(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_method() @@ -123,7 +116,6 @@ def test_raw_response_http_method(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_method(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_method() as response: @@ -135,13 +127,11 @@ def test_streaming_response_http_method(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_version( @@ -169,7 +159,6 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_version() @@ -179,7 +168,6 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_version() as response: @@ -191,13 +179,11 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.industry( @@ -227,7 +213,6 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.industry() @@ -237,7 +222,6 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.industry() as response: @@ -249,13 +233,11 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.ip_version( @@ -283,7 +265,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.ip_version() @@ -293,7 +274,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.ip_version() as response: @@ -305,13 +285,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_managed_rules(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.managed_rules() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.managed_rules( @@ -340,7 +318,6 @@ def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_managed_rules(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.managed_rules() @@ -350,7 +327,6 @@ def test_raw_response_managed_rules(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.managed_rules() as response: @@ -362,13 +338,11 @@ def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_mitigation_product(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.mitigation_product() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.mitigation_product( @@ -396,7 +370,6 @@ def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> ) assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.mitigation_product() @@ -406,7 +379,6 @@ def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.mitigation_product() as response: @@ -418,13 +390,11 @@ def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.vertical( @@ -454,7 +424,6 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.vertical() @@ -464,7 +433,6 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.vertical() as response: @@ -480,13 +448,11 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.get( @@ -510,7 +476,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.get() @@ -520,7 +485,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.get() as response: @@ -532,13 +496,11 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_method(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_method() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_method_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_method( @@ -566,7 +528,6 @@ async def test_method_http_method_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_method() @@ -576,7 +537,6 @@ async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_method(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_method() as response: @@ -588,13 +548,11 @@ async def test_streaming_response_http_method(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_version( @@ -622,7 +580,6 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_version() @@ -632,7 +589,6 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_version() as response: @@ -644,13 +600,11 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.industry( @@ -680,7 +634,6 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.industry() @@ -690,7 +643,6 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.industry() as response: @@ -702,13 +654,11 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.ip_version( @@ -736,7 +686,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.ip_version() @@ -746,7 +695,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.ip_version() as response: @@ -758,13 +706,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_managed_rules(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.managed_rules() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_managed_rules_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.managed_rules( @@ -793,7 +739,6 @@ async def test_method_managed_rules_with_all_params(self, async_client: AsyncClo ) assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.managed_rules() @@ -803,7 +748,6 @@ async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) - timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_managed_rules(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.managed_rules() as response: @@ -815,13 +759,11 @@ async def test_streaming_response_managed_rules(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_mitigation_product(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.mitigation_product() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_mitigation_product_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.mitigation_product( @@ -849,7 +791,6 @@ async def test_method_mitigation_product_with_all_params(self, async_client: Asy ) assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.mitigation_product() @@ -859,7 +800,6 @@ async def test_raw_response_mitigation_product(self, async_client: AsyncCloudfla timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.mitigation_product() as response: @@ -871,13 +811,11 @@ async def test_streaming_response_mitigation_product(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.vertical( @@ -907,7 +845,6 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.vertical() @@ -917,7 +854,6 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer7/test_top.py b/tests/api_resources/radar/attacks/layer7/test_top.py index 6f0a9adb0a9..edce1b2472a 100644 --- a/tests/api_resources/radar/attacks/layer7/test_top.py +++ b/tests/api_resources/radar/attacks/layer7/test_top.py @@ -22,13 +22,11 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_attacks(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.attacks( @@ -55,7 +53,6 @@ def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_attacks(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.with_raw_response.attacks() @@ -65,7 +62,6 @@ def test_raw_response_attacks(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_attacks(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.with_streaming_response.attacks() as response: @@ -77,13 +73,11 @@ def test_streaming_response_attacks(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.industry( @@ -107,7 +101,6 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.with_raw_response.industry() @@ -117,7 +110,6 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.with_streaming_response.industry() as response: @@ -129,13 +121,11 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.vertical( @@ -159,7 +149,6 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.with_raw_response.vertical() @@ -169,7 +158,6 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.with_streaming_response.vertical() as response: @@ -185,13 +173,11 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_attacks(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.attacks( @@ -218,7 +204,6 @@ async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.with_raw_response.attacks() @@ -228,7 +213,6 @@ async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None top = await response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.with_streaming_response.attacks() as response: @@ -240,13 +224,11 @@ async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.industry( @@ -270,7 +252,6 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.with_raw_response.industry() @@ -280,7 +261,6 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.with_streaming_response.industry() as response: @@ -292,13 +272,11 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.vertical( @@ -322,7 +300,6 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.with_raw_response.vertical() @@ -332,7 +309,6 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer7/top/test_ases.py b/tests/api_resources/radar/attacks/layer7/top/test_ases.py index cf12547e615..afa9610bd1a 100644 --- a/tests/api_resources/radar/attacks/layer7/top/test_ases.py +++ b/tests/api_resources/radar/attacks/layer7/top/test_ases.py @@ -18,13 +18,11 @@ class TestAses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_origin(self, client: Cloudflare) -> None: ase = client.radar.attacks.layer7.top.ases.origin() assert_matches_type(AseOriginResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.attacks.layer7.top.ases.origin( @@ -47,7 +45,6 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AseOriginResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.ases.with_raw_response.origin() @@ -57,7 +54,6 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AseOriginResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.ases.with_streaming_response.origin() as response: @@ -73,13 +69,11 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: class TestAsyncAses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.attacks.layer7.top.ases.origin() assert_matches_type(AseOriginResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.attacks.layer7.top.ases.origin( @@ -102,7 +96,6 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AseOriginResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.ases.with_raw_response.origin() @@ -112,7 +105,6 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: ase = await response.parse() assert_matches_type(AseOriginResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.ases.with_streaming_response.origin() as response: diff --git a/tests/api_resources/radar/attacks/layer7/top/test_locations.py b/tests/api_resources/radar/attacks/layer7/top/test_locations.py index 0752c790d23..e1482281e22 100644 --- a/tests/api_resources/radar/attacks/layer7/top/test_locations.py +++ b/tests/api_resources/radar/attacks/layer7/top/test_locations.py @@ -21,13 +21,11 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_origin(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.origin( @@ -50,7 +48,6 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.locations.with_raw_response.origin() @@ -60,7 +57,6 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.locations.with_streaming_response.origin() as response: @@ -72,13 +68,11 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_target(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_target_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.target( @@ -100,7 +94,6 @@ def test_method_target_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_target(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.locations.with_raw_response.target() @@ -110,7 +103,6 @@ def test_raw_response_target(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_target(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.locations.with_streaming_response.target() as response: @@ -126,13 +118,11 @@ def test_streaming_response_target(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.origin( @@ -155,7 +145,6 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.locations.with_raw_response.origin() @@ -165,7 +154,6 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.locations.with_streaming_response.origin() as response: @@ -177,13 +165,11 @@ async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_target(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_target_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.target( @@ -205,7 +191,6 @@ async def test_method_target_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.locations.with_raw_response.target() @@ -215,7 +200,6 @@ async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_target(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.locations.with_streaming_response.target() as response: diff --git a/tests/api_resources/radar/attacks/test_layer3.py b/tests/api_resources/radar/attacks/test_layer3.py index cc21487946f..bdcdabdb226 100644 --- a/tests/api_resources/radar/attacks/test_layer3.py +++ b/tests/api_resources/radar/attacks/test_layer3.py @@ -18,13 +18,11 @@ class TestLayer3: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: layer3 = client.radar.attacks.layer3.timeseries() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: layer3 = client.radar.attacks.layer3.timeseries( @@ -53,7 +51,6 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.with_raw_response.timeseries() @@ -63,7 +60,6 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: layer3 = response.parse() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.with_streaming_response.timeseries() as response: @@ -79,13 +75,11 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncLayer3: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: layer3 = await async_client.radar.attacks.layer3.timeseries() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: layer3 = await async_client.radar.attacks.layer3.timeseries( @@ -114,7 +108,6 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.with_raw_response.timeseries() @@ -124,7 +117,6 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N layer3 = await response.parse() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/attacks/test_layer7.py b/tests/api_resources/radar/attacks/test_layer7.py index 45528ada5ac..5f4c4fbdb19 100644 --- a/tests/api_resources/radar/attacks/test_layer7.py +++ b/tests/api_resources/radar/attacks/test_layer7.py @@ -18,13 +18,11 @@ class TestLayer7: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: layer7 = client.radar.attacks.layer7.timeseries() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: layer7 = client.radar.attacks.layer7.timeseries( @@ -50,7 +48,6 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.with_raw_response.timeseries() @@ -60,7 +57,6 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: layer7 = response.parse() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.with_streaming_response.timeseries() as response: @@ -76,13 +72,11 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncLayer7: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: layer7 = await async_client.radar.attacks.layer7.timeseries() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: layer7 = await async_client.radar.attacks.layer7.timeseries( @@ -108,7 +102,6 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.with_raw_response.timeseries() @@ -118,7 +111,6 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N layer7 = await response.parse() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/bgp/hijacks/test_events.py b/tests/api_resources/radar/bgp/hijacks/test_events.py index e12b3caa09f..f0f7fa02ebe 100644 --- a/tests/api_resources/radar/bgp/hijacks/test_events.py +++ b/tests/api_resources/radar/bgp/hijacks/test_events.py @@ -19,13 +19,11 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: event = client.radar.bgp.hijacks.events.list() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: event = client.radar.bgp.hijacks.events.list( @@ -48,7 +46,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.bgp.hijacks.events.with_raw_response.list() @@ -58,7 +55,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.bgp.hijacks.events.with_streaming_response.list() as response: @@ -74,13 +70,11 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncEvents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.hijacks.events.list() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.hijacks.events.list( @@ -103,7 +97,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.hijacks.events.with_raw_response.list() @@ -113,7 +106,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.hijacks.events.with_streaming_response.list() as response: diff --git a/tests/api_resources/radar/bgp/leaks/test_events.py b/tests/api_resources/radar/bgp/leaks/test_events.py index a8eef2dfaf3..8c4feb02045 100644 --- a/tests/api_resources/radar/bgp/leaks/test_events.py +++ b/tests/api_resources/radar/bgp/leaks/test_events.py @@ -19,13 +19,11 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: event = client.radar.bgp.leaks.events.list() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: event = client.radar.bgp.leaks.events.list( @@ -44,7 +42,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.bgp.leaks.events.with_raw_response.list() @@ -54,7 +51,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.bgp.leaks.events.with_streaming_response.list() as response: @@ -70,13 +66,11 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncEvents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.leaks.events.list() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.leaks.events.list( @@ -95,7 +89,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.leaks.events.with_raw_response.list() @@ -105,7 +98,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.leaks.events.with_streaming_response.list() as response: diff --git a/tests/api_resources/radar/bgp/test_routes.py b/tests/api_resources/radar/bgp/test_routes.py index 1e26b3aa5da..a1bf66bc655 100644 --- a/tests/api_resources/radar/bgp/test_routes.py +++ b/tests/api_resources/radar/bgp/test_routes.py @@ -23,13 +23,11 @@ class TestRoutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_moas(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.moas() assert_matches_type(RouteMoasResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_moas_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.moas( @@ -40,7 +38,6 @@ def test_method_moas_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteMoasResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_moas(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.moas() @@ -50,7 +47,6 @@ def test_raw_response_moas(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteMoasResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_moas(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.moas() as response: @@ -62,13 +58,11 @@ def test_streaming_response_moas(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_pfx2as(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.pfx2as() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_pfx2as_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.pfx2as( @@ -80,7 +74,6 @@ def test_method_pfx2as_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RoutePfx2asResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_pfx2as(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.pfx2as() @@ -90,7 +83,6 @@ def test_raw_response_pfx2as(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_pfx2as(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.pfx2as() as response: @@ -102,13 +94,11 @@ def test_streaming_response_pfx2as(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_stats(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.stats() assert_matches_type(RouteStatsResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_stats_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.stats( @@ -118,7 +108,6 @@ def test_method_stats_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteStatsResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_stats(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.stats() @@ -128,7 +117,6 @@ def test_raw_response_stats(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteStatsResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_stats(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.stats() as response: @@ -140,13 +128,11 @@ def test_streaming_response_stats(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.timeseries() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.timeseries( @@ -160,7 +146,6 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.timeseries() @@ -170,7 +155,6 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.timeseries() as response: @@ -186,13 +170,11 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncRoutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_moas(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.moas() assert_matches_type(RouteMoasResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_moas_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.moas( @@ -203,7 +185,6 @@ async def test_method_moas_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RouteMoasResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_moas(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.moas() @@ -213,7 +194,6 @@ async def test_raw_response_moas(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteMoasResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_moas(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.moas() as response: @@ -225,13 +205,11 @@ async def test_streaming_response_moas(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_pfx2as(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.pfx2as() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_pfx2as_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.pfx2as( @@ -243,7 +221,6 @@ async def test_method_pfx2as_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RoutePfx2asResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_pfx2as(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.pfx2as() @@ -253,7 +230,6 @@ async def test_raw_response_pfx2as(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_pfx2as(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.pfx2as() as response: @@ -265,13 +241,11 @@ async def test_streaming_response_pfx2as(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_stats(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.stats() assert_matches_type(RouteStatsResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_stats_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.stats( @@ -281,7 +255,6 @@ async def test_method_stats_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RouteStatsResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_stats(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.stats() @@ -291,7 +264,6 @@ async def test_raw_response_stats(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteStatsResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_stats(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.stats() as response: @@ -303,13 +275,11 @@ async def test_streaming_response_stats(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.timeseries() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.timeseries( @@ -323,7 +293,6 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.timeseries() @@ -333,7 +302,6 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N route = await response.parse() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/bgp/test_top.py b/tests/api_resources/radar/bgp/test_top.py index 7f8f9d2cccd..aabb2c05533 100644 --- a/tests/api_resources/radar/bgp/test_top.py +++ b/tests/api_resources/radar/bgp/test_top.py @@ -18,13 +18,11 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_prefixes(self, client: Cloudflare) -> None: top = client.radar.bgp.top.prefixes() assert_matches_type(TopPrefixesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: top = client.radar.bgp.top.prefixes( @@ -47,7 +45,6 @@ def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopPrefixesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_prefixes(self, client: Cloudflare) -> None: response = client.radar.bgp.top.with_raw_response.prefixes() @@ -57,7 +54,6 @@ def test_raw_response_prefixes(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopPrefixesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_prefixes(self, client: Cloudflare) -> None: with client.radar.bgp.top.with_streaming_response.prefixes() as response: @@ -73,13 +69,11 @@ def test_streaming_response_prefixes(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_prefixes(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.bgp.top.prefixes() assert_matches_type(TopPrefixesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.bgp.top.prefixes( @@ -102,7 +96,6 @@ async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopPrefixesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.top.with_raw_response.prefixes() @@ -112,7 +105,6 @@ async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopPrefixesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_prefixes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.top.with_streaming_response.prefixes() as response: diff --git a/tests/api_resources/radar/bgp/top/test_ases.py b/tests/api_resources/radar/bgp/top/test_ases.py index 515a06046a6..0eb51280b0a 100644 --- a/tests/api_resources/radar/bgp/top/test_ases.py +++ b/tests/api_resources/radar/bgp/top/test_ases.py @@ -18,13 +18,11 @@ class TestAses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.get( @@ -48,7 +46,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.bgp.top.ases.with_raw_response.get() @@ -58,7 +55,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.bgp.top.ases.with_streaming_response.get() as response: @@ -70,13 +66,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_prefixes(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.prefixes() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.prefixes( @@ -86,7 +80,6 @@ def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AsePrefixesResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_prefixes(self, client: Cloudflare) -> None: response = client.radar.bgp.top.ases.with_raw_response.prefixes() @@ -96,7 +89,6 @@ def test_raw_response_prefixes(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_prefixes(self, client: Cloudflare) -> None: with client.radar.bgp.top.ases.with_streaming_response.prefixes() as response: @@ -112,13 +104,11 @@ def test_streaming_response_prefixes(self, client: Cloudflare) -> None: class TestAsyncAses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.get( @@ -142,7 +132,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.top.ases.with_raw_response.get() @@ -152,7 +141,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ase = await response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.top.ases.with_streaming_response.get() as response: @@ -164,13 +152,11 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_prefixes(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.prefixes() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.prefixes( @@ -180,7 +166,6 @@ async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(AsePrefixesResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.top.ases.with_raw_response.prefixes() @@ -190,7 +175,6 @@ async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> Non ase = await response.parse() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_prefixes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.top.ases.with_streaming_response.prefixes() as response: diff --git a/tests/api_resources/radar/dns/test_top.py b/tests/api_resources/radar/dns/test_top.py index e9e4494a4b1..f9c7f770b64 100644 --- a/tests/api_resources/radar/dns/test_top.py +++ b/tests/api_resources/radar/dns/test_top.py @@ -18,7 +18,6 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_ases(self, client: Cloudflare) -> None: top = client.radar.dns.top.ases( @@ -26,7 +25,6 @@ def test_method_ases(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ases_with_all_params(self, client: Cloudflare) -> None: top = client.radar.dns.top.ases( @@ -51,7 +49,6 @@ def test_method_ases_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ases(self, client: Cloudflare) -> None: response = client.radar.dns.top.with_raw_response.ases( @@ -63,7 +60,6 @@ def test_raw_response_ases(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ases(self, client: Cloudflare) -> None: with client.radar.dns.top.with_streaming_response.ases( @@ -77,7 +73,6 @@ def test_streaming_response_ases(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.dns.top.locations( @@ -85,7 +80,6 @@ def test_method_locations(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.dns.top.locations( @@ -110,7 +104,6 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.dns.top.with_raw_response.locations( @@ -122,7 +115,6 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.dns.top.with_streaming_response.locations( @@ -140,7 +132,6 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_ases(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.ases( @@ -148,7 +139,6 @@ async def test_method_ases(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.ases( @@ -173,7 +163,6 @@ async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.dns.top.with_raw_response.ases( @@ -185,7 +174,6 @@ async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.dns.top.with_streaming_response.ases( @@ -199,7 +187,6 @@ async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.locations( @@ -207,7 +194,6 @@ async def test_method_locations(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.locations( @@ -232,7 +218,6 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.dns.top.with_raw_response.locations( @@ -244,7 +229,6 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.dns.top.with_streaming_response.locations( diff --git a/tests/api_resources/radar/email/routing/test_summary.py b/tests/api_resources/radar/email/routing/test_summary.py index f44308cbcb4..23fa3d37588 100644 --- a/tests/api_resources/radar/email/routing/test_summary.py +++ b/tests/api_resources/radar/email/routing/test_summary.py @@ -25,13 +25,11 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.arc( @@ -56,7 +54,6 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.arc() @@ -66,7 +63,6 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.arc() as response: @@ -78,13 +74,11 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dkim( @@ -109,7 +103,6 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.dkim() @@ -119,7 +112,6 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.dkim() as response: @@ -131,13 +123,11 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dmarc( @@ -162,7 +152,6 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.dmarc() @@ -172,7 +161,6 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.dmarc() as response: @@ -184,13 +172,11 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_encrypted(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.encrypted() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.encrypted( @@ -215,7 +201,6 @@ def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_encrypted(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.encrypted() @@ -225,7 +210,6 @@ def test_raw_response_encrypted(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_encrypted(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.encrypted() as response: @@ -237,13 +221,11 @@ def test_streaming_response_encrypted(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.ip_version( @@ -268,7 +250,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.ip_version() @@ -278,7 +259,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.ip_version() as response: @@ -290,13 +270,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.spf( @@ -321,7 +299,6 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.spf() @@ -331,7 +308,6 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.spf() as response: @@ -347,13 +323,11 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.arc( @@ -378,7 +352,6 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.arc() @@ -388,7 +361,6 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.arc() as response: @@ -400,13 +372,11 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dkim( @@ -431,7 +401,6 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.dkim() @@ -441,7 +410,6 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.dkim() as response: @@ -453,13 +421,11 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dmarc( @@ -484,7 +450,6 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.dmarc() @@ -494,7 +459,6 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.dmarc() as response: @@ -506,13 +470,11 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_encrypted(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.encrypted() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.encrypted( @@ -537,7 +499,6 @@ async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.encrypted() @@ -547,7 +508,6 @@ async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> No summary = await response.parse() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.encrypted() as response: @@ -559,13 +519,11 @@ async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.ip_version( @@ -590,7 +548,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.ip_version() @@ -600,7 +557,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.ip_version() as response: @@ -612,13 +568,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.spf( @@ -643,7 +597,6 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.spf() @@ -653,7 +606,6 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.spf() as response: diff --git a/tests/api_resources/radar/email/routing/test_timeseries_groups.py b/tests/api_resources/radar/email/routing/test_timeseries_groups.py index cc4f249e4c3..c75e3da7701 100644 --- a/tests/api_resources/radar/email/routing/test_timeseries_groups.py +++ b/tests/api_resources/radar/email/routing/test_timeseries_groups.py @@ -25,13 +25,11 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.arc( @@ -57,7 +55,6 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.arc() @@ -67,7 +64,6 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.arc() as response: @@ -79,13 +75,11 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dkim( @@ -111,7 +105,6 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.dkim() @@ -121,7 +114,6 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.dkim() as response: @@ -133,13 +125,11 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dmarc( @@ -165,7 +155,6 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.dmarc() @@ -175,7 +164,6 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.dmarc() as response: @@ -187,13 +175,11 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_encrypted(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.encrypted() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.encrypted( @@ -219,7 +205,6 @@ def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_encrypted(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.encrypted() @@ -229,7 +214,6 @@ def test_raw_response_encrypted(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_encrypted(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.encrypted() as response: @@ -241,13 +225,11 @@ def test_streaming_response_encrypted(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.ip_version( @@ -273,7 +255,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.ip_version() @@ -283,7 +264,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.ip_version() as response: @@ -295,13 +275,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.spf( @@ -327,7 +305,6 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.spf() @@ -337,7 +314,6 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.spf() as response: @@ -353,13 +329,11 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.arc( @@ -385,7 +359,6 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.arc() @@ -395,7 +368,6 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.arc() as response: @@ -407,13 +379,11 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dkim( @@ -439,7 +409,6 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.dkim() @@ -449,7 +418,6 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.dkim() as response: @@ -461,13 +429,11 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dmarc( @@ -493,7 +459,6 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.dmarc() @@ -503,7 +468,6 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.dmarc() as response: @@ -515,13 +479,11 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_encrypted(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.encrypted() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.encrypted( @@ -547,7 +509,6 @@ async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.encrypted() @@ -557,7 +518,6 @@ async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> No timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.encrypted() as response: @@ -569,13 +529,11 @@ async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.ip_version( @@ -601,7 +559,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.ip_version() @@ -611,7 +568,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.ip_version() as response: @@ -623,13 +579,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.spf( @@ -655,7 +609,6 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.spf() @@ -665,7 +618,6 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.spf() as response: diff --git a/tests/api_resources/radar/email/security/test_summary.py b/tests/api_resources/radar/email/security/test_summary.py index e3df2f5670c..4fb28b76274 100644 --- a/tests/api_resources/radar/email/security/test_summary.py +++ b/tests/api_resources/radar/email/security/test_summary.py @@ -28,13 +28,11 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.arc( @@ -58,7 +56,6 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.arc() @@ -68,7 +65,6 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.arc() as response: @@ -80,13 +76,11 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dkim( @@ -110,7 +104,6 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.dkim() @@ -120,7 +113,6 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.dkim() as response: @@ -132,13 +124,11 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dmarc( @@ -162,7 +152,6 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.dmarc() @@ -172,7 +161,6 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.dmarc() as response: @@ -184,13 +172,11 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_malicious(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.malicious() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.malicious( @@ -215,7 +201,6 @@ def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_malicious(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.malicious() @@ -225,7 +210,6 @@ def test_raw_response_malicious(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_malicious(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.malicious() as response: @@ -237,13 +221,11 @@ def test_streaming_response_malicious(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spam(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spam() assert_matches_type(SummarySpamResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spam_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spam( @@ -268,7 +250,6 @@ def test_method_spam_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySpamResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spam(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.spam() @@ -278,7 +259,6 @@ def test_raw_response_spam(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySpamResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spam(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.spam() as response: @@ -290,13 +270,11 @@ def test_streaming_response_spam(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spf( @@ -320,7 +298,6 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.spf() @@ -330,7 +307,6 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.spf() as response: @@ -342,13 +318,11 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spoof(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spoof() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spoof( @@ -373,7 +347,6 @@ def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySpoofResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spoof(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.spoof() @@ -383,7 +356,6 @@ def test_raw_response_spoof(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spoof(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.spoof() as response: @@ -395,13 +367,11 @@ def test_streaming_response_spoof(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_threat_category(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.threat_category() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_threat_category_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.threat_category( @@ -426,7 +396,6 @@ def test_method_threat_category_with_all_params(self, client: Cloudflare) -> Non ) assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_threat_category(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.threat_category() @@ -436,7 +405,6 @@ def test_raw_response_threat_category(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_threat_category(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.threat_category() as response: @@ -448,13 +416,11 @@ def test_streaming_response_threat_category(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.tls_version( @@ -478,7 +444,6 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.tls_version() @@ -488,7 +453,6 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.tls_version() as response: @@ -504,13 +468,11 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.arc( @@ -534,7 +496,6 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.arc() @@ -544,7 +505,6 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.arc() as response: @@ -556,13 +516,11 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dkim( @@ -586,7 +544,6 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.dkim() @@ -596,7 +553,6 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.dkim() as response: @@ -608,13 +564,11 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dmarc( @@ -638,7 +592,6 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.dmarc() @@ -648,7 +601,6 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.dmarc() as response: @@ -660,13 +612,11 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_malicious(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.malicious() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_malicious_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.malicious( @@ -691,7 +641,6 @@ async def test_method_malicious_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.malicious() @@ -701,7 +650,6 @@ async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> No summary = await response.parse() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.malicious() as response: @@ -713,13 +661,11 @@ async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spam(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spam() assert_matches_type(SummarySpamResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spam( @@ -744,7 +690,6 @@ async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummarySpamResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.spam() @@ -754,7 +699,6 @@ async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySpamResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.spam() as response: @@ -766,13 +710,11 @@ async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spf( @@ -796,7 +738,6 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.spf() @@ -806,7 +747,6 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.spf() as response: @@ -818,13 +758,11 @@ async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spoof(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spoof() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spoof( @@ -849,7 +787,6 @@ async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummarySpoofResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.spoof() @@ -859,7 +796,6 @@ async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.spoof() as response: @@ -871,13 +807,11 @@ async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_threat_category(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.threat_category() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_threat_category_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.threat_category( @@ -902,7 +836,6 @@ async def test_method_threat_category_with_all_params(self, async_client: AsyncC ) assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.threat_category() @@ -912,7 +845,6 @@ async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) summary = await response.parse() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_threat_category(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.threat_category() as response: @@ -924,13 +856,11 @@ async def test_streaming_response_threat_category(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.tls_version( @@ -954,7 +884,6 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.tls_version() @@ -964,7 +893,6 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/email/security/test_timeseries_groups.py b/tests/api_resources/radar/email/security/test_timeseries_groups.py index 4af4404daa9..b9b4674e1e2 100644 --- a/tests/api_resources/radar/email/security/test_timeseries_groups.py +++ b/tests/api_resources/radar/email/security/test_timeseries_groups.py @@ -28,13 +28,11 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.arc( @@ -59,7 +57,6 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.arc() @@ -69,7 +66,6 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.arc() as response: @@ -81,13 +77,11 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dkim( @@ -112,7 +106,6 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.dkim() @@ -122,7 +115,6 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.dkim() as response: @@ -134,13 +126,11 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dmarc( @@ -165,7 +155,6 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.dmarc() @@ -175,7 +164,6 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.dmarc() as response: @@ -187,13 +175,11 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_malicious(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.malicious() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.malicious( @@ -219,7 +205,6 @@ def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_malicious(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.malicious() @@ -229,7 +214,6 @@ def test_raw_response_malicious(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_malicious(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.malicious() as response: @@ -241,13 +225,11 @@ def test_streaming_response_malicious(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spam(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spam() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spam_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spam( @@ -273,7 +255,6 @@ def test_method_spam_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spam(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.spam() @@ -283,7 +264,6 @@ def test_raw_response_spam(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spam(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.spam() as response: @@ -295,13 +275,11 @@ def test_streaming_response_spam(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spf( @@ -326,7 +304,6 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.spf() @@ -336,7 +313,6 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.spf() as response: @@ -348,13 +324,11 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_spoof(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spoof() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spoof( @@ -380,7 +354,6 @@ def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_spoof(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.spoof() @@ -390,7 +363,6 @@ def test_raw_response_spoof(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_spoof(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.spoof() as response: @@ -402,13 +374,11 @@ def test_streaming_response_spoof(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_threat_category(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.threat_category() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_threat_category_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.threat_category( @@ -434,7 +404,6 @@ def test_method_threat_category_with_all_params(self, client: Cloudflare) -> Non ) assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_threat_category(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.threat_category() @@ -444,7 +413,6 @@ def test_raw_response_threat_category(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_threat_category(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.threat_category() as response: @@ -456,13 +424,11 @@ def test_streaming_response_threat_category(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.tls_version( @@ -487,7 +453,6 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.tls_version() @@ -497,7 +462,6 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.tls_version() as response: @@ -513,13 +477,11 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.arc( @@ -544,7 +506,6 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.arc() @@ -554,7 +515,6 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.arc() as response: @@ -566,13 +526,11 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dkim( @@ -597,7 +555,6 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.dkim() @@ -607,7 +564,6 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.dkim() as response: @@ -619,13 +575,11 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dmarc( @@ -650,7 +604,6 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.dmarc() @@ -660,7 +613,6 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.dmarc() as response: @@ -672,13 +624,11 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_malicious(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.malicious() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_malicious_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.malicious( @@ -704,7 +654,6 @@ async def test_method_malicious_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.malicious() @@ -714,7 +663,6 @@ async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> No timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.malicious() as response: @@ -726,13 +674,11 @@ async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spam(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spam() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spam( @@ -758,7 +704,6 @@ async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.spam() @@ -768,7 +713,6 @@ async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.spam() as response: @@ -780,13 +724,11 @@ async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spf( @@ -811,7 +753,6 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.spf() @@ -821,7 +762,6 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.spf() as response: @@ -833,13 +773,11 @@ async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_spoof(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spoof() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spoof( @@ -865,7 +803,6 @@ async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.spoof() @@ -875,7 +812,6 @@ async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.spoof() as response: @@ -887,13 +823,11 @@ async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_threat_category(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.threat_category() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_threat_category_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.threat_category( @@ -919,7 +853,6 @@ async def test_method_threat_category_with_all_params(self, async_client: AsyncC ) assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.threat_category() @@ -929,7 +862,6 @@ async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_threat_category(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.threat_category() as response: @@ -941,13 +873,11 @@ async def test_streaming_response_threat_category(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.tls_version( @@ -972,7 +902,6 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.tls_version() @@ -982,7 +911,6 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/email/security/top/test_tlds.py b/tests/api_resources/radar/email/security/top/test_tlds.py index 218f134cedf..f0307596a1a 100644 --- a/tests/api_resources/radar/email/security/top/test_tlds.py +++ b/tests/api_resources/radar/email/security/top/test_tlds.py @@ -18,13 +18,11 @@ class TestTlds: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tld = client.radar.email.security.top.tlds.get() assert_matches_type(TldGetResponse, tld, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: tld = client.radar.email.security.top.tlds.get( @@ -51,7 +49,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TldGetResponse, tld, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.with_raw_response.get() @@ -61,7 +58,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tld = response.parse() assert_matches_type(TldGetResponse, tld, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.with_streaming_response.get() as response: @@ -77,13 +73,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTlds: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tld = await async_client.radar.email.security.top.tlds.get() assert_matches_type(TldGetResponse, tld, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: tld = await async_client.radar.email.security.top.tlds.get( @@ -110,7 +104,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TldGetResponse, tld, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.with_raw_response.get() @@ -120,7 +113,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tld = await response.parse() assert_matches_type(TldGetResponse, tld, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/email/security/top/tlds/test_malicious.py b/tests/api_resources/radar/email/security/top/tlds/test_malicious.py index 22bf1dfcb8f..290d8768747 100644 --- a/tests/api_resources/radar/email/security/top/tlds/test_malicious.py +++ b/tests/api_resources/radar/email/security/top/tlds/test_malicious.py @@ -18,7 +18,6 @@ class TestMalicious: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: malicious = client.radar.email.security.top.tlds.malicious.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: malicious = client.radar.email.security.top.tlds.malicious.get( @@ -54,7 +52,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.malicious.with_raw_response.get( @@ -66,7 +63,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: malicious = response.parse() assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.malicious.with_streaming_response.get( @@ -84,7 +80,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncMalicious: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: malicious = await async_client.radar.email.security.top.tlds.malicious.get( @@ -92,7 +87,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: malicious = await async_client.radar.email.security.top.tlds.malicious.get( @@ -120,7 +114,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.malicious.with_raw_response.get( @@ -132,7 +125,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: malicious = await response.parse() assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.malicious.with_streaming_response.get( diff --git a/tests/api_resources/radar/email/security/top/tlds/test_spam.py b/tests/api_resources/radar/email/security/top/tlds/test_spam.py index 62b1b969239..4991fa622eb 100644 --- a/tests/api_resources/radar/email/security/top/tlds/test_spam.py +++ b/tests/api_resources/radar/email/security/top/tlds/test_spam.py @@ -18,7 +18,6 @@ class TestSpam: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: spam = client.radar.email.security.top.tlds.spam.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SpamGetResponse, spam, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: spam = client.radar.email.security.top.tlds.spam.get( @@ -54,7 +52,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpamGetResponse, spam, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.spam.with_raw_response.get( @@ -66,7 +63,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: spam = response.parse() assert_matches_type(SpamGetResponse, spam, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.spam.with_streaming_response.get( @@ -84,7 +80,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncSpam: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: spam = await async_client.radar.email.security.top.tlds.spam.get( @@ -92,7 +87,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SpamGetResponse, spam, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: spam = await async_client.radar.email.security.top.tlds.spam.get( @@ -120,7 +114,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SpamGetResponse, spam, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.spam.with_raw_response.get( @@ -132,7 +125,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: spam = await response.parse() assert_matches_type(SpamGetResponse, spam, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.spam.with_streaming_response.get( diff --git a/tests/api_resources/radar/email/security/top/tlds/test_spoof.py b/tests/api_resources/radar/email/security/top/tlds/test_spoof.py index 185a4306397..3800432f585 100644 --- a/tests/api_resources/radar/email/security/top/tlds/test_spoof.py +++ b/tests/api_resources/radar/email/security/top/tlds/test_spoof.py @@ -18,7 +18,6 @@ class TestSpoof: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: spoof = client.radar.email.security.top.tlds.spoof.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: spoof = client.radar.email.security.top.tlds.spoof.get( @@ -54,7 +52,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.spoof.with_raw_response.get( @@ -66,7 +63,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: spoof = response.parse() assert_matches_type(SpoofGetResponse, spoof, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.spoof.with_streaming_response.get( @@ -84,7 +80,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncSpoof: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: spoof = await async_client.radar.email.security.top.tlds.spoof.get( @@ -92,7 +87,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: spoof = await async_client.radar.email.security.top.tlds.spoof.get( @@ -120,7 +114,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.spoof.with_raw_response.get( @@ -132,7 +125,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: spoof = await response.parse() assert_matches_type(SpoofGetResponse, spoof, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.spoof.with_streaming_response.get( diff --git a/tests/api_resources/radar/entities/test_asns.py b/tests/api_resources/radar/entities/test_asns.py index 8273d3fc87e..0a1ad904dc7 100644 --- a/tests/api_resources/radar/entities/test_asns.py +++ b/tests/api_resources/radar/entities/test_asns.py @@ -22,13 +22,11 @@ class TestASNs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.list() assert_matches_type(ASNListResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.list( @@ -41,7 +39,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNListResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.list() @@ -51,7 +48,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNListResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.entities.asns.with_streaming_response.list() as response: @@ -63,7 +59,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ASNGetResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.get( @@ -80,7 +74,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNGetResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.get( @@ -92,7 +85,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNGetResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.entities.asns.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() @parametrize def test_method_ip(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.ip( @@ -114,7 +105,6 @@ def test_method_ip(self, client: Cloudflare) -> None: ) assert_matches_type(ASNIPResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.ip( @@ -123,7 +113,6 @@ def test_method_ip_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNIPResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.ip( @@ -135,7 +124,6 @@ def test_raw_response_ip(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNIPResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip(self, client: Cloudflare) -> None: with client.radar.entities.asns.with_streaming_response.ip( @@ -149,7 +137,6 @@ def test_streaming_response_ip(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_rel(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.rel( @@ -157,7 +144,6 @@ def test_method_rel(self, client: Cloudflare) -> None: ) assert_matches_type(ASNRelResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_rel_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.rel( @@ -167,7 +153,6 @@ def test_method_rel_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNRelResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_rel(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.rel( @@ -179,7 +164,6 @@ def test_raw_response_rel(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNRelResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_rel(self, client: Cloudflare) -> None: with client.radar.entities.asns.with_streaming_response.rel( @@ -197,13 +181,11 @@ def test_streaming_response_rel(self, client: Cloudflare) -> None: class TestAsyncASNs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.list() assert_matches_type(ASNListResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.list( @@ -216,7 +198,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(ASNListResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.list() @@ -226,7 +207,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNListResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.list() as response: @@ -238,7 +218,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.get( @@ -246,7 +225,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASNGetResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.get( @@ -255,7 +233,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(ASNGetResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.get( @@ -267,7 +244,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNGetResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.get( @@ -281,7 +257,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.ip( @@ -289,7 +264,6 @@ async def test_method_ip(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASNIPResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.ip( @@ -298,7 +272,6 @@ async def test_method_ip_with_all_params(self, async_client: AsyncCloudflare) -> ) assert_matches_type(ASNIPResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.ip( @@ -310,7 +283,6 @@ async def test_raw_response_ip(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNIPResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.ip( @@ -324,7 +296,6 @@ async def test_streaming_response_ip(self, async_client: AsyncCloudflare) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_rel(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.rel( @@ -332,7 +303,6 @@ async def test_method_rel(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASNRelResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_rel_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.rel( @@ -342,7 +312,6 @@ async def test_method_rel_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(ASNRelResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_rel(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.rel( @@ -354,7 +323,6 @@ async def test_raw_response_rel(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNRelResponse, asn, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_rel(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.rel( diff --git a/tests/api_resources/radar/entities/test_locations.py b/tests/api_resources/radar/entities/test_locations.py index 59e8a6ff915..6cb88295e26 100644 --- a/tests/api_resources/radar/entities/test_locations.py +++ b/tests/api_resources/radar/entities/test_locations.py @@ -20,13 +20,11 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: location = client.radar.entities.locations.list() assert_matches_type(LocationListResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: location = client.radar.entities.locations.list( @@ -37,7 +35,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationListResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.entities.locations.with_raw_response.list() @@ -47,7 +44,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationListResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.entities.locations.with_streaming_response.list() as response: @@ -59,7 +55,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.radar.entities.locations.get( @@ -67,7 +62,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: location = client.radar.entities.locations.get( @@ -76,7 +70,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.entities.locations.with_raw_response.get( @@ -88,7 +81,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.entities.locations.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `location` but received ''"): @@ -114,13 +105,11 @@ 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() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.list() assert_matches_type(LocationListResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.list( @@ -131,7 +120,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(LocationListResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.locations.with_raw_response.list() @@ -141,7 +129,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationListResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.locations.with_streaming_response.list() as response: @@ -153,7 +140,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.get( @@ -161,7 +147,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.get( @@ -170,7 +155,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.locations.with_raw_response.get( @@ -182,7 +166,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.locations.with_streaming_response.get( @@ -196,7 +179,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `location` but received ''"): diff --git a/tests/api_resources/radar/http/ases/test_bot_class.py b/tests/api_resources/radar/http/ases/test_bot_class.py index 177775b9dc4..c1196859b45 100644 --- a/tests/api_resources/radar/http/ases/test_bot_class.py +++ b/tests/api_resources/radar/http/ases/test_bot_class.py @@ -18,7 +18,6 @@ class TestBotClass: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bot_class = client.radar.http.ases.bot_class.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bot_class = client.radar.http.ases.bot_class.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.bot_class.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bot_class = response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.bot_class.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncBotClass: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.ases.bot_class.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.ases.bot_class.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.bot_class.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bot_class = await response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.bot_class.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_device_type.py b/tests/api_resources/radar/http/ases/test_device_type.py index 15dde782973..cbf61936f48 100644 --- a/tests/api_resources/radar/http/ases/test_device_type.py +++ b/tests/api_resources/radar/http/ases/test_device_type.py @@ -18,7 +18,6 @@ class TestDeviceType: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: device_type = client.radar.http.ases.device_type.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: device_type = client.radar.http.ases.device_type.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.device_type.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: device_type = response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.device_type.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncDeviceType: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.ases.device_type.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.ases.device_type.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.device_type.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: device_type = await response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.device_type.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_http_method.py b/tests/api_resources/radar/http/ases/test_http_method.py index 4ad2abaf200..e791bb09aa4 100644 --- a/tests/api_resources/radar/http/ases/test_http_method.py +++ b/tests/api_resources/radar/http/ases/test_http_method.py @@ -18,7 +18,6 @@ class TestHTTPMethod: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_method = client.radar.http.ases.http_method.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_method = client.radar.http.ases.http_method.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.http_method.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_method = response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.http_method.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPMethod: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.ases.http_method.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.ases.http_method.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.http_method.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_method = await response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.http_method.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_http_protocol.py b/tests/api_resources/radar/http/ases/test_http_protocol.py index 91b9272418a..37266961af0 100644 --- a/tests/api_resources/radar/http/ases/test_http_protocol.py +++ b/tests/api_resources/radar/http/ases/test_http_protocol.py @@ -18,7 +18,6 @@ class TestHTTPProtocol: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_protocol = client.radar.http.ases.http_protocol.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_protocol = client.radar.http.ases.http_protocol.get( @@ -56,7 +54,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.http_protocol.with_raw_response.get( @@ -68,7 +65,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_protocol = response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.http_protocol.with_streaming_response.get( @@ -86,7 +82,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPProtocol: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.ases.http_protocol.get( @@ -94,7 +89,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.ases.http_protocol.get( @@ -124,7 +118,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.http_protocol.with_raw_response.get( @@ -136,7 +129,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.http_protocol.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_ip_version.py b/tests/api_resources/radar/http/ases/test_ip_version.py index 6926a2d80a9..c69d7d39017 100644 --- a/tests/api_resources/radar/http/ases/test_ip_version.py +++ b/tests/api_resources/radar/http/ases/test_ip_version.py @@ -18,7 +18,6 @@ class TestIPVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_version = client.radar.http.ases.ip_version.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip_version = client.radar.http.ases.ip_version.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.ip_version.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_version = response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.ip_version.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncIPVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.ases.ip_version.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.ases.ip_version.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.ip_version.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_version = await response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.ip_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_os.py b/tests/api_resources/radar/http/ases/test_os.py index aee0b72ed62..a197d163aea 100644 --- a/tests/api_resources/radar/http/ases/test_os.py +++ b/tests/api_resources/radar/http/ases/test_os.py @@ -18,7 +18,6 @@ class TestOS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: os = client.radar.http.ases.os.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: os = client.radar.http.ases.os.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.os.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: os = response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.os.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncOS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.ases.os.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.ases.os.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.os.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: os = await response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.os.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_tls_version.py b/tests/api_resources/radar/http/ases/test_tls_version.py index 1d6e229862d..b785844f314 100644 --- a/tests/api_resources/radar/http/ases/test_tls_version.py +++ b/tests/api_resources/radar/http/ases/test_tls_version.py @@ -18,7 +18,6 @@ class TestTLSVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_version = client.radar.http.ases.tls_version.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: tls_version = client.radar.http.ases.tls_version.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.tls_version.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_version = response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.tls_version.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTLSVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.ases.tls_version.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.ases.tls_version.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.tls_version.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_version = await response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.tls_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_bot_class.py b/tests/api_resources/radar/http/locations/test_bot_class.py index 2494f445a5b..064a76b14c5 100644 --- a/tests/api_resources/radar/http/locations/test_bot_class.py +++ b/tests/api_resources/radar/http/locations/test_bot_class.py @@ -18,7 +18,6 @@ class TestBotClass: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bot_class = client.radar.http.locations.bot_class.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bot_class = client.radar.http.locations.bot_class.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.bot_class.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bot_class = response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.bot_class.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncBotClass: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.locations.bot_class.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.locations.bot_class.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.bot_class.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bot_class = await response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.bot_class.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_device_type.py b/tests/api_resources/radar/http/locations/test_device_type.py index 30431de0cd8..1fa468dd59c 100644 --- a/tests/api_resources/radar/http/locations/test_device_type.py +++ b/tests/api_resources/radar/http/locations/test_device_type.py @@ -18,7 +18,6 @@ class TestDeviceType: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: device_type = client.radar.http.locations.device_type.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: device_type = client.radar.http.locations.device_type.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.device_type.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: device_type = response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.device_type.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncDeviceType: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.locations.device_type.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.locations.device_type.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.device_type.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: device_type = await response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.device_type.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_http_method.py b/tests/api_resources/radar/http/locations/test_http_method.py index 6a78bd7867a..972e82a1e61 100644 --- a/tests/api_resources/radar/http/locations/test_http_method.py +++ b/tests/api_resources/radar/http/locations/test_http_method.py @@ -18,7 +18,6 @@ class TestHTTPMethod: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_method = client.radar.http.locations.http_method.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_method = client.radar.http.locations.http_method.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.http_method.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_method = response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.http_method.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPMethod: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.locations.http_method.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.locations.http_method.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.http_method.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_method = await response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.http_method.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_http_protocol.py b/tests/api_resources/radar/http/locations/test_http_protocol.py index 6dbb5bf0b0a..944a356a577 100644 --- a/tests/api_resources/radar/http/locations/test_http_protocol.py +++ b/tests/api_resources/radar/http/locations/test_http_protocol.py @@ -18,7 +18,6 @@ class TestHTTPProtocol: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_protocol = client.radar.http.locations.http_protocol.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_protocol = client.radar.http.locations.http_protocol.get( @@ -56,7 +54,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.http_protocol.with_raw_response.get( @@ -68,7 +65,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_protocol = response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.http_protocol.with_streaming_response.get( @@ -86,7 +82,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPProtocol: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.locations.http_protocol.get( @@ -94,7 +89,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.locations.http_protocol.get( @@ -124,7 +118,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.http_protocol.with_raw_response.get( @@ -136,7 +129,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.http_protocol.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_ip_version.py b/tests/api_resources/radar/http/locations/test_ip_version.py index 0a01d8af6df..f26711c76c0 100644 --- a/tests/api_resources/radar/http/locations/test_ip_version.py +++ b/tests/api_resources/radar/http/locations/test_ip_version.py @@ -18,7 +18,6 @@ class TestIPVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_version = client.radar.http.locations.ip_version.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip_version = client.radar.http.locations.ip_version.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.ip_version.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_version = response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.ip_version.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncIPVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.locations.ip_version.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.locations.ip_version.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.ip_version.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_version = await response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.ip_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_os.py b/tests/api_resources/radar/http/locations/test_os.py index a2975b8b9a3..a72186e7703 100644 --- a/tests/api_resources/radar/http/locations/test_os.py +++ b/tests/api_resources/radar/http/locations/test_os.py @@ -18,7 +18,6 @@ class TestOS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: os = client.radar.http.locations.os.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: os = client.radar.http.locations.os.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.os.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: os = response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.os.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncOS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.locations.os.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.locations.os.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.os.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: os = await response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.os.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_tls_version.py b/tests/api_resources/radar/http/locations/test_tls_version.py index e504f1110c1..0be78706192 100644 --- a/tests/api_resources/radar/http/locations/test_tls_version.py +++ b/tests/api_resources/radar/http/locations/test_tls_version.py @@ -18,7 +18,6 @@ class TestTLSVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_version = client.radar.http.locations.tls_version.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: tls_version = client.radar.http.locations.tls_version.get( @@ -57,7 +55,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.tls_version.with_raw_response.get( @@ -69,7 +66,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_version = response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.tls_version.with_streaming_response.get( @@ -87,7 +83,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTLSVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.locations.tls_version.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.locations.tls_version.get( @@ -126,7 +120,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.tls_version.with_raw_response.get( @@ -138,7 +131,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_version = await response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.tls_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/test_ases.py b/tests/api_resources/radar/http/test_ases.py index 650376b1d3d..8e22658cac3 100644 --- a/tests/api_resources/radar/http/test_ases.py +++ b/tests/api_resources/radar/http/test_ases.py @@ -18,13 +18,11 @@ class TestAses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ase = client.radar.http.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.http.ases.get( @@ -55,7 +53,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.with_raw_response.get() @@ -65,7 +62,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.with_streaming_response.get() as response: @@ -81,13 +77,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncAses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.http.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.http.ases.get( @@ -118,7 +112,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.with_raw_response.get() @@ -128,7 +121,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ase = await response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/http/test_locations.py b/tests/api_resources/radar/http/test_locations.py index f0dd6fbeaa7..7f992255f7c 100644 --- a/tests/api_resources/radar/http/test_locations.py +++ b/tests/api_resources/radar/http/test_locations.py @@ -18,13 +18,11 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.radar.http.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: location = client.radar.http.locations.get( @@ -55,7 +53,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.with_raw_response.get() @@ -65,7 +62,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.with_streaming_response.get() as response: @@ -81,13 +77,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.http.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.http.locations.get( @@ -118,7 +112,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.with_raw_response.get() @@ -128,7 +121,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/http/test_summary.py b/tests/api_resources/radar/http/test_summary.py index 3b06744b0a9..95bce001b6f 100644 --- a/tests/api_resources/radar/http/test_summary.py +++ b/tests/api_resources/radar/http/test_summary.py @@ -26,13 +26,11 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_bot_class(self, client: Cloudflare) -> None: summary = client.radar.http.summary.bot_class() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.bot_class( @@ -61,7 +59,6 @@ def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_bot_class(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.bot_class() @@ -71,7 +68,6 @@ def test_raw_response_bot_class(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_bot_class(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.bot_class() as response: @@ -83,13 +79,11 @@ def test_streaming_response_bot_class(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_device_type(self, client: Cloudflare) -> None: summary = client.radar.http.summary.device_type() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.device_type( @@ -118,7 +112,6 @@ def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_device_type(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.device_type() @@ -128,7 +121,6 @@ def test_raw_response_device_type(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_device_type(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.device_type() as response: @@ -140,13 +132,11 @@ def test_streaming_response_device_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_protocol(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_protocol() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_protocol( @@ -175,7 +165,6 @@ def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_protocol(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.http_protocol() @@ -185,7 +174,6 @@ def test_raw_response_http_protocol(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.http_protocol() as response: @@ -197,13 +185,11 @@ def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_version( @@ -232,7 +218,6 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.http_version() @@ -242,7 +227,6 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.http_version() as response: @@ -254,13 +238,11 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.http.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.ip_version( @@ -289,7 +271,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.ip_version() @@ -299,7 +280,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.ip_version() as response: @@ -311,13 +291,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_os(self, client: Cloudflare) -> None: summary = client.radar.http.summary.os() assert_matches_type(SummaryOSResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_os_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.os( @@ -346,7 +324,6 @@ def test_method_os_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryOSResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_os(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.os() @@ -356,7 +333,6 @@ def test_raw_response_os(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryOSResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_os(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.os() as response: @@ -368,13 +344,11 @@ def test_streaming_response_os(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: summary = client.radar.http.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.tls_version( @@ -403,7 +377,6 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.tls_version() @@ -413,7 +386,6 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.tls_version() as response: @@ -429,13 +401,11 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_bot_class(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.bot_class() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.bot_class( @@ -464,7 +434,6 @@ async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.bot_class() @@ -474,7 +443,6 @@ async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> No summary = await response.parse() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.bot_class() as response: @@ -486,13 +454,11 @@ async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_device_type(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.device_type() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_device_type_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.device_type( @@ -521,7 +487,6 @@ async def test_method_device_type_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.device_type() @@ -531,7 +496,6 @@ async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_device_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.device_type() as response: @@ -543,13 +507,11 @@ async def test_streaming_response_device_type(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_protocol(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_protocol() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_protocol( @@ -578,7 +540,6 @@ async def test_method_http_protocol_with_all_params(self, async_client: AsyncClo ) assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.http_protocol() @@ -588,7 +549,6 @@ async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) - summary = await response.parse() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.http_protocol() as response: @@ -600,13 +560,11 @@ async def test_streaming_response_http_protocol(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_version( @@ -635,7 +593,6 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.http_version() @@ -645,7 +602,6 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.http_version() as response: @@ -657,13 +613,11 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.ip_version( @@ -692,7 +646,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.ip_version() @@ -702,7 +655,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.ip_version() as response: @@ -714,13 +666,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_os(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.os() assert_matches_type(SummaryOSResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.os( @@ -749,7 +699,6 @@ async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> ) assert_matches_type(SummaryOSResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.os() @@ -759,7 +708,6 @@ async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryOSResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.os() as response: @@ -771,13 +719,11 @@ async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.tls_version( @@ -806,7 +752,6 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.tls_version() @@ -816,7 +761,6 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/http/test_timeseries_groups.py b/tests/api_resources/radar/http/test_timeseries_groups.py index cb362d3ff23..bc8e856458b 100644 --- a/tests/api_resources/radar/http/test_timeseries_groups.py +++ b/tests/api_resources/radar/http/test_timeseries_groups.py @@ -28,13 +28,11 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_bot_class(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.bot_class() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.bot_class( @@ -64,7 +62,6 @@ def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_bot_class(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.bot_class() @@ -74,7 +71,6 @@ def test_raw_response_bot_class(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_bot_class(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.bot_class() as response: @@ -86,13 +82,11 @@ def test_streaming_response_bot_class(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_browser(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_browser_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser( @@ -124,7 +118,6 @@ def test_method_browser_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_browser(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.browser() @@ -134,7 +127,6 @@ def test_raw_response_browser(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_browser(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.browser() as response: @@ -146,13 +138,11 @@ def test_streaming_response_browser(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_browser_family(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser_family() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_browser_family_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser_family( @@ -183,7 +173,6 @@ def test_method_browser_family_with_all_params(self, client: Cloudflare) -> None ) assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_browser_family(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.browser_family() @@ -193,7 +182,6 @@ def test_raw_response_browser_family(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_browser_family(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.browser_family() as response: @@ -205,13 +193,11 @@ def test_streaming_response_browser_family(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_device_type(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.device_type() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.device_type( @@ -241,7 +227,6 @@ def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_device_type(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.device_type() @@ -251,7 +236,6 @@ def test_raw_response_device_type(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_device_type(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.device_type() as response: @@ -263,13 +247,11 @@ def test_streaming_response_device_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_protocol(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_protocol() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_protocol( @@ -299,7 +281,6 @@ def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_protocol(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.http_protocol() @@ -309,7 +290,6 @@ def test_raw_response_http_protocol(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.http_protocol() as response: @@ -321,13 +301,11 @@ def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_version( @@ -357,7 +335,6 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.http_version() @@ -367,7 +344,6 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.http_version() as response: @@ -379,13 +355,11 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.ip_version( @@ -415,7 +389,6 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.ip_version() @@ -425,7 +398,6 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.ip_version() as response: @@ -437,13 +409,11 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_os(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.os() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_os_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.os( @@ -473,7 +443,6 @@ def test_method_os_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_os(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.os() @@ -483,7 +452,6 @@ def test_raw_response_os(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_os(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.os() as response: @@ -495,13 +463,11 @@ def test_streaming_response_os(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.tls_version( @@ -531,7 +497,6 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.tls_version() @@ -541,7 +506,6 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.tls_version() as response: @@ -557,13 +521,11 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_bot_class(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.bot_class() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.bot_class( @@ -593,7 +555,6 @@ async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.bot_class() @@ -603,7 +564,6 @@ async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> No timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.bot_class() as response: @@ -615,13 +575,11 @@ async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_browser(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_browser_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser( @@ -653,7 +611,6 @@ async def test_method_browser_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_browser(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.browser() @@ -663,7 +620,6 @@ async def test_raw_response_browser(self, async_client: AsyncCloudflare) -> None timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_browser(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.browser() as response: @@ -675,13 +631,11 @@ async def test_streaming_response_browser(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_browser_family(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser_family() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_browser_family_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser_family( @@ -712,7 +666,6 @@ async def test_method_browser_family_with_all_params(self, async_client: AsyncCl ) assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_browser_family(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.browser_family() @@ -722,7 +675,6 @@ async def test_raw_response_browser_family(self, async_client: AsyncCloudflare) timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_browser_family(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.browser_family() as response: @@ -734,13 +686,11 @@ async def test_streaming_response_browser_family(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_device_type(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.device_type() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_device_type_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.device_type( @@ -770,7 +720,6 @@ async def test_method_device_type_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.device_type() @@ -780,7 +729,6 @@ async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_device_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.device_type() as response: @@ -792,13 +740,11 @@ async def test_streaming_response_device_type(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_protocol(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_protocol() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_protocol( @@ -828,7 +774,6 @@ async def test_method_http_protocol_with_all_params(self, async_client: AsyncClo ) assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.http_protocol() @@ -838,7 +783,6 @@ async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) - timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.http_protocol() as response: @@ -850,13 +794,11 @@ async def test_streaming_response_http_protocol(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_version( @@ -886,7 +828,6 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.http_version() @@ -896,7 +837,6 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.http_version() as response: @@ -908,13 +848,11 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.ip_version( @@ -944,7 +882,6 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.ip_version() @@ -954,7 +891,6 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.ip_version() as response: @@ -966,13 +902,11 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_os(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.os() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.os( @@ -1002,7 +936,6 @@ async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> ) assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.os() @@ -1012,7 +945,6 @@ async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.os() as response: @@ -1024,13 +956,11 @@ async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.tls_version( @@ -1060,7 +990,6 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.tls_version() @@ -1070,7 +999,6 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/http/test_top.py b/tests/api_resources/radar/http/test_top.py index 6f5d3213d99..4cac74c10b8 100644 --- a/tests/api_resources/radar/http/test_top.py +++ b/tests/api_resources/radar/http/test_top.py @@ -21,13 +21,11 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_browser_families(self, client: Cloudflare) -> None: top = client.radar.http.top.browser_families() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_browser_families_with_all_params(self, client: Cloudflare) -> None: top = client.radar.http.top.browser_families( @@ -58,7 +56,6 @@ def test_method_browser_families_with_all_params(self, client: Cloudflare) -> No ) assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_browser_families(self, client: Cloudflare) -> None: response = client.radar.http.top.with_raw_response.browser_families() @@ -68,7 +65,6 @@ def test_raw_response_browser_families(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_browser_families(self, client: Cloudflare) -> None: with client.radar.http.top.with_streaming_response.browser_families() as response: @@ -80,13 +76,11 @@ def test_streaming_response_browser_families(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_browsers(self, client: Cloudflare) -> None: top = client.radar.http.top.browsers() assert_matches_type(TopBrowsersResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_browsers_with_all_params(self, client: Cloudflare) -> None: top = client.radar.http.top.browsers( @@ -117,7 +111,6 @@ def test_method_browsers_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopBrowsersResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_browsers(self, client: Cloudflare) -> None: response = client.radar.http.top.with_raw_response.browsers() @@ -127,7 +120,6 @@ def test_raw_response_browsers(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopBrowsersResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_browsers(self, client: Cloudflare) -> None: with client.radar.http.top.with_streaming_response.browsers() as response: @@ -143,13 +135,11 @@ def test_streaming_response_browsers(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_browser_families(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browser_families() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_browser_families_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browser_families( @@ -180,7 +170,6 @@ async def test_method_browser_families_with_all_params(self, async_client: Async ) assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_browser_families(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.top.with_raw_response.browser_families() @@ -190,7 +179,6 @@ async def test_raw_response_browser_families(self, async_client: AsyncCloudflare top = await response.parse() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_browser_families(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.top.with_streaming_response.browser_families() as response: @@ -202,13 +190,11 @@ async def test_streaming_response_browser_families(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_browsers(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browsers() assert_matches_type(TopBrowsersResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_browsers_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browsers( @@ -239,7 +225,6 @@ async def test_method_browsers_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopBrowsersResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_browsers(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.top.with_raw_response.browsers() @@ -249,7 +234,6 @@ async def test_raw_response_browsers(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopBrowsersResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_browsers(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.top.with_streaming_response.browsers() as response: diff --git a/tests/api_resources/radar/netflows/test_top.py b/tests/api_resources/radar/netflows/test_top.py index 8535abc7465..becdf39761a 100644 --- a/tests/api_resources/radar/netflows/test_top.py +++ b/tests/api_resources/radar/netflows/test_top.py @@ -18,13 +18,11 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_ases(self, client: Cloudflare) -> None: top = client.radar.netflows.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ases_with_all_params(self, client: Cloudflare) -> None: top = client.radar.netflows.top.ases( @@ -48,7 +46,6 @@ def test_method_ases_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ases(self, client: Cloudflare) -> None: response = client.radar.netflows.top.with_raw_response.ases() @@ -58,7 +55,6 @@ def test_raw_response_ases(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ases(self, client: Cloudflare) -> None: with client.radar.netflows.top.with_streaming_response.ases() as response: @@ -70,13 +66,11 @@ def test_streaming_response_ases(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.netflows.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.netflows.top.locations( @@ -100,7 +94,6 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.netflows.top.with_raw_response.locations() @@ -110,7 +103,6 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.netflows.top.with_streaming_response.locations() as response: @@ -126,13 +118,11 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_ases(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.ases( @@ -156,7 +146,6 @@ async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.netflows.top.with_raw_response.ases() @@ -166,7 +155,6 @@ async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.netflows.top.with_streaming_response.ases() as response: @@ -178,13 +166,11 @@ async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.locations( @@ -208,7 +194,6 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.netflows.top.with_raw_response.locations() @@ -218,7 +203,6 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.netflows.top.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/quality/speed/test_top.py b/tests/api_resources/radar/quality/speed/test_top.py index 27ff511eecb..1ddd81fa72b 100644 --- a/tests/api_resources/radar/quality/speed/test_top.py +++ b/tests/api_resources/radar/quality/speed/test_top.py @@ -21,13 +21,11 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_ases(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_ases_with_all_params(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.ases( @@ -47,7 +45,6 @@ def test_method_ases_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_ases(self, client: Cloudflare) -> None: response = client.radar.quality.speed.top.with_raw_response.ases() @@ -57,7 +54,6 @@ def test_raw_response_ases(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_ases(self, client: Cloudflare) -> None: with client.radar.quality.speed.top.with_streaming_response.ases() as response: @@ -69,13 +65,11 @@ def test_streaming_response_ases(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.locations( @@ -95,7 +89,6 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.quality.speed.top.with_raw_response.locations() @@ -105,7 +98,6 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.quality.speed.top.with_streaming_response.locations() as response: @@ -121,13 +113,11 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_ases(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.ases( @@ -147,7 +137,6 @@ async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.top.with_raw_response.ases() @@ -157,7 +146,6 @@ async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.top.with_streaming_response.ases() as response: @@ -169,13 +157,11 @@ async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.locations( @@ -195,7 +181,6 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.top.with_raw_response.locations() @@ -205,7 +190,6 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.top.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/quality/test_iqi.py b/tests/api_resources/radar/quality/test_iqi.py index 06a57e35778..307c2f43884 100644 --- a/tests/api_resources/radar/quality/test_iqi.py +++ b/tests/api_resources/radar/quality/test_iqi.py @@ -21,7 +21,6 @@ class TestIQI: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_summary(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.summary( @@ -29,7 +28,6 @@ def test_method_summary(self, client: Cloudflare) -> None: ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_summary_with_all_params(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.summary( @@ -53,7 +51,6 @@ def test_method_summary_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_summary(self, client: Cloudflare) -> None: response = client.radar.quality.iqi.with_raw_response.summary( @@ -65,7 +62,6 @@ def test_raw_response_summary(self, client: Cloudflare) -> None: iqi = response.parse() assert_matches_type(IQISummaryResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_summary(self, client: Cloudflare) -> None: with client.radar.quality.iqi.with_streaming_response.summary( @@ -79,7 +75,6 @@ def test_streaming_response_summary(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_timeseries_groups(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.timeseries_groups( @@ -87,7 +82,6 @@ def test_method_timeseries_groups(self, client: Cloudflare) -> None: ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.timeseries_groups( @@ -113,7 +107,6 @@ def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> N ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: response = client.radar.quality.iqi.with_raw_response.timeseries_groups( @@ -125,7 +118,6 @@ def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: iqi = response.parse() assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: with client.radar.quality.iqi.with_streaming_response.timeseries_groups( @@ -143,7 +135,6 @@ def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: class TestAsyncIQI: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_summary(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.summary( @@ -151,7 +142,6 @@ async def test_method_summary(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_summary_with_all_params(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.summary( @@ -175,7 +165,6 @@ async def test_method_summary_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.iqi.with_raw_response.summary( @@ -187,7 +176,6 @@ async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None iqi = await response.parse() assert_matches_type(IQISummaryResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_summary(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.iqi.with_streaming_response.summary( @@ -201,7 +189,6 @@ async def test_streaming_response_summary(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.timeseries_groups( @@ -209,7 +196,6 @@ async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_groups_with_all_params(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.timeseries_groups( @@ -235,7 +221,6 @@ async def test_method_timeseries_groups_with_all_params(self, async_client: Asyn ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.iqi.with_raw_response.timeseries_groups( @@ -247,7 +232,6 @@ async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflar iqi = await response.parse() assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.iqi.with_streaming_response.timeseries_groups( diff --git a/tests/api_resources/radar/quality/test_speed.py b/tests/api_resources/radar/quality/test_speed.py index 00683ae6c18..7ee3ce0bd64 100644 --- a/tests/api_resources/radar/quality/test_speed.py +++ b/tests/api_resources/radar/quality/test_speed.py @@ -21,13 +21,11 @@ class TestSpeed: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_histogram(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.histogram() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_histogram_with_all_params(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.histogram( @@ -46,7 +44,6 @@ def test_method_histogram_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_histogram(self, client: Cloudflare) -> None: response = client.radar.quality.speed.with_raw_response.histogram() @@ -56,7 +53,6 @@ def test_raw_response_histogram(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_histogram(self, client: Cloudflare) -> None: with client.radar.quality.speed.with_streaming_response.histogram() as response: @@ -68,13 +64,11 @@ def test_streaming_response_histogram(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_summary(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.summary() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_summary_with_all_params(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.summary( @@ -91,7 +85,6 @@ def test_method_summary_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_summary(self, client: Cloudflare) -> None: response = client.radar.quality.speed.with_raw_response.summary() @@ -101,7 +94,6 @@ def test_raw_response_summary(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_summary(self, client: Cloudflare) -> None: with client.radar.quality.speed.with_streaming_response.summary() as response: @@ -117,13 +109,11 @@ def test_streaming_response_summary(self, client: Cloudflare) -> None: class TestAsyncSpeed: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_histogram(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.histogram() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_histogram_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.histogram( @@ -142,7 +132,6 @@ async def test_method_histogram_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_histogram(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.with_raw_response.histogram() @@ -152,7 +141,6 @@ async def test_raw_response_histogram(self, async_client: AsyncCloudflare) -> No speed = await response.parse() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_histogram(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.with_streaming_response.histogram() as response: @@ -164,13 +152,11 @@ async def test_streaming_response_histogram(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_summary(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.summary() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_summary_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.summary( @@ -187,7 +173,6 @@ async def test_method_summary_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.with_raw_response.summary() @@ -197,7 +182,6 @@ async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None speed = await response.parse() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_summary(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.with_streaming_response.summary() as response: diff --git a/tests/api_resources/radar/ranking/test_domain.py b/tests/api_resources/radar/ranking/test_domain.py index 44269df75ae..780aa445d02 100644 --- a/tests/api_resources/radar/ranking/test_domain.py +++ b/tests/api_resources/radar/ranking/test_domain.py @@ -17,7 +17,6 @@ class TestDomain: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.radar.ranking.domain.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DomainGetResponse, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: domain = client.radar.ranking.domain.get( @@ -38,7 +36,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DomainGetResponse, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.ranking.domain.with_raw_response.get( @@ -50,7 +47,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(DomainGetResponse, domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.ranking.domain.with_streaming_response.get( @@ -64,7 +60,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomain: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.radar.ranking.domain.get( @@ -84,7 +78,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DomainGetResponse, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.radar.ranking.domain.get( @@ -97,7 +90,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(DomainGetResponse, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.ranking.domain.with_raw_response.get( @@ -109,7 +101,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(DomainGetResponse, domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.ranking.domain.with_streaming_response.get( @@ -123,7 +114,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"): diff --git a/tests/api_resources/radar/test_as112.py b/tests/api_resources/radar/test_as112.py index a6dde128ac6..27c2a2c1fba 100644 --- a/tests/api_resources/radar/test_as112.py +++ b/tests/api_resources/radar/test_as112.py @@ -18,13 +18,11 @@ class TestAS112: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: as112 = client.radar.as112.timeseries() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: as112 = client.radar.as112.timeseries( @@ -48,7 +46,6 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.as112.with_raw_response.timeseries() @@ -58,7 +55,6 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: as112 = response.parse() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.as112.with_streaming_response.timeseries() as response: @@ -74,13 +70,11 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncAS112: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: as112 = await async_client.radar.as112.timeseries() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: as112 = await async_client.radar.as112.timeseries( @@ -104,7 +98,6 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.with_raw_response.timeseries() @@ -114,7 +107,6 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N as112 = await response.parse() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/test_bgp.py b/tests/api_resources/radar/test_bgp.py index ab993f872e2..b896b31f649 100644 --- a/tests/api_resources/radar/test_bgp.py +++ b/tests/api_resources/radar/test_bgp.py @@ -18,13 +18,11 @@ class TestBGP: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: bgp = client.radar.bgp.timeseries() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: bgp = client.radar.bgp.timeseries( @@ -48,7 +46,6 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.bgp.with_raw_response.timeseries() @@ -58,7 +55,6 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: bgp = response.parse() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.bgp.with_streaming_response.timeseries() as response: @@ -74,13 +70,11 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncBGP: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: bgp = await async_client.radar.bgp.timeseries() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: bgp = await async_client.radar.bgp.timeseries( @@ -104,7 +98,6 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.with_raw_response.timeseries() @@ -114,7 +107,6 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N bgp = await response.parse() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/test_connection_tampering.py b/tests/api_resources/radar/test_connection_tampering.py index d36693462b8..37d3f5a9195 100644 --- a/tests/api_resources/radar/test_connection_tampering.py +++ b/tests/api_resources/radar/test_connection_tampering.py @@ -21,13 +21,11 @@ class TestConnectionTampering: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_summary(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.summary() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_summary_with_all_params(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.summary( @@ -50,7 +48,6 @@ def test_method_summary_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_summary(self, client: Cloudflare) -> None: response = client.radar.connection_tampering.with_raw_response.summary() @@ -60,7 +57,6 @@ def test_raw_response_summary(self, client: Cloudflare) -> None: connection_tampering = response.parse() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_summary(self, client: Cloudflare) -> None: with client.radar.connection_tampering.with_streaming_response.summary() as response: @@ -72,13 +68,11 @@ def test_streaming_response_summary(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_timeseries_groups(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.timeseries_groups() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.timeseries_groups( @@ -102,7 +96,6 @@ def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> N ) assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: response = client.radar.connection_tampering.with_raw_response.timeseries_groups() @@ -112,7 +105,6 @@ def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: connection_tampering = response.parse() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: with client.radar.connection_tampering.with_streaming_response.timeseries_groups() as response: @@ -128,13 +120,11 @@ def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: class TestAsyncConnectionTampering: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_summary(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.summary() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_summary_with_all_params(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.summary( @@ -157,7 +147,6 @@ async def test_method_summary_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.connection_tampering.with_raw_response.summary() @@ -167,7 +156,6 @@ async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None connection_tampering = await response.parse() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_summary(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.connection_tampering.with_streaming_response.summary() as response: @@ -179,13 +167,11 @@ async def test_streaming_response_summary(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.timeseries_groups() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_groups_with_all_params(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.timeseries_groups( @@ -209,7 +195,6 @@ async def test_method_timeseries_groups_with_all_params(self, async_client: Asyn ) assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.connection_tampering.with_raw_response.timeseries_groups() @@ -219,7 +204,6 @@ async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflar connection_tampering = await response.parse() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.connection_tampering.with_streaming_response.timeseries_groups() as response: diff --git a/tests/api_resources/radar/test_datasets.py b/tests/api_resources/radar/test_datasets.py index 006dca3cb20..f2cc9be2ae5 100644 --- a/tests/api_resources/radar/test_datasets.py +++ b/tests/api_resources/radar/test_datasets.py @@ -20,13 +20,11 @@ class TestDatasets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dataset = client.radar.datasets.list() assert_matches_type(DatasetListResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: dataset = client.radar.datasets.list( @@ -37,7 +35,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DatasetListResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.datasets.with_raw_response.list() @@ -47,7 +44,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(DatasetListResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.datasets.with_streaming_response.list() as response: @@ -59,7 +55,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_download(self, client: Cloudflare) -> None: dataset = client.radar.datasets.download( @@ -67,7 +62,6 @@ def test_method_download(self, client: Cloudflare) -> None: ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_download_with_all_params(self, client: Cloudflare) -> None: dataset = client.radar.datasets.download( @@ -76,7 +70,6 @@ def test_method_download_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_download(self, client: Cloudflare) -> None: response = client.radar.datasets.with_raw_response.download( @@ -88,7 +81,6 @@ def test_raw_response_download(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_download(self, client: Cloudflare) -> None: with client.radar.datasets.with_streaming_response.download( @@ -102,7 +94,6 @@ def test_streaming_response_download(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dataset = client.radar.datasets.get( @@ -110,7 +101,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: dataset = client.radar.datasets.get( @@ -119,7 +109,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.datasets.with_raw_response.get( @@ -131,7 +120,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(str, dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.datasets.with_streaming_response.get( @@ -145,7 +133,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `alias` but received ''"): @@ -157,13 +144,11 @@ 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() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.list() assert_matches_type(DatasetListResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.list( @@ -174,7 +159,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(DatasetListResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.datasets.with_raw_response.list() @@ -184,7 +168,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(DatasetListResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.datasets.with_streaming_response.list() as response: @@ -196,7 +179,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_download(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.download( @@ -204,7 +186,6 @@ async def test_method_download(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_download_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.download( @@ -213,7 +194,6 @@ async def test_method_download_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_download(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.datasets.with_raw_response.download( @@ -225,7 +205,6 @@ async def test_raw_response_download(self, async_client: AsyncCloudflare) -> Non dataset = await response.parse() assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_download(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.datasets.with_streaming_response.download( @@ -239,7 +218,6 @@ async def test_streaming_response_download(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.get( @@ -247,7 +225,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.get( @@ -256,7 +233,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(str, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.datasets.with_raw_response.get( @@ -268,7 +244,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(str, dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.datasets.with_streaming_response.get( @@ -282,7 +257,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `alias` but received ''"): diff --git a/tests/api_resources/radar/test_entities.py b/tests/api_resources/radar/test_entities.py index fc22e4c3f65..a9a5a170bf0 100644 --- a/tests/api_resources/radar/test_entities.py +++ b/tests/api_resources/radar/test_entities.py @@ -17,7 +17,6 @@ class TestEntities: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: entity = client.radar.entities.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(EntityGetResponse, entity, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: entity = client.radar.entities.get( @@ -34,7 +32,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EntityGetResponse, entity, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.entities.with_raw_response.get( @@ -46,7 +43,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: entity = response.parse() assert_matches_type(EntityGetResponse, entity, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.entities.with_streaming_response.get( @@ -64,7 +60,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncEntities: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: entity = await async_client.radar.entities.get( @@ -72,7 +67,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntityGetResponse, entity, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: entity = await async_client.radar.entities.get( @@ -81,7 +75,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(EntityGetResponse, entity, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.with_raw_response.get( @@ -93,7 +86,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: entity = await response.parse() assert_matches_type(EntityGetResponse, entity, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.with_streaming_response.get( diff --git a/tests/api_resources/radar/test_netflows.py b/tests/api_resources/radar/test_netflows.py index 79002a4a227..1446060257f 100644 --- a/tests/api_resources/radar/test_netflows.py +++ b/tests/api_resources/radar/test_netflows.py @@ -18,13 +18,11 @@ class TestNetflows: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: netflow = client.radar.netflows.timeseries() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: netflow = client.radar.netflows.timeseries( @@ -50,7 +48,6 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.netflows.with_raw_response.timeseries() @@ -60,7 +57,6 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: netflow = response.parse() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.netflows.with_streaming_response.timeseries() as response: @@ -76,13 +72,11 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncNetflows: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: netflow = await async_client.radar.netflows.timeseries() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: netflow = await async_client.radar.netflows.timeseries( @@ -108,7 +102,6 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.netflows.with_raw_response.timeseries() @@ -118,7 +111,6 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N netflow = await response.parse() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.netflows.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/test_ranking.py b/tests/api_resources/radar/test_ranking.py index 9aeac63890b..61a4def2328 100644 --- a/tests/api_resources/radar/test_ranking.py +++ b/tests/api_resources/radar/test_ranking.py @@ -21,13 +21,11 @@ class TestRanking: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_groups(self, client: Cloudflare) -> None: ranking = client.radar.ranking.timeseries_groups() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> None: ranking = client.radar.ranking.timeseries_groups( @@ -51,7 +49,6 @@ def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> N ) assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: response = client.radar.ranking.with_raw_response.timeseries_groups() @@ -61,7 +58,6 @@ def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: ranking = response.parse() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: with client.radar.ranking.with_streaming_response.timeseries_groups() as response: @@ -73,13 +69,11 @@ def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_top(self, client: Cloudflare) -> None: ranking = client.radar.ranking.top() assert_matches_type(RankingTopResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_top_with_all_params(self, client: Cloudflare) -> None: ranking = client.radar.ranking.top( @@ -92,7 +86,6 @@ def test_method_top_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RankingTopResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_top(self, client: Cloudflare) -> None: response = client.radar.ranking.with_raw_response.top() @@ -102,7 +95,6 @@ def test_raw_response_top(self, client: Cloudflare) -> None: ranking = response.parse() assert_matches_type(RankingTopResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_top(self, client: Cloudflare) -> None: with client.radar.ranking.with_streaming_response.top() as response: @@ -118,13 +110,11 @@ def test_streaming_response_top(self, client: Cloudflare) -> None: class TestAsyncRanking: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.timeseries_groups() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_timeseries_groups_with_all_params(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.timeseries_groups( @@ -148,7 +138,6 @@ async def test_method_timeseries_groups_with_all_params(self, async_client: Asyn ) assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.ranking.with_raw_response.timeseries_groups() @@ -158,7 +147,6 @@ async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflar ranking = await response.parse() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.ranking.with_streaming_response.timeseries_groups() as response: @@ -170,13 +158,11 @@ async def test_streaming_response_timeseries_groups(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_top(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.top() assert_matches_type(RankingTopResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_top_with_all_params(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.top( @@ -189,7 +175,6 @@ async def test_method_top_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RankingTopResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_top(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.ranking.with_raw_response.top() @@ -199,7 +184,6 @@ async def test_raw_response_top(self, async_client: AsyncCloudflare) -> None: ranking = await response.parse() assert_matches_type(RankingTopResponse, ranking, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_top(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.ranking.with_streaming_response.top() as response: diff --git a/tests/api_resources/radar/test_search.py b/tests/api_resources/radar/test_search.py index fbc22c27dff..5185e12e4c3 100644 --- a/tests/api_resources/radar/test_search.py +++ b/tests/api_resources/radar/test_search.py @@ -17,7 +17,6 @@ class TestSearch: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_global(self, client: Cloudflare) -> None: search = client.radar.search.global_( @@ -25,7 +24,6 @@ def test_method_global(self, client: Cloudflare) -> None: ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_global_with_all_params(self, client: Cloudflare) -> None: search = client.radar.search.global_( @@ -38,7 +36,6 @@ def test_method_global_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_global(self, client: Cloudflare) -> None: response = client.radar.search.with_raw_response.global_( @@ -50,7 +47,6 @@ def test_raw_response_global(self, client: Cloudflare) -> None: search = response.parse() assert_matches_type(SearchGlobalResponse, search, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_global(self, client: Cloudflare) -> None: with client.radar.search.with_streaming_response.global_( @@ -68,7 +64,6 @@ def test_streaming_response_global(self, client: Cloudflare) -> None: class TestAsyncSearch: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_global(self, async_client: AsyncCloudflare) -> None: search = await async_client.radar.search.global_( @@ -76,7 +71,6 @@ async def test_method_global(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_global_with_all_params(self, async_client: AsyncCloudflare) -> None: search = await async_client.radar.search.global_( @@ -89,7 +83,6 @@ async def test_method_global_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_global(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.search.with_raw_response.global_( @@ -101,7 +94,6 @@ async def test_raw_response_global(self, async_client: AsyncCloudflare) -> None: search = await response.parse() assert_matches_type(SearchGlobalResponse, search, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_global(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.search.with_streaming_response.global_( diff --git a/tests/api_resources/radar/test_traffic_anomalies.py b/tests/api_resources/radar/test_traffic_anomalies.py index ad7015ff70a..7e92c76fe39 100644 --- a/tests/api_resources/radar/test_traffic_anomalies.py +++ b/tests/api_resources/radar/test_traffic_anomalies.py @@ -18,13 +18,11 @@ class TestTrafficAnomalies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: traffic_anomaly = client.radar.traffic_anomalies.get() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: traffic_anomaly = client.radar.traffic_anomalies.get( @@ -40,7 +38,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.traffic_anomalies.with_raw_response.get() @@ -50,7 +47,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: traffic_anomaly = response.parse() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.traffic_anomalies.with_streaming_response.get() as response: @@ -66,13 +62,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTrafficAnomalies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: traffic_anomaly = await async_client.radar.traffic_anomalies.get() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: traffic_anomaly = await async_client.radar.traffic_anomalies.get( @@ -88,7 +82,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.traffic_anomalies.with_raw_response.get() @@ -98,7 +91,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: traffic_anomaly = await response.parse() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.traffic_anomalies.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/traffic_anomalies/test_locations.py b/tests/api_resources/radar/traffic_anomalies/test_locations.py index ba164303c0b..005738ac3e2 100644 --- a/tests/api_resources/radar/traffic_anomalies/test_locations.py +++ b/tests/api_resources/radar/traffic_anomalies/test_locations.py @@ -18,13 +18,11 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.radar.traffic_anomalies.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: location = client.radar.traffic_anomalies.locations.get( @@ -37,7 +35,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.traffic_anomalies.locations.with_raw_response.get() @@ -47,7 +44,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.traffic_anomalies.locations.with_streaming_response.get() as response: @@ -63,13 +59,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.traffic_anomalies.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.traffic_anomalies.locations.get( @@ -82,7 +76,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.traffic_anomalies.locations.with_raw_response.get() @@ -92,7 +85,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.traffic_anomalies.locations.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/verified_bots/test_top.py b/tests/api_resources/radar/verified_bots/test_top.py index 8ed74c070bd..bfb0e175fc2 100644 --- a/tests/api_resources/radar/verified_bots/test_top.py +++ b/tests/api_resources/radar/verified_bots/test_top.py @@ -21,13 +21,11 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_bots(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.bots() assert_matches_type(TopBotsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_bots_with_all_params(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.bots( @@ -51,7 +49,6 @@ def test_method_bots_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopBotsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_bots(self, client: Cloudflare) -> None: response = client.radar.verified_bots.top.with_raw_response.bots() @@ -61,7 +58,6 @@ def test_raw_response_bots(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopBotsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_bots(self, client: Cloudflare) -> None: with client.radar.verified_bots.top.with_streaming_response.bots() as response: @@ -73,13 +69,11 @@ def test_streaming_response_bots(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_categories(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.categories() assert_matches_type(TopCategoriesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_categories_with_all_params(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.categories( @@ -103,7 +97,6 @@ def test_method_categories_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopCategoriesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_categories(self, client: Cloudflare) -> None: response = client.radar.verified_bots.top.with_raw_response.categories() @@ -113,7 +106,6 @@ def test_raw_response_categories(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopCategoriesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_categories(self, client: Cloudflare) -> None: with client.radar.verified_bots.top.with_streaming_response.categories() as response: @@ -129,13 +121,11 @@ def test_streaming_response_categories(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_bots(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.bots() assert_matches_type(TopBotsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_bots_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.bots( @@ -159,7 +149,6 @@ async def test_method_bots_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopBotsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_bots(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.verified_bots.top.with_raw_response.bots() @@ -169,7 +158,6 @@ async def test_raw_response_bots(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopBotsResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_bots(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.verified_bots.top.with_streaming_response.bots() as response: @@ -181,13 +169,11 @@ async def test_streaming_response_bots(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_categories(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.categories() assert_matches_type(TopCategoriesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_categories_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.categories( @@ -211,7 +197,6 @@ async def test_method_categories_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TopCategoriesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_categories(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.verified_bots.top.with_raw_response.categories() @@ -221,7 +206,6 @@ async def test_raw_response_categories(self, async_client: AsyncCloudflare) -> N top = await response.parse() assert_matches_type(TopCategoriesResponse, top, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_categories(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.verified_bots.top.with_streaming_response.categories() as response: diff --git a/tests/api_resources/registrar/test_domains.py b/tests/api_resources/registrar/test_domains.py index 924582e2af1..5c0d686188c 100644 --- a/tests/api_resources/registrar/test_domains.py +++ b/tests/api_resources/registrar/test_domains.py @@ -18,7 +18,6 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: domain = client.registrar.domains.update( @@ -27,7 +26,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: domain = client.registrar.domains.update( @@ -39,7 +37,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.registrar.domains.with_raw_response.update( @@ -52,7 +49,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.registrar.domains.with_streaming_response.update( @@ -67,7 +63,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -82,7 +77,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: domain = client.registrar.domains.list( @@ -90,7 +84,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.registrar.domains.with_raw_response.list( @@ -102,7 +95,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.registrar.domains.with_streaming_response.list( @@ -116,7 +108,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -124,7 +115,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.registrar.domains.get( @@ -133,7 +123,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.registrar.domains.with_raw_response.get( @@ -146,7 +135,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.registrar.domains.with_streaming_response.get( @@ -161,7 +149,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -180,7 +167,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.update( @@ -189,7 +175,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.update( @@ -201,7 +186,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.registrar.domains.with_raw_response.update( @@ -214,7 +198,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.registrar.domains.with_streaming_response.update( @@ -229,7 +212,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -244,7 +226,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.list( @@ -252,7 +233,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.registrar.domains.with_raw_response.list( @@ -264,7 +244,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.registrar.domains.with_streaming_response.list( @@ -278,7 +257,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -286,7 +264,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.get( @@ -295,7 +272,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.registrar.domains.with_raw_response.get( @@ -308,7 +284,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.registrar.domains.with_streaming_response.get( @@ -323,7 +298,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/request_tracers/test_traces.py b/tests/api_resources/request_tracers/test_traces.py index ebd56a1359a..ce807ccc33d 100644 --- a/tests/api_resources/request_tracers/test_traces.py +++ b/tests/api_resources/request_tracers/test_traces.py @@ -17,7 +17,6 @@ class TestTraces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: trace = client.request_tracers.traces.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: trace = client.request_tracers.traces.create( @@ -69,7 +67,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.request_tracers.traces.with_raw_response.create( @@ -83,7 +80,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: trace = response.parse() assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.request_tracers.traces.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() @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 ''"): @@ -113,7 +108,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncTraces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: trace = await async_client.request_tracers.traces.create( @@ -123,7 +117,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: trace = await async_client.request_tracers.traces.create( @@ -165,7 +158,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.request_tracers.traces.with_raw_response.create( @@ -179,7 +171,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: trace = await response.parse() assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.request_tracers.traces.with_streaming_response.create( @@ -195,7 +186,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/rules/lists/test_bulk_operations.py b/tests/api_resources/rules/lists/test_bulk_operations.py index afc1fac33f2..fa3248c9b0f 100644 --- a/tests/api_resources/rules/lists/test_bulk_operations.py +++ b/tests/api_resources/rules/lists/test_bulk_operations.py @@ -17,7 +17,6 @@ class TestBulkOperations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bulk_operation = client.rules.lists.bulk_operations.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rules.lists.bulk_operations.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bulk_operation = response.parse() assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rules.lists.bulk_operations.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -73,7 +69,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBulkOperations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bulk_operation = await async_client.rules.lists.bulk_operations.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.bulk_operations.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bulk_operation = await response.parse() assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.bulk_operations.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() @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_identifier` but received ''"): diff --git a/tests/api_resources/rules/lists/test_items.py b/tests/api_resources/rules/lists/test_items.py index 0261d9d8520..6a2e0fab264 100644 --- a/tests/api_resources/rules/lists/test_items.py +++ b/tests/api_resources/rules/lists/test_items.py @@ -23,7 +23,6 @@ class TestItems: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: item = client.rules.lists.items.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.create( @@ -47,7 +45,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rules.lists.items.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() @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 ''"): @@ -80,7 +76,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: item = client.rules.lists.items.update( @@ -90,7 +85,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.update( @@ -104,7 +98,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.update( @@ -120,7 +113,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -137,7 +129,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: item = client.rules.lists.items.list( @@ -146,7 +137,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[object], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: item = client.rules.lists.items.list( @@ -158,7 +148,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[object], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.list( @@ -171,7 +160,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(SyncCursorPagination[object], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.list( @@ -186,7 +174,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -201,7 +188,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: item = client.rules.lists.items.delete( @@ -210,7 +196,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.delete( @@ -223,7 +208,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.delete( @@ -238,7 +222,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -253,7 +236,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: item = client.rules.lists.items.get( @@ -263,7 +245,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.get( @@ -277,7 +258,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.get( @@ -293,7 +273,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -321,7 +300,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncItems: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.create( @@ -331,7 +309,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.create( @@ -345,7 +322,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.create( @@ -361,7 +337,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -378,7 +353,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.update( @@ -388,7 +362,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.update( @@ -402,7 +375,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.update( @@ -418,7 +390,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -435,7 +406,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.list( @@ -444,7 +414,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorPagination[object], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.list( @@ -456,7 +425,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorPagination[object], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.list( @@ -469,7 +437,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(AsyncCursorPagination[object], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.list( @@ -484,7 +451,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -499,7 +465,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.delete( @@ -508,7 +473,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.delete( @@ -521,7 +485,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.delete( @@ -536,7 +499,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -551,7 +513,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.get( @@ -561,7 +522,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.get( @@ -575,7 +535,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.get( @@ -591,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() @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_identifier` but received ''"): diff --git a/tests/api_resources/rules/test_lists.py b/tests/api_resources/rules/test_lists.py index a3284737579..9c69721f84e 100644 --- a/tests/api_resources/rules/test_lists.py +++ b/tests/api_resources/rules/test_lists.py @@ -18,7 +18,7 @@ class TestLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: list = client.rules.lists.create( @@ -28,7 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: list = client.rules.lists.create( @@ -39,7 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.create( @@ -53,7 +53,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.create( @@ -69,7 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -79,7 +79,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="list1", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: list = client.rules.lists.update( @@ -88,7 +88,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: list = client.rules.lists.update( @@ -98,7 +98,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.update( @@ -111,7 +111,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.update( @@ -126,7 +126,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -141,7 +141,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: list = client.rules.lists.list( @@ -149,7 +148,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ListsList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.list( @@ -161,7 +159,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(SyncSinglePage[ListsList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.list( @@ -175,7 +172,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -183,7 +179,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: list = client.rules.lists.delete( @@ -192,7 +187,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.delete( @@ -205,7 +199,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.delete( @@ -220,7 +213,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -235,7 +227,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: list = client.rules.lists.get( @@ -244,7 +236,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.get( @@ -257,7 +249,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.get( @@ -272,7 +264,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -291,7 +283,7 @@ 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() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.create( @@ -301,7 +293,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @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.rules.lists.create( @@ -312,7 +304,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.create( @@ -326,7 +318,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.create( @@ -342,7 +334,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -352,7 +344,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="list1", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.update( @@ -361,7 +353,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @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.rules.lists.update( @@ -371,7 +363,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.update( @@ -384,7 +376,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.update( @@ -399,7 +391,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -414,7 +406,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.list( @@ -422,7 +413,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ListsList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.list( @@ -434,7 +424,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(AsyncSinglePage[ListsList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.list( @@ -448,7 +437,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -456,7 +444,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.delete( @@ -465,7 +452,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.delete( @@ -478,7 +464,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.delete( @@ -493,7 +478,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -508,7 +492,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.get( @@ -517,7 +501,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.get( @@ -530,7 +514,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.get( @@ -545,7 +529,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/rulesets/phases/test_versions.py b/tests/api_resources/rulesets/phases/test_versions.py index c83a1104f2d..7c88a7ef7f8 100644 --- a/tests/api_resources/rulesets/phases/test_versions.py +++ b/tests/api_resources/rulesets/phases/test_versions.py @@ -19,7 +19,7 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.list( @@ -28,7 +28,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.list( @@ -37,7 +37,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rulesets.phases.versions.with_raw_response.list( @@ -50,7 +50,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rulesets.phases.versions.with_streaming_response.list( @@ -65,7 +65,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -80,7 +80,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.get( @@ -90,7 +90,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.get( @@ -100,7 +100,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.phases.versions.with_raw_response.get( @@ -114,7 +114,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.phases.versions.with_streaming_response.get( @@ -130,7 +130,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_version` but received ''"): @@ -158,7 +158,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVersions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.list( @@ -167,7 +167,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.list( @@ -176,7 +176,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.versions.with_raw_response.list( @@ -189,7 +189,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.versions.with_streaming_response.list( @@ -204,7 +204,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -219,7 +219,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.get( @@ -229,7 +229,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.get( @@ -239,7 +239,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.versions.with_raw_response.get( @@ -253,7 +253,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.versions.with_streaming_response.get( @@ -269,7 +269,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_version` but received ''"): diff --git a/tests/api_resources/rulesets/test_phases.py b/tests/api_resources/rulesets/test_phases.py index 20e1206cae8..40462f29ea8 100644 --- a/tests/api_resources/rulesets/test_phases.py +++ b/tests/api_resources/rulesets/test_phases.py @@ -17,7 +17,7 @@ class TestPhases: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: phase = client.rulesets.phases.update( @@ -27,7 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: phase = client.rulesets.phases.update( @@ -90,7 +90,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rulesets.phases.with_raw_response.update( @@ -104,7 +104,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: phase = response.parse() assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rulesets.phases.with_streaming_response.update( @@ -120,7 +120,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -137,7 +137,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: phase = client.rulesets.phases.get( @@ -146,7 +146,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: phase = client.rulesets.phases.get( @@ -155,7 +155,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.phases.with_raw_response.get( @@ -168,7 +168,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: phase = response.parse() assert_matches_type(PhaseGetResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.phases.with_streaming_response.get( @@ -183,7 +183,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -202,7 +202,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPhases: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.update( @@ -212,7 +212,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.update( @@ -275,7 +275,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.with_raw_response.update( @@ -289,7 +289,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: phase = await response.parse() assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.with_streaming_response.update( @@ -305,7 +305,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -322,7 +322,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.get( @@ -331,7 +331,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.get( @@ -340,7 +340,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.with_raw_response.get( @@ -353,7 +353,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: phase = await response.parse() assert_matches_type(PhaseGetResponse, phase, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.with_streaming_response.get( @@ -368,7 +368,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/rulesets/test_rules.py b/tests/api_resources/rulesets/test_rules.py index 0780961894d..390e99ca22f 100644 --- a/tests/api_resources/rulesets/test_rules.py +++ b/tests/api_resources/rulesets/test_rules.py @@ -21,7 +21,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -30,7 +30,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -53,7 +53,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -66,7 +66,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -81,7 +81,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -102,7 +102,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -111,7 +111,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -128,7 +128,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -141,7 +141,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -156,7 +156,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -177,7 +177,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -186,7 +186,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -203,7 +203,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -216,7 +216,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -231,7 +231,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -252,7 +252,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -261,7 +261,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -303,7 +303,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -316,7 +316,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -331,7 +331,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -352,7 +352,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -361,7 +361,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -378,7 +378,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -391,7 +391,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -406,7 +406,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -427,7 +427,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -436,7 +436,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -453,7 +453,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -466,7 +466,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -481,7 +481,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -502,7 +502,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -511,7 +511,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -528,7 +528,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -541,7 +541,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -556,7 +556,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -577,7 +577,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -586,7 +586,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -613,7 +613,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -626,7 +626,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -641,7 +641,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -662,7 +662,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -671,7 +671,7 @@ def test_method_create_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -699,7 +699,7 @@ def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -712,7 +712,7 @@ def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -727,7 +727,7 @@ def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -748,7 +748,7 @@ def test_path_params_create_overload_9(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -757,7 +757,7 @@ def test_method_create_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -781,7 +781,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -794,7 +794,7 @@ def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -809,7 +809,7 @@ def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -830,7 +830,7 @@ def test_path_params_create_overload_10(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -839,7 +839,7 @@ def test_method_create_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -856,7 +856,7 @@ def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -869,7 +869,7 @@ def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -884,7 +884,7 @@ def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -905,7 +905,7 @@ def test_path_params_create_overload_11(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -914,7 +914,7 @@ def test_method_create_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -935,7 +935,7 @@ def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -948,7 +948,7 @@ def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -963,7 +963,7 @@ def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -984,7 +984,7 @@ def test_path_params_create_overload_12(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -993,7 +993,7 @@ def test_method_create_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1030,7 +1030,7 @@ def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -1043,7 +1043,7 @@ def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -1058,7 +1058,7 @@ def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1079,7 +1079,7 @@ def test_path_params_create_overload_13(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1088,7 +1088,7 @@ def test_method_create_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1111,7 +1111,7 @@ def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -1124,7 +1124,7 @@ def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -1139,7 +1139,7 @@ def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1160,7 +1160,7 @@ def test_path_params_create_overload_14(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1169,7 +1169,7 @@ def test_method_create_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1264,7 +1264,7 @@ def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -1277,7 +1277,7 @@ def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -1292,7 +1292,7 @@ def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1313,7 +1313,7 @@ def test_path_params_create_overload_15(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.rulesets.rules.delete( @@ -1323,7 +1323,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: rule = client.rulesets.rules.delete( @@ -1333,7 +1333,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.delete( @@ -1347,7 +1347,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleDeleteResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.delete( @@ -1363,7 +1363,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -1394,7 +1394,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1404,7 +1404,7 @@ def test_method_edit_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1428,7 +1428,7 @@ def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1442,7 +1442,7 @@ def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1458,7 +1458,7 @@ def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -1489,7 +1489,7 @@ def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1499,7 +1499,7 @@ def test_method_edit_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1517,7 +1517,7 @@ def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1531,7 +1531,7 @@ def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1547,7 +1547,7 @@ def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -1578,7 +1578,7 @@ def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1588,7 +1588,7 @@ def test_method_edit_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1606,7 +1606,7 @@ def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1620,7 +1620,7 @@ def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1636,7 +1636,7 @@ def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -1667,7 +1667,7 @@ def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1677,7 +1677,7 @@ def test_method_edit_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1720,7 +1720,7 @@ def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1734,7 +1734,7 @@ def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1750,7 +1750,7 @@ def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -1781,7 +1781,7 @@ def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1791,7 +1791,7 @@ def test_method_edit_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1809,7 +1809,7 @@ def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1823,7 +1823,7 @@ def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1839,7 +1839,7 @@ def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -1870,7 +1870,7 @@ def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1880,7 +1880,7 @@ def test_method_edit_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1898,7 +1898,7 @@ def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1912,7 +1912,7 @@ def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1928,7 +1928,7 @@ def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -1959,7 +1959,7 @@ def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1969,7 +1969,7 @@ def test_method_edit_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1987,7 +1987,7 @@ def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2001,7 +2001,7 @@ def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2017,7 +2017,7 @@ def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2048,7 +2048,7 @@ def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2058,7 +2058,7 @@ def test_method_edit_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2086,7 +2086,7 @@ def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2100,7 +2100,7 @@ def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2116,7 +2116,7 @@ def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2147,7 +2147,7 @@ def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2157,7 +2157,7 @@ def test_method_edit_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2186,7 +2186,7 @@ def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2200,7 +2200,7 @@ def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2216,7 +2216,7 @@ def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2247,7 +2247,7 @@ def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2257,7 +2257,7 @@ def test_method_edit_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2282,7 +2282,7 @@ def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2296,7 +2296,7 @@ def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2312,7 +2312,7 @@ def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2343,7 +2343,7 @@ def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2353,7 +2353,7 @@ def test_method_edit_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2371,7 +2371,7 @@ def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2385,7 +2385,7 @@ def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2401,7 +2401,7 @@ def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2432,7 +2432,7 @@ def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2442,7 +2442,7 @@ def test_method_edit_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2464,7 +2464,7 @@ def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2478,7 +2478,7 @@ def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2494,7 +2494,7 @@ def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2525,7 +2525,7 @@ def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2535,7 +2535,7 @@ def test_method_edit_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2573,7 +2573,7 @@ def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2587,7 +2587,7 @@ def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2603,7 +2603,7 @@ def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2634,7 +2634,7 @@ def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2644,7 +2644,7 @@ def test_method_edit_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2668,7 +2668,7 @@ def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2682,7 +2682,7 @@ def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2698,7 +2698,7 @@ def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2729,7 +2729,7 @@ def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2739,7 +2739,7 @@ def test_method_edit_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2835,7 +2835,7 @@ def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2849,7 +2849,7 @@ def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2865,7 +2865,7 @@ def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2900,7 +2900,7 @@ def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -2909,7 +2909,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -2932,7 +2932,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.create( @@ -2945,7 +2945,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.create( @@ -2960,7 +2960,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -2981,7 +2981,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -2990,7 +2990,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3007,7 +3007,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.create( @@ -3020,7 +3020,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.create( @@ -3035,7 +3035,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -3056,7 +3056,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3065,7 +3065,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3082,7 +3082,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3095,7 +3095,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3110,7 +3110,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3131,7 +3131,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3140,7 +3140,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3182,7 +3182,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3195,7 +3195,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3210,7 +3210,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3231,7 +3231,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3240,7 +3240,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3257,7 +3257,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3270,7 +3270,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3285,7 +3285,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3306,7 +3306,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3315,7 +3315,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3332,7 +3332,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3345,7 +3345,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3360,7 +3360,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3381,7 +3381,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3390,7 +3390,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3407,7 +3407,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3420,7 +3420,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3435,7 +3435,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3456,7 +3456,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3465,7 +3465,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3492,7 +3492,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3505,7 +3505,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3520,7 +3520,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3541,7 +3541,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3550,7 +3550,7 @@ async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3578,7 +3578,7 @@ async def test_method_create_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3591,7 +3591,7 @@ async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3606,7 +3606,7 @@ async def test_streaming_response_create_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3627,7 +3627,7 @@ async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3636,7 +3636,7 @@ async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3660,7 +3660,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3673,7 +3673,7 @@ async def test_raw_response_create_overload_10(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3688,7 +3688,7 @@ async def test_streaming_response_create_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3709,7 +3709,7 @@ async def test_path_params_create_overload_10(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3718,7 +3718,7 @@ async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3735,7 +3735,7 @@ async def test_method_create_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3748,7 +3748,7 @@ async def test_raw_response_create_overload_11(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3763,7 +3763,7 @@ async def test_streaming_response_create_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3784,7 +3784,7 @@ async def test_path_params_create_overload_11(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3793,7 +3793,7 @@ async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3814,7 +3814,7 @@ async def test_method_create_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3827,7 +3827,7 @@ async def test_raw_response_create_overload_12(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3842,7 +3842,7 @@ async def test_streaming_response_create_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3863,7 +3863,7 @@ async def test_path_params_create_overload_12(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3872,7 +3872,7 @@ async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3909,7 +3909,7 @@ async def test_method_create_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3922,7 +3922,7 @@ async def test_raw_response_create_overload_13(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3937,7 +3937,7 @@ async def test_streaming_response_create_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3958,7 +3958,7 @@ async def test_path_params_create_overload_13(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3967,7 +3967,7 @@ async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3990,7 +3990,7 @@ async def test_method_create_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -4003,7 +4003,7 @@ async def test_raw_response_create_overload_14(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -4018,7 +4018,7 @@ async def test_streaming_response_create_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4039,7 +4039,7 @@ async def test_path_params_create_overload_14(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -4048,7 +4048,7 @@ async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -4143,7 +4143,7 @@ async def test_method_create_with_all_params_overload_15(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -4156,7 +4156,7 @@ async def test_raw_response_create_overload_15(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -4171,7 +4171,7 @@ async def test_streaming_response_create_overload_15(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4192,7 +4192,7 @@ async def test_path_params_create_overload_15(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.delete( @@ -4202,7 +4202,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.delete( @@ -4212,7 +4212,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.delete( @@ -4226,7 +4226,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(RuleDeleteResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.delete( @@ -4242,7 +4242,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4273,7 +4273,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4283,7 +4283,7 @@ async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4307,7 +4307,7 @@ async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4321,7 +4321,7 @@ async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4337,7 +4337,7 @@ async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4368,7 +4368,7 @@ async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4378,7 +4378,7 @@ async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4396,7 +4396,7 @@ async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4410,7 +4410,7 @@ async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4426,7 +4426,7 @@ async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4457,7 +4457,7 @@ async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4467,7 +4467,7 @@ async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4485,7 +4485,7 @@ async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4499,7 +4499,7 @@ async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4515,7 +4515,7 @@ async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4546,7 +4546,7 @@ async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4556,7 +4556,7 @@ async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4599,7 +4599,7 @@ async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4613,7 +4613,7 @@ async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4629,7 +4629,7 @@ async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4660,7 +4660,7 @@ async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4670,7 +4670,7 @@ async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4688,7 +4688,7 @@ async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4702,7 +4702,7 @@ async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4718,7 +4718,7 @@ async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4749,7 +4749,7 @@ async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4759,7 +4759,7 @@ async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4777,7 +4777,7 @@ async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4791,7 +4791,7 @@ async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4807,7 +4807,7 @@ async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4838,7 +4838,7 @@ async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4848,7 +4848,7 @@ async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4866,7 +4866,7 @@ async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4880,7 +4880,7 @@ async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4896,7 +4896,7 @@ async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -4927,7 +4927,7 @@ async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4937,7 +4937,7 @@ async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4965,7 +4965,7 @@ async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -4979,7 +4979,7 @@ async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -4995,7 +4995,7 @@ async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -5026,7 +5026,7 @@ async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5036,7 +5036,7 @@ async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5065,7 +5065,7 @@ async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -5079,7 +5079,7 @@ async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -5095,7 +5095,7 @@ async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -5126,7 +5126,7 @@ async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5136,7 +5136,7 @@ async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5161,7 +5161,7 @@ async def test_method_edit_with_all_params_overload_10(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -5175,7 +5175,7 @@ async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -5191,7 +5191,7 @@ async def test_streaming_response_edit_overload_10(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -5222,7 +5222,7 @@ async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5232,7 +5232,7 @@ async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5250,7 +5250,7 @@ async def test_method_edit_with_all_params_overload_11(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -5264,7 +5264,7 @@ async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -5280,7 +5280,7 @@ async def test_streaming_response_edit_overload_11(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -5311,7 +5311,7 @@ async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5321,7 +5321,7 @@ async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5343,7 +5343,7 @@ async def test_method_edit_with_all_params_overload_12(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -5357,7 +5357,7 @@ async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -5373,7 +5373,7 @@ async def test_streaming_response_edit_overload_12(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -5404,7 +5404,7 @@ async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5414,7 +5414,7 @@ async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5452,7 +5452,7 @@ async def test_method_edit_with_all_params_overload_13(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -5466,7 +5466,7 @@ async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -5482,7 +5482,7 @@ async def test_streaming_response_edit_overload_13(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -5513,7 +5513,7 @@ async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5523,7 +5523,7 @@ async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5547,7 +5547,7 @@ async def test_method_edit_with_all_params_overload_14(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -5561,7 +5561,7 @@ async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -5577,7 +5577,7 @@ async def test_streaming_response_edit_overload_14(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -5608,7 +5608,7 @@ async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5618,7 +5618,7 @@ async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5714,7 +5714,7 @@ async def test_method_edit_with_all_params_overload_15(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_raw_response.edit( @@ -5728,7 +5728,7 @@ async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) - @pytest.mark.skip() + @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.rulesets.rules.with_streaming_response.edit( @@ -5744,7 +5744,7 @@ async def test_streaming_response_edit_overload_15(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): diff --git a/tests/api_resources/rulesets/test_versions.py b/tests/api_resources/rulesets/test_versions.py index fb40b97741b..1fd08c4b629 100644 --- a/tests/api_resources/rulesets/test_versions.py +++ b/tests/api_resources/rulesets/test_versions.py @@ -18,7 +18,7 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: version = client.rulesets.versions.list( @@ -27,7 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.versions.list( @@ -36,7 +36,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rulesets.versions.with_raw_response.list( @@ -49,7 +49,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rulesets.versions.with_streaming_response.list( @@ -64,7 +64,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -85,7 +85,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: version = client.rulesets.versions.delete( @@ -95,7 +95,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert version is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.versions.delete( @@ -105,7 +105,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert version is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rulesets.versions.with_raw_response.delete( @@ -119,7 +119,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: version = response.parse() assert version is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rulesets.versions.with_streaming_response.delete( @@ -135,7 +135,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -166,7 +166,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: version = client.rulesets.versions.get( @@ -176,7 +176,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.versions.get( @@ -186,7 +186,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.versions.with_raw_response.get( @@ -200,7 +200,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.versions.with_streaming_response.get( @@ -216,7 +216,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -251,7 +251,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVersions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.list( @@ -260,7 +260,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.list( @@ -269,7 +269,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.with_raw_response.list( @@ -282,7 +282,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.with_streaming_response.list( @@ -297,7 +297,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -318,7 +318,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.delete( @@ -328,7 +328,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert version is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.delete( @@ -338,7 +338,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert version is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.with_raw_response.delete( @@ -352,7 +352,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert version is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.with_streaming_response.delete( @@ -368,7 +368,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -399,7 +399,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.get( @@ -409,7 +409,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.get( @@ -419,7 +419,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.with_raw_response.get( @@ -433,7 +433,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.with_streaming_response.get( @@ -449,7 +449,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): diff --git a/tests/api_resources/rulesets/versions/test_by_tag.py b/tests/api_resources/rulesets/versions/test_by_tag.py index cc093ff3578..6122739a88f 100644 --- a/tests/api_resources/rulesets/versions/test_by_tag.py +++ b/tests/api_resources/rulesets/versions/test_by_tag.py @@ -17,7 +17,6 @@ class TestByTag: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: by_tag = client.rulesets.versions.by_tag.get( @@ -28,7 +27,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.versions.by_tag.with_raw_response.get( @@ -43,7 +41,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: by_tag = response.parse() assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.versions.by_tag.with_streaming_response.get( @@ -60,7 +57,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -99,7 +95,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncByTag: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: by_tag = await async_client.rulesets.versions.by_tag.get( @@ -110,7 +105,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.by_tag.with_raw_response.get( @@ -125,7 +119,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: by_tag = await response.parse() assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.by_tag.with_streaming_response.get( @@ -142,7 +135,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/rum/test_rules.py b/tests/api_resources/rum/test_rules.py index 0250949fba5..41a20cc0ee4 100644 --- a/tests/api_resources/rum/test_rules.py +++ b/tests/api_resources/rum/test_rules.py @@ -17,7 +17,6 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.rum.rules.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.rum.rules.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.create( @@ -52,7 +49,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rum.rules.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() @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: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.rum.rules.update( @@ -92,7 +86,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.rum.rules.update( @@ -106,7 +99,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.update( @@ -120,7 +112,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rum.rules.with_streaming_response.update( @@ -136,7 +127,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -160,7 +150,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ruleset_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.rum.rules.list( @@ -169,7 +158,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.list( @@ -182,7 +170,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rum.rules.with_streaming_response.list( @@ -197,7 +184,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -212,7 +198,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.rum.rules.delete( @@ -222,7 +207,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.delete( @@ -236,7 +220,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rum.rules.with_streaming_response.delete( @@ -252,7 +235,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -280,7 +262,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.create( @@ -289,7 +270,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.create( @@ -302,7 +282,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.create( @@ -315,7 +294,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.create( @@ -330,7 +308,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -345,7 +322,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.update( @@ -355,7 +331,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.update( @@ -369,7 +344,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.update( @@ -383,7 +357,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.update( @@ -399,7 +372,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -423,7 +395,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ruleset_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.list( @@ -432,7 +403,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.list( @@ -445,7 +415,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.list( @@ -460,7 +429,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -475,7 +443,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.delete( @@ -485,7 +452,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.delete( @@ -499,7 +465,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.delete( @@ -515,7 +480,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/rum/test_site_info.py b/tests/api_resources/rum/test_site_info.py index a1f892e4669..2e72e44a04e 100644 --- a/tests/api_resources/rum/test_site_info.py +++ b/tests/api_resources/rum/test_site_info.py @@ -21,7 +21,6 @@ class TestSiteInfo: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: site_info = client.rum.site_info.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: site_info = client.rum.site_info.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.create( @@ -52,7 +49,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.create( @@ -66,7 +62,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -74,7 +69,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: site_info = client.rum.site_info.update( @@ -83,7 +77,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: site_info = client.rum.site_info.update( @@ -95,7 +88,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.update( @@ -108,7 +100,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.update( @@ -123,7 +114,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -138,7 +128,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: site_info = client.rum.site_info.list( @@ -146,7 +135,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: site_info = client.rum.site_info.list( @@ -157,7 +145,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.list( @@ -169,7 +156,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(SyncV4PagePaginationArray[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.list( @@ -183,7 +169,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -191,7 +176,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: site_info = client.rum.site_info.delete( @@ -200,7 +184,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.delete( @@ -213,7 +196,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.delete( @@ -228,7 +210,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +224,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: site_info = client.rum.site_info.get( @@ -252,7 +232,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.get( @@ -265,7 +244,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.get( @@ -280,7 +258,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +276,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSiteInfo: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.create( @@ -307,7 +283,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.create( @@ -318,7 +293,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.create( @@ -330,7 +304,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.create( @@ -344,7 +317,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -352,7 +324,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.update( @@ -361,7 +332,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.update( @@ -373,7 +343,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.update( @@ -386,7 +355,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.update( @@ -401,7 +369,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -416,7 +383,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.list( @@ -424,7 +390,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.list( @@ -435,7 +400,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.list( @@ -447,7 +411,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.list( @@ -461,7 +424,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -469,7 +431,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.delete( @@ -478,7 +439,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.delete( @@ -491,7 +451,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.delete( @@ -506,7 +465,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -521,7 +479,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.get( @@ -530,7 +487,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.get( @@ -543,7 +499,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.get( @@ -558,7 +513,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/secondary_dns/outgoing/test_status.py b/tests/api_resources/secondary_dns/outgoing/test_status.py index a669d9b1d58..98ced5177aa 100644 --- a/tests/api_resources/secondary_dns/outgoing/test_status.py +++ b/tests/api_resources/secondary_dns/outgoing/test_status.py @@ -16,7 +16,6 @@ class TestStatus: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: status = client.secondary_dns.outgoing.status.get( @@ -24,7 +23,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, status, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.status.with_raw_response.get( @@ -36,7 +34,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(str, status, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.status.with_streaming_response.get( @@ -50,7 +47,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -62,7 +58,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStatus: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: status = await async_client.secondary_dns.outgoing.status.get( @@ -70,7 +65,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.status.with_raw_response.get( @@ -82,7 +76,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(str, status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.status.with_streaming_response.get( @@ -96,7 +89,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/secondary_dns/test_acls.py b/tests/api_resources/secondary_dns/test_acls.py index 9921c920585..6723d4ab22d 100644 --- a/tests/api_resources/secondary_dns/test_acls.py +++ b/tests/api_resources/secondary_dns/test_acls.py @@ -18,7 +18,7 @@ class TestACLs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.create( @@ -40,7 +40,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.create( @@ -55,7 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -64,7 +64,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.update( @@ -75,7 +74,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.update( @@ -90,7 +88,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.update( @@ -107,7 +104,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +122,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="my-acl-1", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.list( @@ -134,7 +129,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.list( @@ -146,7 +140,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(SyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.list( @@ -160,7 +153,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +160,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.delete( @@ -177,7 +168,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.delete( @@ -190,7 +180,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.delete( @@ -205,7 +194,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +208,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="01a7362d577a6c3019a474fd6f485823", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.get( @@ -229,7 +216,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.get( @@ -242,7 +228,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.get( @@ -257,7 +242,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +260,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncACLs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.create( @@ -285,7 +269,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.create( @@ -298,7 +282,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.create( @@ -313,7 +297,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -322,7 +306,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.update( @@ -333,7 +316,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.update( @@ -348,7 +330,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.update( @@ -365,7 +346,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +364,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="my-acl-1", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.list( @@ -392,7 +371,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.list( @@ -404,7 +382,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(AsyncSinglePage[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.list( @@ -418,7 +395,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +402,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.delete( @@ -435,7 +410,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.delete( @@ -448,7 +422,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.delete( @@ -463,7 +436,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +450,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="01a7362d577a6c3019a474fd6f485823", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.get( @@ -487,7 +458,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.get( @@ -500,7 +470,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.get( @@ -515,7 +484,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/secondary_dns/test_force_axfr.py b/tests/api_resources/secondary_dns/test_force_axfr.py index dee1012a5a1..2e0d975d424 100644 --- a/tests/api_resources/secondary_dns/test_force_axfr.py +++ b/tests/api_resources/secondary_dns/test_force_axfr.py @@ -16,7 +16,6 @@ class TestForceAXFR: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: force_axfr = client.secondary_dns.force_axfr.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(str, force_axfr, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.force_axfr.with_raw_response.create( @@ -38,7 +36,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: force_axfr = response.parse() assert_matches_type(str, force_axfr, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.force_axfr.with_streaming_response.create( @@ -53,7 +50,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -66,7 +62,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncForceAXFR: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: force_axfr = await async_client.secondary_dns.force_axfr.create( @@ -75,7 +70,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, force_axfr, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.force_axfr.with_raw_response.create( @@ -88,7 +82,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: force_axfr = await response.parse() assert_matches_type(str, force_axfr, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.force_axfr.with_streaming_response.create( @@ -103,7 +96,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/secondary_dns/test_incoming.py b/tests/api_resources/secondary_dns/test_incoming.py index 7df3047dab4..f5dfb88362c 100644 --- a/tests/api_resources/secondary_dns/test_incoming.py +++ b/tests/api_resources/secondary_dns/test_incoming.py @@ -22,7 +22,6 @@ class TestIncoming: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.create( @@ -48,7 +46,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.create( @@ -65,7 +62,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -76,7 +72,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.update( @@ -87,7 +82,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.update( @@ -102,7 +96,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.update( @@ -119,7 +112,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +122,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.delete( @@ -138,7 +129,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.delete( @@ -150,7 +140,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.delete( @@ -164,7 +153,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -172,7 +160,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.get( @@ -180,7 +167,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.get( @@ -192,7 +178,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.get( @@ -206,7 +191,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -218,7 +202,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIncoming: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.create( @@ -229,7 +212,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.create( @@ -244,7 +226,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.create( @@ -261,7 +242,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -272,7 +252,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.update( @@ -283,7 +262,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.update( @@ -298,7 +276,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.update( @@ -315,7 +292,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -326,7 +302,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.delete( @@ -334,7 +309,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.delete( @@ -346,7 +320,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.delete( @@ -360,7 +333,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -368,7 +340,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.get( @@ -376,7 +347,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.get( @@ -388,7 +358,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.get( @@ -402,7 +371,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/secondary_dns/test_outgoing.py b/tests/api_resources/secondary_dns/test_outgoing.py index d33465d8802..8e9a1d8e9e2 100644 --- a/tests/api_resources/secondary_dns/test_outgoing.py +++ b/tests/api_resources/secondary_dns/test_outgoing.py @@ -22,7 +22,6 @@ class TestOutgoing: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.create( @@ -46,7 +44,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.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() @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 ''"): @@ -72,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.update( @@ -82,7 +77,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.update( @@ -96,7 +90,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.update( @@ -112,7 +105,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -122,7 +114,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.delete( @@ -130,7 +121,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.delete( @@ -142,7 +132,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.delete( @@ -156,7 +145,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -164,7 +152,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_disable(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.disable( @@ -173,7 +160,6 @@ def test_method_disable(self, client: Cloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_disable(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.disable( @@ -186,7 +172,6 @@ def test_raw_response_disable(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_disable(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.disable( @@ -201,7 +186,6 @@ def test_streaming_response_disable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_disable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -210,7 +194,6 @@ def test_path_params_disable(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_enable(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.enable( @@ -219,7 +202,6 @@ def test_method_enable(self, client: Cloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_enable(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.enable( @@ -232,7 +214,6 @@ def test_raw_response_enable(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_enable(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.enable( @@ -247,7 +228,6 @@ def test_streaming_response_enable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_enable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -256,7 +236,6 @@ def test_path_params_enable(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_force_notify(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.force_notify( @@ -265,7 +244,6 @@ def test_method_force_notify(self, client: Cloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_force_notify(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.force_notify( @@ -278,7 +256,6 @@ def test_raw_response_force_notify(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_force_notify(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.force_notify( @@ -293,7 +270,6 @@ def test_streaming_response_force_notify(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_force_notify(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -302,7 +278,6 @@ def test_path_params_force_notify(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.get( @@ -310,7 +285,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.get( @@ -322,7 +296,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.get( @@ -336,7 +309,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -348,7 +320,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOutgoing: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.create( @@ -358,7 +329,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.create( @@ -372,7 +342,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.create( @@ -388,7 +357,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -398,7 +366,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.update( @@ -408,7 +375,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.update( @@ -422,7 +388,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.update( @@ -438,7 +403,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -448,7 +412,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.delete( @@ -456,7 +419,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.delete( @@ -468,7 +430,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.delete( @@ -482,7 +443,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -490,7 +450,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_disable(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.disable( @@ -499,7 +458,6 @@ async def test_method_disable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.disable( @@ -512,7 +470,6 @@ async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None outgoing = await response.parse() assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_disable(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.disable( @@ -527,7 +484,6 @@ async def test_streaming_response_disable(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -536,7 +492,6 @@ async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_enable(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.enable( @@ -545,7 +500,6 @@ async def test_method_enable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.enable( @@ -558,7 +512,6 @@ async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.enable( @@ -573,7 +526,6 @@ async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -582,7 +534,6 @@ async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_force_notify(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.force_notify( @@ -591,7 +542,6 @@ async def test_method_force_notify(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_force_notify(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.force_notify( @@ -604,7 +554,6 @@ async def test_raw_response_force_notify(self, async_client: AsyncCloudflare) -> outgoing = await response.parse() assert_matches_type(str, outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_force_notify(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.force_notify( @@ -619,7 +568,6 @@ async def test_streaming_response_force_notify(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_force_notify(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -628,7 +576,6 @@ async def test_path_params_force_notify(self, async_client: AsyncCloudflare) -> body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.get( @@ -636,7 +583,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.get( @@ -648,7 +594,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.get( @@ -662,7 +607,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/secondary_dns/test_peers.py b/tests/api_resources/secondary_dns/test_peers.py index 4f5b6f62d6d..9129014f7bd 100644 --- a/tests/api_resources/secondary_dns/test_peers.py +++ b/tests/api_resources/secondary_dns/test_peers.py @@ -18,7 +18,7 @@ class TestPeers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.create( @@ -40,7 +40,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.create( @@ -55,7 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -64,7 +64,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.update( @@ -74,7 +73,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.update( @@ -88,7 +86,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.update( @@ -102,7 +99,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.update( @@ -118,7 +114,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +130,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="my-peer-1", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.list( @@ -143,7 +137,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.list( @@ -155,7 +148,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(SyncSinglePage[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.list( @@ -169,7 +161,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +168,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.delete( @@ -186,7 +176,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.delete( @@ -199,7 +188,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.delete( @@ -214,7 +202,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +216,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="01a7362d577a6c3019a474fd6f485823", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.get( @@ -238,7 +224,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.get( @@ -251,7 +236,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.get( @@ -266,7 +250,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +268,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPeers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.create( @@ -294,7 +277,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.create( @@ -307,7 +290,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.create( @@ -322,7 +305,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -331,7 +314,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.update( @@ -341,7 +323,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.update( @@ -355,7 +336,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.update( @@ -369,7 +349,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.update( @@ -385,7 +364,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -402,7 +380,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="my-peer-1", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.list( @@ -410,7 +387,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.list( @@ -422,7 +398,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(AsyncSinglePage[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.list( @@ -436,7 +411,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -444,7 +418,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.delete( @@ -453,7 +426,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.delete( @@ -466,7 +438,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.delete( @@ -481,7 +452,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -496,7 +466,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="01a7362d577a6c3019a474fd6f485823", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.get( @@ -505,7 +474,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.get( @@ -518,7 +486,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.get( @@ -533,7 +500,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/secondary_dns/test_tsigs.py b/tests/api_resources/secondary_dns/test_tsigs.py index c24bce51baa..cfc48b5b25e 100644 --- a/tests/api_resources/secondary_dns/test_tsigs.py +++ b/tests/api_resources/secondary_dns/test_tsigs.py @@ -18,7 +18,6 @@ class TestTSIGs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.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() @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 ''"): @@ -72,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.update( @@ -84,7 +79,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.update( @@ -100,7 +94,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.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() @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 +131,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.list( @@ -147,7 +138,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.list( @@ -159,7 +149,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(SyncSinglePage[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.list( @@ -173,7 +162,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +169,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.delete( @@ -190,7 +177,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.delete( @@ -203,7 +189,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.delete( @@ -218,7 +203,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +217,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="01a7362d577a6c3019a474fd6f485823", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.get( @@ -242,7 +225,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.get( @@ -255,7 +237,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.get( @@ -270,7 +251,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +269,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTSIGs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.create( @@ -300,7 +279,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.create( @@ -315,7 +293,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.create( @@ -332,7 +309,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -343,7 +319,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.update( @@ -355,7 +330,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.update( @@ -371,7 +345,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.update( @@ -389,7 +362,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +382,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.list( @@ -418,7 +389,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.list( @@ -430,7 +400,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(AsyncSinglePage[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.list( @@ -444,7 +413,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +420,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.delete( @@ -461,7 +428,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.delete( @@ -474,7 +440,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.delete( @@ -489,7 +454,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +468,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="01a7362d577a6c3019a474fd6f485823", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.get( @@ -513,7 +476,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.get( @@ -526,7 +488,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.get( @@ -541,7 +502,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/spectrum/analytics/aggregates/test_currents.py b/tests/api_resources/spectrum/analytics/aggregates/test_currents.py index 637e44bfece..fa152873a47 100644 --- a/tests/api_resources/spectrum/analytics/aggregates/test_currents.py +++ b/tests/api_resources/spectrum/analytics/aggregates/test_currents.py @@ -17,7 +17,6 @@ class TestCurrents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: current = client.spectrum.analytics.aggregates.currents.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CurrentGetResponse, current, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: current = client.spectrum.analytics.aggregates.currents.get( @@ -36,7 +34,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CurrentGetResponse, current, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.analytics.aggregates.currents.with_raw_response.get( @@ -48,7 +45,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: current = response.parse() assert_matches_type(CurrentGetResponse, current, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.analytics.aggregates.currents.with_streaming_response.get( @@ -62,7 +58,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -74,7 +69,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCurrents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: current = await async_client.spectrum.analytics.aggregates.currents.get( @@ -82,7 +76,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CurrentGetResponse, current, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: current = await async_client.spectrum.analytics.aggregates.currents.get( @@ -93,7 +86,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(CurrentGetResponse, current, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.analytics.aggregates.currents.with_raw_response.get( @@ -105,7 +97,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: current = await response.parse() assert_matches_type(CurrentGetResponse, current, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.analytics.aggregates.currents.with_streaming_response.get( @@ -119,7 +110,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): diff --git a/tests/api_resources/spectrum/analytics/events/test_bytimes.py b/tests/api_resources/spectrum/analytics/events/test_bytimes.py index 9afdcf9b72a..57a939363a2 100644 --- a/tests/api_resources/spectrum/analytics/events/test_bytimes.py +++ b/tests/api_resources/spectrum/analytics/events/test_bytimes.py @@ -18,7 +18,6 @@ class TestBytimes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bytime = client.spectrum.analytics.events.bytimes.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bytime = client.spectrum.analytics.events.bytimes.get( @@ -41,7 +39,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.analytics.events.bytimes.with_raw_response.get( @@ -53,7 +50,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bytime = response.parse() assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.analytics.events.bytimes.with_streaming_response.get( @@ -67,7 +63,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -79,7 +74,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBytimes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.spectrum.analytics.events.bytimes.get( @@ -87,7 +81,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.spectrum.analytics.events.bytimes.get( @@ -102,7 +95,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.analytics.events.bytimes.with_raw_response.get( @@ -114,7 +106,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bytime = await response.parse() assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.analytics.events.bytimes.with_streaming_response.get( @@ -128,7 +119,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): diff --git a/tests/api_resources/spectrum/analytics/events/test_summaries.py b/tests/api_resources/spectrum/analytics/events/test_summaries.py index 5f19bf08707..abccd1640c3 100644 --- a/tests/api_resources/spectrum/analytics/events/test_summaries.py +++ b/tests/api_resources/spectrum/analytics/events/test_summaries.py @@ -18,7 +18,6 @@ class TestSummaries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.spectrum.analytics.events.summaries.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.spectrum.analytics.events.summaries.get( @@ -40,7 +38,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.analytics.events.summaries.with_raw_response.get( @@ -52,7 +49,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.analytics.events.summaries.with_streaming_response.get( @@ -66,7 +62,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -78,7 +73,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSummaries: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.spectrum.analytics.events.summaries.get( @@ -86,7 +80,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.spectrum.analytics.events.summaries.get( @@ -100,7 +93,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.analytics.events.summaries.with_raw_response.get( @@ -112,7 +104,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.analytics.events.summaries.with_streaming_response.get( @@ -126,7 +117,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): diff --git a/tests/api_resources/spectrum/test_apps.py b/tests/api_resources/spectrum/test_apps.py index e0cc6524427..cdd400dea70 100644 --- a/tests/api_resources/spectrum/test_apps.py +++ b/tests/api_resources/spectrum/test_apps.py @@ -23,7 +23,6 @@ class TestApps: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: app = client.spectrum.apps.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: app = client.spectrum.apps.create( @@ -63,7 +61,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.create( @@ -79,7 +76,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.create( @@ -97,7 +93,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -109,7 +104,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: protocol="tcp/22", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: app = client.spectrum.apps.update( @@ -122,7 +116,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: app = client.spectrum.apps.update( @@ -151,7 +144,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.update( @@ -168,7 +160,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.update( @@ -187,7 +178,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -210,7 +200,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: protocol="tcp/22", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: app = client.spectrum.apps.list( @@ -218,7 +207,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: app = client.spectrum.apps.list( @@ -230,7 +218,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.list( @@ -242,7 +229,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.list( @@ -256,7 +242,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -264,7 +249,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: app = client.spectrum.apps.delete( @@ -273,7 +257,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.delete( @@ -286,7 +269,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.delete( @@ -301,7 +283,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -316,7 +297,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: app = client.spectrum.apps.get( @@ -325,7 +305,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AppGetResponse, app, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.get( @@ -338,7 +317,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(AppGetResponse, app, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.get( @@ -353,7 +331,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -372,7 +349,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncApps: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.create( @@ -384,7 +360,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.create( @@ -412,7 +387,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.create( @@ -428,7 +402,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.create( @@ -446,7 +419,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): @@ -458,7 +430,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: protocol="tcp/22", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.update( @@ -471,7 +442,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.update( @@ -500,7 +470,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.update( @@ -517,7 +486,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.update( @@ -536,7 +504,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): @@ -559,7 +526,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: protocol="tcp/22", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.list( @@ -567,7 +533,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[object], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.list( @@ -579,7 +544,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.list( @@ -591,7 +555,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.list( @@ -605,7 +568,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): @@ -613,7 +575,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.delete( @@ -622,7 +583,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.delete( @@ -635,7 +595,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.delete( @@ -650,7 +609,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): @@ -665,7 +623,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.get( @@ -674,7 +631,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AppGetResponse, app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.get( @@ -687,7 +643,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(AppGetResponse, app, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.get( @@ -702,7 +657,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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` but received ''"): diff --git a/tests/api_resources/speed/test_availabilities.py b/tests/api_resources/speed/test_availabilities.py index 1d651c0cda6..59d87a22852 100644 --- a/tests/api_resources/speed/test_availabilities.py +++ b/tests/api_resources/speed/test_availabilities.py @@ -17,7 +17,6 @@ class TestAvailabilities: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: availability = client.speed.availabilities.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Availability], availability, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.speed.availabilities.with_raw_response.list( @@ -37,7 +35,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: availability = response.parse() assert_matches_type(Optional[Availability], availability, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.speed.availabilities.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() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAvailabilities: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: availability = await async_client.speed.availabilities.list( @@ -71,7 +66,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Availability], availability, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.availabilities.with_raw_response.list( @@ -83,7 +77,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: availability = await response.parse() assert_matches_type(Optional[Availability], availability, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.availabilities.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() @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 ''"): diff --git a/tests/api_resources/speed/test_pages.py b/tests/api_resources/speed/test_pages.py index cee5ec5833e..ac43092a2e3 100644 --- a/tests/api_resources/speed/test_pages.py +++ b/tests/api_resources/speed/test_pages.py @@ -18,7 +18,6 @@ class TestPages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: page = client.speed.pages.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[PageListResponse], page, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.speed.pages.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: page = response.parse() assert_matches_type(SyncSinglePage[PageListResponse], page, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.speed.pages.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() @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 ''"): @@ -64,7 +60,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncPages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: page = await async_client.speed.pages.list( @@ -72,7 +67,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[PageListResponse], page, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.pages.with_raw_response.list( @@ -84,7 +78,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: page = await response.parse() assert_matches_type(AsyncSinglePage[PageListResponse], page, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.pages.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() @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 ''"): diff --git a/tests/api_resources/speed/test_schedule.py b/tests/api_resources/speed/test_schedule.py index 99d2657e184..fad790c5fc2 100644 --- a/tests/api_resources/speed/test_schedule.py +++ b/tests/api_resources/speed/test_schedule.py @@ -17,7 +17,6 @@ class TestSchedule: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: schedule = client.speed.schedule.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: schedule = client.speed.schedule.create( @@ -36,7 +34,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.speed.schedule.with_raw_response.create( @@ -49,7 +46,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: schedule = response.parse() assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.speed.schedule.with_streaming_response.create( @@ -64,7 +60,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -83,7 +78,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncSchedule: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.speed.schedule.create( @@ -92,7 +86,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.speed.schedule.create( @@ -102,7 +95,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.schedule.with_raw_response.create( @@ -115,7 +107,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: schedule = await response.parse() assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.schedule.with_streaming_response.create( @@ -130,7 +121,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/speed/test_tests.py b/tests/api_resources/speed/test_tests.py index fc85d909d50..1bc60889e66 100644 --- a/tests/api_resources/speed/test_tests.py +++ b/tests/api_resources/speed/test_tests.py @@ -21,7 +21,6 @@ class TestTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: test = client.speed.tests.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: test = client.speed.tests.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.speed.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() @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 ''"): @@ -83,7 +78,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: test = client.speed.tests.list( @@ -92,7 +86,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: test = client.speed.tests.list( @@ -104,7 +97,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.list( @@ -117,7 +109,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.speed.tests.with_streaming_response.list( @@ -132,7 +123,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -147,7 +137,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: test = client.speed.tests.delete( @@ -156,7 +145,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: test = client.speed.tests.delete( @@ -166,7 +154,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.delete( @@ -179,7 +166,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.speed.tests.with_streaming_response.delete( @@ -194,7 +180,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -209,7 +194,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: test = client.speed.tests.get( @@ -219,7 +203,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.get( @@ -233,7 +216,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.speed.tests.with_streaming_response.get( @@ -249,7 +231,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -277,7 +258,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.create( @@ -286,7 +266,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.create( @@ -296,7 +275,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.create( @@ -309,7 +287,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.create( @@ -324,7 +301,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -339,7 +315,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.list( @@ -348,7 +323,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.list( @@ -360,7 +334,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.list( @@ -373,7 +346,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.list( @@ -388,7 +360,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -403,7 +374,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.delete( @@ -412,7 +382,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.delete( @@ -422,7 +391,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.delete( @@ -435,7 +403,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.delete( @@ -450,7 +417,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -465,7 +431,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.get( @@ -475,7 +440,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.get( @@ -489,7 +453,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(Optional[Test], test, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.get( @@ -505,7 +468,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/ssl/certificate_packs/test_order.py b/tests/api_resources/ssl/certificate_packs/test_order.py index 5ad50e00c71..6d8da28d48c 100644 --- a/tests/api_resources/ssl/certificate_packs/test_order.py +++ b/tests/api_resources/ssl/certificate_packs/test_order.py @@ -17,7 +17,6 @@ class TestOrder: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: order = client.ssl.certificate_packs.order.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(OrderCreateResponse, order, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: order = client.ssl.certificate_packs.order.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OrderCreateResponse, order, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.order.with_raw_response.create( @@ -61,7 +58,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: order = response.parse() assert_matches_type(OrderCreateResponse, order, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.order.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() @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 ''"): @@ -97,7 +92,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncOrder: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: order = await async_client.ssl.certificate_packs.order.create( @@ -110,7 +104,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OrderCreateResponse, order, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: order = await async_client.ssl.certificate_packs.order.create( @@ -124,7 +117,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(OrderCreateResponse, order, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.order.with_raw_response.create( @@ -141,7 +133,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: order = await response.parse() assert_matches_type(OrderCreateResponse, order, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.order.with_streaming_response.create( @@ -160,7 +151,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/ssl/certificate_packs/test_quota.py b/tests/api_resources/ssl/certificate_packs/test_quota.py index 22d983db7f1..9417d537564 100644 --- a/tests/api_resources/ssl/certificate_packs/test_quota.py +++ b/tests/api_resources/ssl/certificate_packs/test_quota.py @@ -17,7 +17,6 @@ class TestQuota: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: quota = client.ssl.certificate_packs.quota.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(QuotaGetResponse, quota, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.quota.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: quota = response.parse() assert_matches_type(QuotaGetResponse, quota, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.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() @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 TestAsyncQuota: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: quota = await async_client.ssl.certificate_packs.quota.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(QuotaGetResponse, quota, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.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(QuotaGetResponse, quota, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.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() @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/ssl/test_analyze.py b/tests/api_resources/ssl/test_analyze.py index ce96ca2df0c..f037c193eb4 100644 --- a/tests/api_resources/ssl/test_analyze.py +++ b/tests/api_resources/ssl/test_analyze.py @@ -17,7 +17,6 @@ class TestAnalyze: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: analyze = client.ssl.analyze.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: analyze = client.ssl.analyze.create( @@ -35,7 +33,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.ssl.analyze.with_raw_response.create( @@ -47,7 +44,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: analyze = response.parse() assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.ssl.analyze.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() @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 ''"): @@ -73,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncAnalyze: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: analyze = await async_client.ssl.analyze.create( @@ -81,7 +75,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: analyze = await async_client.ssl.analyze.create( @@ -91,7 +84,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.analyze.with_raw_response.create( @@ -103,7 +95,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: analyze = await response.parse() assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.analyze.with_streaming_response.create( @@ -117,7 +108,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/ssl/test_certificate_packs.py b/tests/api_resources/ssl/test_certificate_packs.py index 5ec70db0e38..4d41a5b3de2 100644 --- a/tests/api_resources/ssl/test_certificate_packs.py +++ b/tests/api_resources/ssl/test_certificate_packs.py @@ -22,7 +22,6 @@ class TestCertificatePacks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.list( @@ -30,7 +29,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.list( @@ -39,7 +37,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.list( @@ -51,7 +48,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(SyncSinglePage[object], certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.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() @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 ''"): @@ -73,7 +68,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.delete( @@ -82,7 +76,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.delete( @@ -95,7 +88,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.with_streaming_response.delete( @@ -110,7 +102,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -125,7 +116,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.edit( @@ -135,7 +125,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.edit( @@ -149,7 +138,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.with_streaming_response.edit( @@ -165,7 +153,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -182,7 +169,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.get( @@ -191,7 +177,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.get( @@ -204,7 +189,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.with_streaming_response.get( @@ -219,7 +203,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -238,7 +221,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCertificatePacks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.list( @@ -246,7 +228,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[object], certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.list( @@ -255,7 +236,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[object], certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.list( @@ -267,7 +247,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(AsyncSinglePage[object], certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.list( @@ -281,7 +260,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -289,7 +267,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.delete( @@ -298,7 +275,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.delete( @@ -311,7 +287,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.delete( @@ -326,7 +301,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -341,7 +315,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.edit( @@ -351,7 +324,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.edit( @@ -365,7 +337,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.edit( @@ -381,7 +352,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -398,7 +368,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.get( @@ -407,7 +376,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.get( @@ -420,7 +388,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.get( @@ -435,7 +402,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/ssl/test_recommendations.py b/tests/api_resources/ssl/test_recommendations.py index 31e42e5ed46..25c8c9c2841 100644 --- a/tests/api_resources/ssl/test_recommendations.py +++ b/tests/api_resources/ssl/test_recommendations.py @@ -17,7 +17,6 @@ class TestRecommendations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: recommendation = client.ssl.recommendations.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.recommendations.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: recommendation = response.parse() assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.recommendations.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRecommendations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: recommendation = await async_client.ssl.recommendations.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.recommendations.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: recommendation = await response.parse() assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.recommendations.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() @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_identifier` but received ''"): diff --git a/tests/api_resources/ssl/test_verification.py b/tests/api_resources/ssl/test_verification.py index e93667109d1..698b6e7ebab 100644 --- a/tests/api_resources/ssl/test_verification.py +++ b/tests/api_resources/ssl/test_verification.py @@ -20,7 +20,6 @@ class TestVerification: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: verification = client.ssl.verification.edit( @@ -30,7 +29,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VerificationEditResponse, verification, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.ssl.verification.with_raw_response.edit( @@ -44,7 +42,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: verification = response.parse() assert_matches_type(VerificationEditResponse, verification, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.ssl.verification.with_streaming_response.edit( @@ -60,7 +57,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -77,7 +73,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: validation_method="txt", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: verification = client.ssl.verification.get( @@ -85,7 +80,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: verification = client.ssl.verification.get( @@ -94,7 +88,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.verification.with_raw_response.get( @@ -106,7 +99,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: verification = response.parse() assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.verification.with_streaming_response.get( @@ -120,7 +112,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -132,7 +123,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVerification: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: verification = await async_client.ssl.verification.edit( @@ -142,7 +132,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VerificationEditResponse, verification, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.verification.with_raw_response.edit( @@ -156,7 +145,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: verification = await response.parse() assert_matches_type(VerificationEditResponse, verification, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.verification.with_streaming_response.edit( @@ -172,7 +160,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -189,7 +176,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: validation_method="txt", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: verification = await async_client.ssl.verification.get( @@ -197,7 +183,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: verification = await async_client.ssl.verification.get( @@ -206,7 +191,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.verification.with_raw_response.get( @@ -218,7 +202,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: verification = await response.parse() assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.verification.with_streaming_response.get( @@ -232,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() @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/ssl/universal/test_settings.py b/tests/api_resources/ssl/universal/test_settings.py index 027e556f715..e31b8cfe0ee 100644 --- a/tests/api_resources/ssl/universal/test_settings.py +++ b/tests/api_resources/ssl/universal/test_settings.py @@ -17,7 +17,6 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.ssl.universal.settings.edit( @@ -25,7 +24,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.ssl.universal.settings.edit( @@ -34,7 +32,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.ssl.universal.settings.with_raw_response.edit( @@ -46,7 +43,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.ssl.universal.settings.with_streaming_response.edit( @@ -60,7 +56,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -68,7 +63,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.ssl.universal.settings.get( @@ -76,7 +70,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.universal.settings.with_raw_response.get( @@ -88,7 +81,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.universal.settings.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() @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 ''"): @@ -114,7 +105,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() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.ssl.universal.settings.edit( @@ -122,7 +112,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.ssl.universal.settings.edit( @@ -131,7 +120,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.universal.settings.with_raw_response.edit( @@ -143,7 +131,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.universal.settings.with_streaming_response.edit( @@ -157,7 +144,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -165,7 +151,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.ssl.universal.settings.get( @@ -173,7 +158,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.universal.settings.with_raw_response.get( @@ -185,7 +169,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.universal.settings.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() @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/storage/test_analytics.py b/tests/api_resources/storage/test_analytics.py index 0a6e3064dcf..bd9e182261e 100644 --- a/tests/api_resources/storage/test_analytics.py +++ b/tests/api_resources/storage/test_analytics.py @@ -18,7 +18,6 @@ class TestAnalytics: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: analytics = client.storage.analytics.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Schema, analytics, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: analytics = client.storage.analytics.list( @@ -43,7 +41,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Schema, analytics, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.storage.analytics.with_raw_response.list( @@ -55,7 +52,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: analytics = response.parse() assert_matches_type(Schema, analytics, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.storage.analytics.with_streaming_response.list( @@ -69,7 +65,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_stored(self, client: Cloudflare) -> None: analytics = client.storage.analytics.stored( @@ -85,7 +79,6 @@ def test_method_stored(self, client: Cloudflare) -> None: ) assert_matches_type(Components, analytics, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_stored_with_all_params(self, client: Cloudflare) -> None: analytics = client.storage.analytics.stored( @@ -102,7 +95,6 @@ def test_method_stored_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Components, analytics, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_stored(self, client: Cloudflare) -> None: response = client.storage.analytics.with_raw_response.stored( @@ -114,7 +106,6 @@ def test_raw_response_stored(self, client: Cloudflare) -> None: analytics = response.parse() assert_matches_type(Components, analytics, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_stored(self, client: Cloudflare) -> None: with client.storage.analytics.with_streaming_response.stored( @@ -128,7 +119,6 @@ def test_streaming_response_stored(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_stored(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -140,7 +130,6 @@ def test_path_params_stored(self, client: Cloudflare) -> None: class TestAsyncAnalytics: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.list( @@ -148,7 +137,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Schema, analytics, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.list( @@ -165,7 +153,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Schema, analytics, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.storage.analytics.with_raw_response.list( @@ -177,7 +164,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: analytics = await response.parse() assert_matches_type(Schema, analytics, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.storage.analytics.with_streaming_response.list( @@ -191,7 +177,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -199,7 +184,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_stored(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.stored( @@ -207,7 +191,6 @@ async def test_method_stored(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Components, analytics, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_stored_with_all_params(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.stored( @@ -224,7 +207,6 @@ async def test_method_stored_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Components, analytics, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_stored(self, async_client: AsyncCloudflare) -> None: response = await async_client.storage.analytics.with_raw_response.stored( @@ -236,7 +218,6 @@ async def test_raw_response_stored(self, async_client: AsyncCloudflare) -> None: analytics = await response.parse() assert_matches_type(Components, analytics, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_stored(self, async_client: AsyncCloudflare) -> None: async with async_client.storage.analytics.with_streaming_response.stored( @@ -250,7 +231,6 @@ async def test_streaming_response_stored(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_stored(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/stream/captions/language/test_vtt.py b/tests/api_resources/stream/captions/language/test_vtt.py index aeb7c403fee..64b2a97f352 100644 --- a/tests/api_resources/stream/captions/language/test_vtt.py +++ b/tests/api_resources/stream/captions/language/test_vtt.py @@ -16,7 +16,6 @@ class TestVtt: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: vtt = client.stream.captions.language.vtt.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, vtt, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.captions.language.vtt.with_raw_response.get( @@ -40,7 +38,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: vtt = response.parse() assert_matches_type(str, vtt, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.captions.language.vtt.with_streaming_response.get( @@ -56,7 +53,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -84,7 +80,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVtt: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: vtt = await async_client.stream.captions.language.vtt.get( @@ -94,7 +89,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, vtt, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.vtt.with_raw_response.get( @@ -108,7 +102,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: vtt = await response.parse() assert_matches_type(str, vtt, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.vtt.with_streaming_response.get( @@ -124,7 +117,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/captions/test_language.py b/tests/api_resources/stream/captions/test_language.py index 8d963db1808..15caab5410b 100644 --- a/tests/api_resources/stream/captions/test_language.py +++ b/tests/api_resources/stream/captions/test_language.py @@ -17,7 +17,7 @@ class TestLanguage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: language = client.stream.captions.language.update( @@ -28,7 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.captions.language.with_raw_response.update( @@ -43,7 +43,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: language = response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.captions.language.with_streaming_response.update( @@ -60,7 +60,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -87,7 +87,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: file="@/Users/kyle/Desktop/tr.vtt", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: language = client.stream.captions.language.delete( @@ -97,7 +96,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(str, language, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.captions.language.with_raw_response.delete( @@ -111,7 +109,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: language = response.parse() assert_matches_type(str, language, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.captions.language.with_streaming_response.delete( @@ -127,7 +124,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -151,7 +147,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: language = client.stream.captions.language.get( @@ -161,7 +156,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.captions.language.with_raw_response.get( @@ -175,7 +169,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: language = response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.captions.language.with_streaming_response.get( @@ -191,7 +184,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -219,7 +211,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLanguage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: language = await async_client.stream.captions.language.update( @@ -230,7 +222,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.with_raw_response.update( @@ -245,7 +237,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: language = await response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.with_streaming_response.update( @@ -262,7 +254,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -289,7 +281,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: file="@/Users/kyle/Desktop/tr.vtt", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: language = await async_client.stream.captions.language.delete( @@ -299,7 +290,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, language, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.with_raw_response.delete( @@ -313,7 +303,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: language = await response.parse() assert_matches_type(str, language, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.with_streaming_response.delete( @@ -329,7 +318,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -353,7 +341,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: language = await async_client.stream.captions.language.get( @@ -363,7 +350,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.with_raw_response.get( @@ -377,7 +363,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: language = await response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.with_streaming_response.get( @@ -393,7 +378,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/live_inputs/test_outputs.py b/tests/api_resources/stream/live_inputs/test_outputs.py index e0e594c8e75..b20c437529f 100644 --- a/tests/api_resources/stream/live_inputs/test_outputs.py +++ b/tests/api_resources/stream/live_inputs/test_outputs.py @@ -18,7 +18,6 @@ class TestOutputs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: output = response.parse() assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.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() @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: url="rtmp://a.rtmp.youtube.com/live2", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.update( @@ -103,7 +97,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.update( @@ -118,7 +111,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: output = response.parse() assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.with_streaming_response.update( @@ -135,7 +127,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -162,7 +153,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: enabled=True, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.list( @@ -171,7 +161,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.list( @@ -184,7 +173,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: output = response.parse() assert_matches_type(SyncSinglePage[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.with_streaming_response.list( @@ -199,7 +187,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +201,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.delete( @@ -224,7 +210,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert output is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.delete( @@ -238,7 +223,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: output = response.parse() assert output is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.with_streaming_response.delete( @@ -254,7 +238,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -282,7 +265,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncOutputs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.create( @@ -293,7 +275,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.create( @@ -305,7 +286,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.create( @@ -320,7 +300,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.create( @@ -337,7 +316,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -356,7 +334,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: url="rtmp://a.rtmp.youtube.com/live2", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.update( @@ -367,7 +344,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.update( @@ -382,7 +358,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert_matches_type(Optional[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.update( @@ -399,7 +374,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -426,7 +400,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: enabled=True, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.list( @@ -435,7 +408,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.list( @@ -448,7 +420,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert_matches_type(AsyncSinglePage[Output], output, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.list( @@ -463,7 +434,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -478,7 +448,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.delete( @@ -488,7 +457,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert output is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.delete( @@ -502,7 +470,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert output is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.delete( @@ -518,7 +485,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/stream/test_audio_tracks.py b/tests/api_resources/stream/test_audio_tracks.py index 71756af4ca3..b1af748dc56 100644 --- a/tests/api_resources/stream/test_audio_tracks.py +++ b/tests/api_resources/stream/test_audio_tracks.py @@ -21,7 +21,6 @@ class TestAudioTracks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.delete( @@ -31,7 +30,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.delete( @@ -45,7 +43,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.delete( @@ -61,7 +58,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -85,7 +81,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) - @pytest.mark.skip() @parametrize def test_method_copy(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.copy( @@ -95,7 +90,6 @@ def test_method_copy(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_copy_with_all_params(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.copy( @@ -106,7 +100,6 @@ def test_method_copy_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_copy(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.copy( @@ -120,7 +113,6 @@ def test_raw_response_copy(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_copy(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.copy( @@ -136,7 +128,6 @@ def test_streaming_response_copy(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_copy(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -153,7 +144,6 @@ def test_path_params_copy(self, client: Cloudflare) -> None: label="director commentary", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.edit( @@ -163,7 +153,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.edit( @@ -175,7 +164,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.edit( @@ -189,7 +177,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.edit( @@ -205,7 +192,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -229,7 +215,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.get( @@ -238,7 +223,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.get( @@ -251,7 +235,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.get( @@ -266,7 +249,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +267,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAudioTracks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.delete( @@ -295,7 +276,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.delete( @@ -309,7 +289,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.delete( @@ -325,7 +304,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -349,7 +327,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) - @pytest.mark.skip() @parametrize async def test_method_copy(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.copy( @@ -359,7 +336,6 @@ async def test_method_copy(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_copy_with_all_params(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.copy( @@ -370,7 +346,6 @@ async def test_method_copy_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_copy(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.copy( @@ -384,7 +359,6 @@ async def test_raw_response_copy(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_copy(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.copy( @@ -400,7 +374,6 @@ async def test_streaming_response_copy(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_copy(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -417,7 +390,6 @@ async def test_path_params_copy(self, async_client: AsyncCloudflare) -> None: label="director commentary", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.edit( @@ -427,7 +399,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.edit( @@ -439,7 +410,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.edit( @@ -453,7 +423,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.edit( @@ -469,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() @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 ''"): @@ -493,7 +461,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.get( @@ -502,7 +469,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.get( @@ -515,7 +481,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.get( @@ -530,7 +495,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_captions.py b/tests/api_resources/stream/test_captions.py index b2466c27733..4361d07217d 100644 --- a/tests/api_resources/stream/test_captions.py +++ b/tests/api_resources/stream/test_captions.py @@ -17,7 +17,6 @@ class TestCaptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: caption = client.stream.captions.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.captions.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: caption = response.parse() assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.captions.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() @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 TestAsyncCaptions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: caption = await async_client.stream.captions.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: caption = await response.parse() assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.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() @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/stream/test_clip.py b/tests/api_resources/stream/test_clip.py index 3386eec53e7..c0806600820 100644 --- a/tests/api_resources/stream/test_clip.py +++ b/tests/api_resources/stream/test_clip.py @@ -17,7 +17,6 @@ class TestClip: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: clip = client.stream.clip.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Clip], clip, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: clip = client.stream.clip.create( @@ -45,7 +43,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Clip], clip, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.clip.with_raw_response.create( @@ -60,7 +57,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: clip = response.parse() assert_matches_type(Optional[Clip], clip, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.clip.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() @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: class TestAsyncClip: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: clip = await async_client.stream.clip.create( @@ -103,7 +97,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Clip], clip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: clip = await async_client.stream.clip.create( @@ -120,7 +113,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Clip], clip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.clip.with_raw_response.create( @@ -135,7 +127,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: clip = await response.parse() assert_matches_type(Optional[Clip], clip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.clip.with_streaming_response.create( @@ -152,7 +143,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_copy.py b/tests/api_resources/stream/test_copy.py index 03849cde63e..191a1cc36c3 100644 --- a/tests/api_resources/stream/test_copy.py +++ b/tests/api_resources/stream/test_copy.py @@ -18,7 +18,6 @@ class TestCopy: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: copy = client.stream.copy.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Video], copy, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: copy = client.stream.copy.create( @@ -43,7 +41,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Video], copy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.copy.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: copy = response.parse() assert_matches_type(Optional[Video], copy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.copy.with_streaming_response.create( @@ -71,7 +67,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: class TestAsyncCopy: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: copy = await async_client.stream.copy.create( @@ -93,7 +87,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Video], copy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: copy = await async_client.stream.copy.create( @@ -109,7 +102,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Video], copy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.copy.with_raw_response.create( @@ -122,7 +114,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: copy = await response.parse() assert_matches_type(Optional[Video], copy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.copy.with_streaming_response.create( @@ -137,7 +128,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_direct_upload.py b/tests/api_resources/stream/test_direct_upload.py index 88e93522a5a..7115e89cc14 100644 --- a/tests/api_resources/stream/test_direct_upload.py +++ b/tests/api_resources/stream/test_direct_upload.py @@ -18,7 +18,6 @@ class TestDirectUpload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: direct_upload = client.stream.direct_upload.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: direct_upload = client.stream.direct_upload.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.direct_upload.with_raw_response.create( @@ -57,7 +54,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: direct_upload = response.parse() assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.direct_upload.with_streaming_response.create( @@ -72,7 +68,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -85,7 +80,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncDirectUpload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.stream.direct_upload.create( @@ -94,7 +88,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.stream.direct_upload.create( @@ -111,7 +104,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.direct_upload.with_raw_response.create( @@ -124,7 +116,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await response.parse() assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.direct_upload.with_streaming_response.create( @@ -139,7 +130,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_downloads.py b/tests/api_resources/stream/test_downloads.py index b5fda9a4b9d..2940e0ff0d6 100644 --- a/tests/api_resources/stream/test_downloads.py +++ b/tests/api_resources/stream/test_downloads.py @@ -21,7 +21,6 @@ class TestDownloads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: download = client.stream.downloads.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.downloads.with_raw_response.create( @@ -45,7 +43,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.downloads.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() @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() @parametrize def test_method_delete(self, client: Cloudflare) -> None: download = client.stream.downloads.delete( @@ -87,7 +82,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.downloads.with_raw_response.delete( @@ -100,7 +94,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.downloads.with_streaming_response.delete( @@ -115,7 +108,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +122,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: download = client.stream.downloads.get( @@ -139,7 +130,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.downloads.with_raw_response.get( @@ -152,7 +142,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.downloads.with_streaming_response.get( @@ -167,7 +156,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +174,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: download = await async_client.stream.downloads.create( @@ -196,7 +183,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.downloads.with_raw_response.create( @@ -210,7 +196,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.downloads.with_streaming_response.create( @@ -226,7 +211,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +227,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: download = await async_client.stream.downloads.delete( @@ -252,7 +235,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.downloads.with_raw_response.delete( @@ -265,7 +247,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.downloads.with_streaming_response.delete( @@ -280,7 +261,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -295,7 +275,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: download = await async_client.stream.downloads.get( @@ -304,7 +283,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.downloads.with_raw_response.get( @@ -317,7 +295,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.downloads.with_streaming_response.get( @@ -332,7 +309,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_embed.py b/tests/api_resources/stream/test_embed.py index f96c02841a9..1f7066ff514 100644 --- a/tests/api_resources/stream/test_embed.py +++ b/tests/api_resources/stream/test_embed.py @@ -16,7 +16,6 @@ class TestEmbed: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: embed = client.stream.embed.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, embed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.embed.with_raw_response.get( @@ -38,7 +36,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: embed = response.parse() assert_matches_type(str, embed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.embed.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() @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 TestAsyncEmbed: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: embed = await async_client.stream.embed.get( @@ -81,7 +76,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, embed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.embed.with_raw_response.get( @@ -94,7 +88,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: embed = await response.parse() assert_matches_type(str, embed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.embed.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() @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/stream/test_keys.py b/tests/api_resources/stream/test_keys.py index 96c3a61918d..14b7d11cef2 100644 --- a/tests/api_resources/stream/test_keys.py +++ b/tests/api_resources/stream/test_keys.py @@ -17,7 +17,6 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: key = client.stream.keys.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Keys], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.keys.with_raw_response.create( @@ -39,7 +37,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[Keys], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.keys.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() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: key = client.stream.keys.delete( @@ -72,7 +67,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.keys.with_raw_response.delete( @@ -85,7 +79,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.keys.with_streaming_response.delete( @@ -100,7 +93,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -115,7 +107,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: key = client.stream.keys.get( @@ -123,7 +114,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.keys.with_raw_response.get( @@ -135,7 +125,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.keys.with_streaming_response.get( @@ -149,7 +138,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -161,7 +149,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: key = await async_client.stream.keys.create( @@ -170,7 +157,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Keys], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.keys.with_raw_response.create( @@ -183,7 +169,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[Keys], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.keys.with_streaming_response.create( @@ -198,7 +183,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -207,7 +191,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: key = await async_client.stream.keys.delete( @@ -216,7 +199,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.keys.with_raw_response.delete( @@ -229,7 +211,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.keys.with_streaming_response.delete( @@ -244,7 +225,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -259,7 +239,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: key = await async_client.stream.keys.get( @@ -267,7 +246,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.keys.with_raw_response.get( @@ -279,7 +257,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.keys.with_streaming_response.get( @@ -293,7 +270,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_live_inputs.py b/tests/api_resources/stream/test_live_inputs.py index 3ad774f699a..2e2f8f3e4d1 100644 --- a/tests/api_resources/stream/test_live_inputs.py +++ b/tests/api_resources/stream/test_live_inputs.py @@ -20,7 +20,6 @@ class TestLiveInputs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.create( @@ -45,7 +43,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.create( @@ -57,7 +54,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.create( @@ -71,7 +67,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -79,7 +74,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.update( @@ -88,7 +82,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.update( @@ -106,7 +99,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.update( @@ -119,7 +111,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.update( @@ -134,7 +125,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -149,7 +139,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.list( @@ -157,7 +146,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.list( @@ -166,7 +154,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.list( @@ -178,7 +165,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.list( @@ -192,7 +178,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -200,7 +185,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.delete( @@ -209,7 +193,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert live_input is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.delete( @@ -222,7 +205,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: live_input = response.parse() assert live_input is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.delete( @@ -237,7 +219,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +233,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.get( @@ -261,7 +241,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.get( @@ -274,7 +253,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.get( @@ -289,7 +267,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +285,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLiveInputs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.create( @@ -316,7 +292,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.create( @@ -333,7 +308,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.create( @@ -345,7 +319,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.create( @@ -359,7 +332,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -367,7 +339,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.update( @@ -376,7 +347,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.update( @@ -394,7 +364,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.update( @@ -407,7 +376,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.update( @@ -422,7 +390,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -437,7 +404,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.list( @@ -445,7 +411,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.list( @@ -454,7 +419,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.list( @@ -466,7 +430,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.list( @@ -480,7 +443,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -488,7 +450,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.delete( @@ -497,7 +458,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert live_input is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.delete( @@ -510,7 +470,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert live_input is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.delete( @@ -525,7 +484,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -540,7 +498,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.get( @@ -549,7 +506,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.get( @@ -562,7 +518,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.get( @@ -577,7 +532,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_token.py b/tests/api_resources/stream/test_token.py index 4fea7d3ac62..0d94826e27c 100644 --- a/tests/api_resources/stream/test_token.py +++ b/tests/api_resources/stream/test_token.py @@ -17,7 +17,6 @@ class TestToken: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: token = client.stream.token.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: token = client.stream.token.create( @@ -60,7 +58,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.token.with_raw_response.create( @@ -73,7 +70,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.token.with_streaming_response.create( @@ -88,7 +84,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -107,7 +102,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncToken: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: token = await async_client.stream.token.create( @@ -116,7 +110,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.stream.token.create( @@ -150,7 +143,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.token.with_raw_response.create( @@ -163,7 +155,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.token.with_streaming_response.create( @@ -178,7 +169,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_videos.py b/tests/api_resources/stream/test_videos.py index d3558da187c..c0ee01a60ff 100644 --- a/tests/api_resources/stream/test_videos.py +++ b/tests/api_resources/stream/test_videos.py @@ -17,7 +17,6 @@ class TestVideos: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_storage_usage(self, client: Cloudflare) -> None: video = client.stream.videos.storage_usage( @@ -25,7 +24,6 @@ def test_method_storage_usage(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_storage_usage_with_all_params(self, client: Cloudflare) -> None: video = client.stream.videos.storage_usage( @@ -34,7 +32,6 @@ def test_method_storage_usage_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_storage_usage(self, client: Cloudflare) -> None: response = client.stream.videos.with_raw_response.storage_usage( @@ -46,7 +43,6 @@ def test_raw_response_storage_usage(self, client: Cloudflare) -> None: video = response.parse() assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_storage_usage(self, client: Cloudflare) -> None: with client.stream.videos.with_streaming_response.storage_usage( @@ -60,7 +56,6 @@ def test_streaming_response_storage_usage(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_storage_usage(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_storage_usage(self, client: Cloudflare) -> None: class TestAsyncVideos: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_storage_usage(self, async_client: AsyncCloudflare) -> None: video = await async_client.stream.videos.storage_usage( @@ -80,7 +74,6 @@ async def test_method_storage_usage(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_storage_usage_with_all_params(self, async_client: AsyncCloudflare) -> None: video = await async_client.stream.videos.storage_usage( @@ -89,7 +82,6 @@ async def test_method_storage_usage_with_all_params(self, async_client: AsyncClo ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_storage_usage(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.videos.with_raw_response.storage_usage( @@ -101,7 +93,6 @@ async def test_raw_response_storage_usage(self, async_client: AsyncCloudflare) - video = await response.parse() assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_storage_usage(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.videos.with_streaming_response.storage_usage( @@ -115,7 +106,6 @@ async def test_streaming_response_storage_usage(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_storage_usage(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/stream/test_watermarks.py b/tests/api_resources/stream/test_watermarks.py index 32d4360311f..78838fa8e9a 100644 --- a/tests/api_resources/stream/test_watermarks.py +++ b/tests/api_resources/stream/test_watermarks.py @@ -18,7 +18,7 @@ class TestWatermarks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.create( @@ -41,7 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.create( @@ -54,7 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.create( @@ -69,7 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +78,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: file="@/Users/rchen/Downloads/watermark.png", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.list( @@ -86,7 +85,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.list( @@ -98,7 +96,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(SyncSinglePage[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.list( @@ -112,7 +109,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -120,7 +116,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.delete( @@ -129,7 +124,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.delete( @@ -142,7 +136,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.delete( @@ -157,7 +150,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -172,7 +164,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.get( @@ -181,7 +172,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.get( @@ -194,7 +184,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.get( @@ -209,7 +198,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -228,7 +216,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWatermarks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.create( @@ -237,7 +225,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.create( @@ -251,7 +239,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.create( @@ -264,7 +252,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.create( @@ -279,7 +267,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -288,7 +276,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: file="@/Users/rchen/Downloads/watermark.png", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.list( @@ -296,7 +283,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.list( @@ -308,7 +294,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(AsyncSinglePage[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.list( @@ -322,7 +307,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -330,7 +314,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.delete( @@ -339,7 +322,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.delete( @@ -352,7 +334,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.delete( @@ -367,7 +348,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -382,7 +362,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.get( @@ -391,7 +370,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.get( @@ -404,7 +382,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.get( @@ -419,7 +396,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/stream/test_webhooks.py b/tests/api_resources/stream/test_webhooks.py index a31c03111a4..c6d1fb2222f 100644 --- a/tests/api_resources/stream/test_webhooks.py +++ b/tests/api_resources/stream/test_webhooks.py @@ -21,7 +21,6 @@ class TestWebhooks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: webhook = client.stream.webhooks.update( @@ -30,7 +29,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.webhooks.with_raw_response.update( @@ -43,7 +41,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.webhooks.with_streaming_response.update( @@ -58,7 +55,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -67,7 +63,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: notification_url="https://example.com", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: webhook = client.stream.webhooks.delete( @@ -75,7 +70,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.webhooks.with_raw_response.delete( @@ -87,7 +81,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.webhooks.with_streaming_response.delete( @@ -101,7 +94,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: webhook = client.stream.webhooks.get( @@ -117,7 +108,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.webhooks.with_raw_response.get( @@ -129,7 +119,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.webhooks.with_streaming_response.get( @@ -143,7 +132,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebhooks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.stream.webhooks.update( @@ -164,7 +151,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.webhooks.with_raw_response.update( @@ -177,7 +163,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.webhooks.with_streaming_response.update( @@ -192,7 +177,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -201,7 +185,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: notification_url="https://example.com", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.stream.webhooks.delete( @@ -209,7 +192,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.webhooks.with_raw_response.delete( @@ -221,7 +203,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.webhooks.with_streaming_response.delete( @@ -235,7 +216,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +223,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.stream.webhooks.get( @@ -251,7 +230,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.webhooks.with_raw_response.get( @@ -263,7 +241,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.webhooks.with_streaming_response.get( @@ -277,7 +254,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_accounts.py b/tests/api_resources/test_accounts.py index c7b2f9d72ae..19d397230d3 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -21,7 +21,6 @@ class TestAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: account = client.accounts.update( @@ -30,7 +29,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: account = client.accounts.update( @@ -44,7 +42,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.accounts.with_raw_response.update( @@ -57,7 +54,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(AccountUpdateResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.accounts.with_streaming_response.update( @@ -72,13 +68,11 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: account = client.accounts.list() assert_matches_type(SyncV4PagePaginationArray[object], account, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: account = client.accounts.list( @@ -89,7 +83,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], account, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.accounts.with_raw_response.list() @@ -99,7 +92,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], account, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.accounts.with_streaming_response.list() as response: @@ -111,7 +103,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: account = client.accounts.get( @@ -119,7 +110,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AccountGetResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.accounts.with_raw_response.get( @@ -131,7 +121,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(AccountGetResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.accounts.with_streaming_response.get( @@ -149,7 +138,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncAccounts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.update( @@ -158,7 +146,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.update( @@ -172,7 +159,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.with_raw_response.update( @@ -185,7 +171,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(AccountUpdateResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.with_streaming_response.update( @@ -200,13 +185,11 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.list() assert_matches_type(AsyncV4PagePaginationArray[object], account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.list( @@ -217,7 +200,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.with_raw_response.list() @@ -227,7 +209,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.with_streaming_response.list() as response: @@ -239,7 +220,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.get( @@ -247,7 +227,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccountGetResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.with_raw_response.get( @@ -259,7 +238,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(AccountGetResponse, account, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.with_streaming_response.get( diff --git a/tests/api_resources/test_audit_logs.py b/tests/api_resources/test_audit_logs.py index 1e5562aa2f7..3fec9ccbe53 100644 --- a/tests/api_resources/test_audit_logs.py +++ b/tests/api_resources/test_audit_logs.py @@ -19,7 +19,6 @@ class TestAuditLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: audit_log = client.audit_logs.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: audit_log = client.audit_logs.list( @@ -49,7 +47,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.audit_logs.with_raw_response.list( @@ -61,7 +58,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: audit_log = response.parse() assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.audit_logs.with_streaming_response.list( @@ -75,7 +71,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAuditLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.audit_logs.list( @@ -95,7 +89,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.audit_logs.list( @@ -117,7 +110,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.audit_logs.with_raw_response.list( @@ -129,7 +121,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: audit_log = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.audit_logs.with_streaming_response.list( @@ -143,7 +134,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_bot_management.py b/tests/api_resources/test_bot_management.py index fd585293649..5b9d258bd81 100644 --- a/tests/api_resources/test_bot_management.py +++ b/tests/api_resources/test_bot_management.py @@ -20,7 +20,6 @@ class TestBotManagement: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -28,7 +27,6 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -38,7 +36,6 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -50,7 +47,6 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -64,7 +60,6 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(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_overload_1(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -80,7 +74,6 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -93,7 +86,6 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -105,7 +97,6 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -119,7 +110,6 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -127,7 +117,6 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -135,7 +124,6 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -149,7 +137,6 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -161,7 +148,6 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -175,7 +161,6 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -183,7 +168,6 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -191,7 +175,6 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -202,7 +185,6 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -214,7 +196,6 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -228,7 +209,6 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -236,7 +216,6 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bot_management = client.bot_management.get( @@ -244,7 +223,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BotManagementGetResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.get( @@ -256,7 +234,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(Optional[BotManagementGetResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.get( @@ -270,7 +247,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -282,7 +258,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBotManagement: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -290,7 +265,6 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -300,7 +274,6 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -312,7 +285,6 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -326,7 +298,6 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 `zone_id` but received ''"): @@ -334,7 +305,6 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -342,7 +312,6 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -355,7 +324,6 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -367,7 +335,6 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -381,7 +348,6 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 `zone_id` but received ''"): @@ -389,7 +355,6 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -397,7 +362,6 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -411,7 +375,6 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -423,7 +386,6 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -437,7 +399,6 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 `zone_id` but received ''"): @@ -445,7 +406,6 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -453,7 +413,6 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -464,7 +423,6 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -476,7 +434,6 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(Optional[BotManagementUpdateResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -490,7 +447,6 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -498,7 +454,6 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.get( @@ -506,7 +461,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BotManagementGetResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.get( @@ -518,7 +472,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bot_management = await response.parse() assert_matches_type(Optional[BotManagementGetResponse], bot_management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.get( @@ -532,7 +485,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_brand_protection.py b/tests/api_resources/test_brand_protection.py index 61e951f87a5..303dc3a6bd9 100644 --- a/tests/api_resources/test_brand_protection.py +++ b/tests/api_resources/test_brand_protection.py @@ -20,7 +20,6 @@ class TestBrandProtection: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_submit(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.submit( @@ -28,7 +27,6 @@ def test_method_submit(self, client: Cloudflare) -> None: ) assert_matches_type(Submit, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_submit_with_all_params(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.submit( @@ -37,7 +35,6 @@ def test_method_submit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Submit, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_submit(self, client: Cloudflare) -> None: response = client.brand_protection.with_raw_response.submit( @@ -49,7 +46,6 @@ def test_raw_response_submit(self, client: Cloudflare) -> None: brand_protection = response.parse() assert_matches_type(Submit, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_submit(self, client: Cloudflare) -> None: with client.brand_protection.with_streaming_response.submit( @@ -63,7 +59,6 @@ def test_streaming_response_submit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_submit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -71,7 +66,6 @@ def test_path_params_submit(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_url_info(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.url_info( @@ -79,7 +73,6 @@ def test_method_url_info(self, client: Cloudflare) -> None: ) assert_matches_type(Info, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_url_info_with_all_params(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.url_info( @@ -89,7 +82,6 @@ def test_method_url_info_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Info, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_url_info(self, client: Cloudflare) -> None: response = client.brand_protection.with_raw_response.url_info( @@ -101,7 +93,6 @@ def test_raw_response_url_info(self, client: Cloudflare) -> None: brand_protection = response.parse() assert_matches_type(Info, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_url_info(self, client: Cloudflare) -> None: with client.brand_protection.with_streaming_response.url_info( @@ -115,7 +106,6 @@ def test_streaming_response_url_info(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_url_info(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -127,7 +117,6 @@ def test_path_params_url_info(self, client: Cloudflare) -> None: class TestAsyncBrandProtection: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_submit(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.submit( @@ -135,7 +124,6 @@ async def test_method_submit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Submit, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_submit_with_all_params(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.submit( @@ -144,7 +132,6 @@ async def test_method_submit_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Submit, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_submit(self, async_client: AsyncCloudflare) -> None: response = await async_client.brand_protection.with_raw_response.submit( @@ -156,7 +143,6 @@ async def test_raw_response_submit(self, async_client: AsyncCloudflare) -> None: brand_protection = await response.parse() assert_matches_type(Submit, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_submit(self, async_client: AsyncCloudflare) -> None: async with async_client.brand_protection.with_streaming_response.submit( @@ -170,7 +156,6 @@ async def test_streaming_response_submit(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_submit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,7 +163,6 @@ async def test_path_params_submit(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_url_info(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.url_info( @@ -186,7 +170,6 @@ async def test_method_url_info(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Info, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_url_info_with_all_params(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.url_info( @@ -196,7 +179,6 @@ async def test_method_url_info_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(Info, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_url_info(self, async_client: AsyncCloudflare) -> None: response = await async_client.brand_protection.with_raw_response.url_info( @@ -208,7 +190,6 @@ async def test_raw_response_url_info(self, async_client: AsyncCloudflare) -> Non brand_protection = await response.parse() assert_matches_type(Info, brand_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_url_info(self, async_client: AsyncCloudflare) -> None: async with async_client.brand_protection.with_streaming_response.url_info( @@ -222,7 +203,6 @@ async def test_streaming_response_url_info(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_url_info(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/test_cache.py b/tests/api_resources/test_cache.py index c1650d57e93..2c5dd92732e 100644 --- a/tests/api_resources/test_cache.py +++ b/tests/api_resources/test_cache.py @@ -17,7 +17,6 @@ class TestCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_purge_overload_1(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -25,7 +24,6 @@ def test_method_purge_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_1(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -34,7 +32,6 @@ def test_method_purge_with_all_params_overload_1(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_1(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -46,7 +43,6 @@ def test_raw_response_purge_overload_1(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_1(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -60,7 +56,6 @@ def test_streaming_response_purge_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_purge_overload_1(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_purge_overload_1(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_purge_overload_2(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -76,7 +70,6 @@ def test_method_purge_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_2(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -85,7 +78,6 @@ def test_method_purge_with_all_params_overload_2(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_2(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -97,7 +89,6 @@ def test_raw_response_purge_overload_2(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_2(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -111,7 +102,6 @@ def test_streaming_response_purge_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_purge_overload_2(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_purge_overload_2(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_purge_overload_3(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -127,7 +116,6 @@ def test_method_purge_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_3(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -136,7 +124,6 @@ def test_method_purge_with_all_params_overload_3(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_3(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -148,7 +135,6 @@ def test_raw_response_purge_overload_3(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_3(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -162,7 +148,6 @@ def test_streaming_response_purge_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_purge_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -170,7 +155,6 @@ def test_path_params_purge_overload_3(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_purge_overload_4(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -178,7 +162,6 @@ def test_method_purge_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_4(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -187,7 +170,6 @@ def test_method_purge_with_all_params_overload_4(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_4(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -199,7 +181,6 @@ def test_raw_response_purge_overload_4(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_4(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -213,7 +194,6 @@ def test_streaming_response_purge_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_purge_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -221,7 +201,6 @@ def test_path_params_purge_overload_4(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_purge_overload_5(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -229,7 +208,6 @@ def test_method_purge_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_5(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -242,7 +220,6 @@ def test_method_purge_with_all_params_overload_5(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_5(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -254,7 +231,6 @@ def test_raw_response_purge_overload_5(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_5(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -268,7 +244,6 @@ def test_streaming_response_purge_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_purge_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -280,7 +255,6 @@ def test_path_params_purge_overload_5(self, client: Cloudflare) -> None: class TestAsyncCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_purge_overload_1(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -288,7 +262,6 @@ async def test_method_purge_overload_1(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -297,7 +270,6 @@ async def test_method_purge_with_all_params_overload_1(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -309,7 +281,6 @@ async def test_raw_response_purge_overload_1(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -323,7 +294,6 @@ async def test_streaming_response_purge_overload_1(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -331,7 +301,6 @@ async def test_path_params_purge_overload_1(self, async_client: AsyncCloudflare) zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_purge_overload_2(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -339,7 +308,6 @@ async def test_method_purge_overload_2(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -348,7 +316,6 @@ async def test_method_purge_with_all_params_overload_2(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -360,7 +327,6 @@ async def test_raw_response_purge_overload_2(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -374,7 +340,6 @@ async def test_streaming_response_purge_overload_2(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -382,7 +347,6 @@ async def test_path_params_purge_overload_2(self, async_client: AsyncCloudflare) zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_purge_overload_3(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -390,7 +354,6 @@ async def test_method_purge_overload_3(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -399,7 +362,6 @@ async def test_method_purge_with_all_params_overload_3(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -411,7 +373,6 @@ async def test_raw_response_purge_overload_3(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -425,7 +386,6 @@ async def test_streaming_response_purge_overload_3(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -433,7 +393,6 @@ async def test_path_params_purge_overload_3(self, async_client: AsyncCloudflare) zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_purge_overload_4(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -441,7 +400,6 @@ async def test_method_purge_overload_4(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -450,7 +408,6 @@ async def test_method_purge_with_all_params_overload_4(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -462,7 +419,6 @@ async def test_raw_response_purge_overload_4(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -476,7 +432,6 @@ async def test_streaming_response_purge_overload_4(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -484,7 +439,6 @@ async def test_path_params_purge_overload_4(self, async_client: AsyncCloudflare) zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_purge_overload_5(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -492,7 +446,6 @@ async def test_method_purge_overload_5(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -505,7 +458,6 @@ async def test_method_purge_with_all_params_overload_5(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -517,7 +469,6 @@ async def test_raw_response_purge_overload_5(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -531,7 +482,6 @@ async def test_streaming_response_purge_overload_5(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_5(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/test_calls.py b/tests/api_resources/test_calls.py index 1198441de22..09dab34806b 100644 --- a/tests/api_resources/test_calls.py +++ b/tests/api_resources/test_calls.py @@ -18,7 +18,6 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: call = client.calls.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: call = client.calls.create( @@ -35,7 +33,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.create( @@ -47,7 +44,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.calls.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() @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() @parametrize def test_method_update(self, client: Cloudflare) -> None: call = client.calls.update( @@ -78,7 +72,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: call = client.calls.update( @@ -88,7 +81,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.update( @@ -101,7 +93,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.update( @@ -116,7 +107,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -131,7 +121,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: call = client.calls.list( @@ -139,7 +128,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.list( @@ -151,7 +139,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(SyncSinglePage[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.list( @@ -165,7 +152,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -173,7 +159,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: call = client.calls.delete( @@ -182,7 +167,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.delete( @@ -195,7 +179,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.delete( @@ -210,7 +193,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -225,7 +207,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: call = client.calls.get( @@ -234,7 +215,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.get( @@ -247,7 +227,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.get( @@ -262,7 +241,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -281,7 +259,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCalls: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.create( @@ -289,7 +266,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.create( @@ -298,7 +274,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.create( @@ -310,7 +285,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.create( @@ -324,7 +298,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -332,7 +305,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.update( @@ -341,7 +313,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.update( @@ -351,7 +322,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.update( @@ -364,7 +334,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.update( @@ -379,7 +348,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -394,7 +362,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.list( @@ -402,7 +369,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.list( @@ -414,7 +380,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(AsyncSinglePage[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.list( @@ -428,7 +393,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -436,7 +400,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.delete( @@ -445,7 +408,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.delete( @@ -458,7 +420,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.delete( @@ -473,7 +434,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -488,7 +448,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.get( @@ -497,7 +456,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.get( @@ -510,7 +468,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.get( @@ -525,7 +482,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_client_certificates.py b/tests/api_resources/test_client_certificates.py index 307a72b3d52..c38007c9f69 100644 --- a/tests/api_resources/test_client_certificates.py +++ b/tests/api_resources/test_client_certificates.py @@ -20,7 +20,6 @@ class TestClientCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.client_certificates.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() @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 ''"): @@ -70,7 +66,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: validity_days=3650, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.list( @@ -78,7 +73,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.list( @@ -91,7 +85,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.list( @@ -103,7 +96,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(SyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.list( @@ -117,7 +109,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -125,7 +116,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.delete( @@ -134,7 +124,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.delete( @@ -147,7 +136,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.delete( @@ -162,7 +150,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -177,7 +164,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.edit( @@ -186,7 +172,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.edit( @@ -199,7 +184,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.edit( @@ -214,7 +198,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -229,7 +212,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.get( @@ -238,7 +220,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.get( @@ -251,7 +232,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.get( @@ -266,7 +246,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -285,7 +264,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncClientCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.create( @@ -295,7 +273,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.create( @@ -309,7 +286,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.create( @@ -325,7 +301,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -335,7 +310,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: validity_days=3650, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.list( @@ -343,7 +317,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.list( @@ -356,7 +329,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.list( @@ -368,7 +340,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.list( @@ -382,7 +353,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -390,7 +360,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.delete( @@ -399,7 +368,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.delete( @@ -412,7 +380,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.delete( @@ -427,7 +394,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -442,7 +408,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.edit( @@ -451,7 +416,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.edit( @@ -464,7 +428,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.edit( @@ -479,7 +442,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -494,7 +456,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.get( @@ -503,7 +464,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.get( @@ -516,7 +476,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.get( @@ -531,7 +490,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_custom_certificates.py b/tests/api_resources/test_custom_certificates.py index 3a3cc961288..52955cd8a28 100644 --- a/tests/api_resources/test_custom_certificates.py +++ b/tests/api_resources/test_custom_certificates.py @@ -24,7 +24,6 @@ class TestCustomCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.create( @@ -48,7 +46,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.create( @@ -62,7 +59,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.custom_certificates.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() @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 ''"): @@ -88,7 +83,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.list( @@ -96,7 +90,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.list( @@ -108,7 +101,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.list( @@ -120,7 +112,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(SyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.list( @@ -134,7 +125,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -142,7 +132,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.delete( @@ -151,7 +140,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.delete( @@ -164,7 +152,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.delete( @@ -179,7 +166,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -194,7 +180,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.edit( @@ -203,7 +188,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.edit( @@ -217,7 +201,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.edit( @@ -230,7 +213,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.edit( @@ -245,7 +227,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -260,7 +241,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.get( @@ -269,7 +249,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.get( @@ -282,7 +261,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.get( @@ -297,7 +275,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -316,7 +293,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.create( @@ -326,7 +302,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.create( @@ -340,7 +315,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.create( @@ -354,7 +328,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.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() @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 ''"): @@ -380,7 +352,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.list( @@ -388,7 +359,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.list( @@ -400,7 +370,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.list( @@ -412,7 +381,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.list( @@ -426,7 +394,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -434,7 +401,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.delete( @@ -443,7 +409,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.delete( @@ -456,7 +421,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.delete( @@ -471,7 +435,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -486,7 +449,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.edit( @@ -495,7 +457,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.edit( @@ -509,7 +470,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.edit( @@ -522,7 +482,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.edit( @@ -537,7 +496,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -552,7 +510,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.get( @@ -561,7 +518,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.get( @@ -574,7 +530,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.get( @@ -589,7 +544,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_custom_hostnames.py b/tests/api_resources/test_custom_hostnames.py index d6a0128de83..5374bc98d27 100644 --- a/tests/api_resources/test_custom_hostnames.py +++ b/tests/api_resources/test_custom_hostnames.py @@ -24,7 +24,6 @@ class TestCustomHostnames: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.create( @@ -60,7 +58,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.create( @@ -74,7 +71,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.create( @@ -90,7 +86,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -100,7 +95,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: ssl={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.list( @@ -108,7 +102,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.list( @@ -123,7 +116,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.list( @@ -135,7 +127,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(SyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.list( @@ -151,7 +142,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -159,7 +149,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.delete( @@ -168,7 +157,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.delete( @@ -181,7 +169,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.delete( @@ -196,7 +183,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -211,7 +197,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.edit( @@ -220,7 +205,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.edit( @@ -248,7 +232,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.edit( @@ -261,7 +244,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.edit( @@ -276,7 +258,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -291,7 +272,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.get( @@ -300,7 +280,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.get( @@ -313,7 +292,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.get( @@ -328,7 +306,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -347,7 +324,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomHostnames: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.create( @@ -357,7 +333,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.create( @@ -383,7 +358,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.create( @@ -397,7 +371,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.create( @@ -413,7 +386,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -423,7 +395,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ssl={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.list( @@ -431,7 +402,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.list( @@ -446,7 +416,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.list( @@ -458,7 +427,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.list( @@ -474,7 +442,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -482,7 +449,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.delete( @@ -491,7 +457,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.delete( @@ -504,7 +469,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.delete( @@ -519,7 +483,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -534,7 +497,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.edit( @@ -543,7 +505,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.edit( @@ -571,7 +532,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.edit( @@ -584,7 +544,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.edit( @@ -599,7 +558,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -614,7 +572,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.get( @@ -623,7 +580,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.get( @@ -636,7 +592,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.get( @@ -651,7 +606,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_custom_nameservers.py b/tests/api_resources/test_custom_nameservers.py index 9a6abe05877..6eb63958355 100644 --- a/tests/api_resources/test_custom_nameservers.py +++ b/tests/api_resources/test_custom_nameservers.py @@ -23,7 +23,6 @@ class TestCustomNameservers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.create( @@ -55,7 +52,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.create( @@ -70,7 +66,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -79,7 +74,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: ns_name="ns1.example.com", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.delete( @@ -88,7 +82,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.delete( @@ -101,7 +94,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.delete( @@ -116,7 +108,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -131,7 +122,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="372e67954025e0ba6aaa6d586b9e0b59", ) - @pytest.mark.skip() @parametrize def test_method_availabilty(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.availabilty( @@ -139,7 +129,6 @@ def test_method_availabilty(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_availabilty(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.availabilty( @@ -151,7 +140,6 @@ def test_raw_response_availabilty(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_availabilty(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.availabilty( @@ -165,7 +153,6 @@ def test_streaming_response_availabilty(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_availabilty(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -173,7 +160,6 @@ def test_path_params_availabilty(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.get( @@ -181,7 +167,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.get( @@ -193,7 +178,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.get( @@ -207,7 +191,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -215,7 +198,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_verify(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.verify( @@ -224,7 +206,6 @@ def test_method_verify(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_verify(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.verify( @@ -237,7 +218,6 @@ def test_raw_response_verify(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_verify(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.verify( @@ -252,7 +232,6 @@ def test_streaming_response_verify(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_verify(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -265,7 +244,6 @@ def test_path_params_verify(self, client: Cloudflare) -> None: class TestAsyncCustomNameservers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.create( @@ -274,7 +252,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.create( @@ -284,7 +261,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.create( @@ -297,7 +273,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.create( @@ -312,7 +287,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -321,7 +295,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ns_name="ns1.example.com", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.delete( @@ -330,7 +303,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.delete( @@ -343,7 +315,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.delete( @@ -358,7 +329,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -373,7 +343,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="372e67954025e0ba6aaa6d586b9e0b59", ) - @pytest.mark.skip() @parametrize async def test_method_availabilty(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.availabilty( @@ -381,7 +350,6 @@ async def test_method_availabilty(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_availabilty(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.availabilty( @@ -393,7 +361,6 @@ async def test_raw_response_availabilty(self, async_client: AsyncCloudflare) -> custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_availabilty(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.availabilty( @@ -407,7 +374,6 @@ async def test_streaming_response_availabilty(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_availabilty(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -415,7 +381,6 @@ async def test_path_params_availabilty(self, async_client: AsyncCloudflare) -> N account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.get( @@ -423,7 +388,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.get( @@ -435,7 +399,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.get( @@ -449,7 +412,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -457,7 +419,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_verify(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.verify( @@ -466,7 +427,6 @@ async def test_method_verify(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.verify( @@ -479,7 +439,6 @@ async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_verify(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.verify( @@ -494,7 +453,6 @@ async def test_streaming_response_verify(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_verify(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/test_dnssec.py b/tests/api_resources/test_dnssec.py index 433f1d05d99..8b083f578d3 100644 --- a/tests/api_resources/test_dnssec.py +++ b/tests/api_resources/test_dnssec.py @@ -17,7 +17,6 @@ class TestDNSSEC: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: dnssec = client.dnssec.delete( @@ -25,7 +24,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSECDeleteResponse], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.dnssec.with_raw_response.delete( @@ -37,7 +35,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dnssec = response.parse() assert_matches_type(Optional[DNSSECDeleteResponse], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.dnssec.with_streaming_response.delete( @@ -51,7 +48,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -59,7 +55,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: dnssec = client.dnssec.edit( @@ -67,7 +62,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: dnssec = client.dnssec.edit( @@ -78,7 +72,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.dnssec.with_raw_response.edit( @@ -90,7 +83,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: dnssec = response.parse() assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.dnssec.with_streaming_response.edit( @@ -104,7 +96,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -112,7 +103,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dnssec = client.dnssec.get( @@ -120,7 +110,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dnssec.with_raw_response.get( @@ -132,7 +121,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dnssec = response.parse() assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dnssec.with_streaming_response.get( @@ -146,7 +134,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -158,7 +145,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDNSSEC: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.delete( @@ -166,7 +152,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSSECDeleteResponse], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.dnssec.with_raw_response.delete( @@ -178,7 +163,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dnssec = await response.parse() assert_matches_type(Optional[DNSSECDeleteResponse], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.dnssec.with_streaming_response.delete( @@ -192,7 +176,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -200,7 +183,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.edit( @@ -208,7 +190,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.edit( @@ -219,7 +200,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.dnssec.with_raw_response.edit( @@ -231,7 +211,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: dnssec = await response.parse() assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.dnssec.with_streaming_response.edit( @@ -245,7 +224,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -253,7 +231,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.get( @@ -261,7 +238,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dnssec.with_raw_response.get( @@ -273,7 +249,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dnssec = await response.parse() assert_matches_type(Optional[DNSSEC], dnssec, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dnssec.with_streaming_response.get( @@ -287,7 +262,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_email_routing.py b/tests/api_resources/test_email_routing.py index 92d55fc3c61..6969f592525 100644 --- a/tests/api_resources/test_email_routing.py +++ b/tests/api_resources/test_email_routing.py @@ -17,7 +17,6 @@ class TestEmailRouting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_disable(self, client: Cloudflare) -> None: email_routing = client.email_routing.disable( @@ -26,7 +25,6 @@ def test_method_disable(self, client: Cloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_disable(self, client: Cloudflare) -> None: response = client.email_routing.with_raw_response.disable( @@ -39,7 +37,6 @@ def test_raw_response_disable(self, client: Cloudflare) -> None: email_routing = response.parse() assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_disable(self, client: Cloudflare) -> None: with client.email_routing.with_streaming_response.disable( @@ -54,7 +51,6 @@ def test_streaming_response_disable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_disable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_disable(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_enable(self, client: Cloudflare) -> None: email_routing = client.email_routing.enable( @@ -72,7 +67,6 @@ def test_method_enable(self, client: Cloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_enable(self, client: Cloudflare) -> None: response = client.email_routing.with_raw_response.enable( @@ -85,7 +79,6 @@ def test_raw_response_enable(self, client: Cloudflare) -> None: email_routing = response.parse() assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_enable(self, client: Cloudflare) -> None: with client.email_routing.with_streaming_response.enable( @@ -100,7 +93,6 @@ def test_streaming_response_enable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_enable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -109,7 +101,6 @@ def test_path_params_enable(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: email_routing = client.email_routing.get( @@ -117,7 +108,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.with_raw_response.get( @@ -129,7 +119,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: email_routing = response.parse() assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.with_streaming_response.get( @@ -143,7 +132,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -155,7 +143,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEmailRouting: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_disable(self, async_client: AsyncCloudflare) -> None: email_routing = await async_client.email_routing.disable( @@ -164,7 +151,6 @@ async def test_method_disable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.with_raw_response.disable( @@ -177,7 +163,6 @@ async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None email_routing = await response.parse() assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_disable(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.with_streaming_response.disable( @@ -192,7 +177,6 @@ async def test_streaming_response_disable(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -201,7 +185,6 @@ async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_enable(self, async_client: AsyncCloudflare) -> None: email_routing = await async_client.email_routing.enable( @@ -210,7 +193,6 @@ async def test_method_enable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.with_raw_response.enable( @@ -223,7 +205,6 @@ async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: email_routing = await response.parse() assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.with_streaming_response.enable( @@ -238,7 +219,6 @@ async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -247,7 +227,6 @@ async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: email_routing = await async_client.email_routing.get( @@ -255,7 +234,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.with_raw_response.get( @@ -267,7 +245,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: email_routing = await response.parse() assert_matches_type(Settings, email_routing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.with_streaming_response.get( @@ -281,7 +258,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/test_filters.py b/tests/api_resources/test_filters.py index d496885c43c..e840ceb5eaa 100644 --- a/tests/api_resources/test_filters.py +++ b/tests/api_resources/test_filters.py @@ -21,7 +21,7 @@ class TestFilters: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: filter = client.filters.create( @@ -30,7 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.create( @@ -43,7 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.create( @@ -58,7 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -67,7 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: filter = client.filters.update( @@ -77,7 +77,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.update( @@ -91,7 +91,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.update( @@ -107,7 +107,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -124,7 +124,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: filter = client.filters.list( @@ -132,7 +131,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: filter = client.filters.list( @@ -147,7 +145,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.list( @@ -159,7 +156,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(SyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.list( @@ -173,7 +169,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -181,7 +176,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: filter = client.filters.delete( @@ -190,7 +184,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.delete( @@ -203,7 +196,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.delete( @@ -218,7 +210,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -233,7 +224,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: filter = client.filters.get( @@ -242,7 +232,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.get( @@ -255,7 +244,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.get( @@ -270,7 +258,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -289,7 +276,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFilters: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.create( @@ -298,7 +285,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.create( @@ -311,7 +298,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.create( @@ -326,7 +313,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -335,7 +322,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.update( @@ -345,7 +332,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.update( @@ -359,7 +346,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.update( @@ -375,7 +362,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -392,7 +379,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.list( @@ -400,7 +386,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.list( @@ -415,7 +400,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.list( @@ -427,7 +411,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.list( @@ -441,7 +424,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -449,7 +431,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.delete( @@ -458,7 +439,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.delete( @@ -471,7 +451,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.delete( @@ -486,7 +465,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -501,7 +479,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.get( @@ -510,7 +487,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.get( @@ -523,7 +499,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.get( @@ -538,7 +513,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/test_healthchecks.py b/tests/api_resources/test_healthchecks.py index 6224ed14635..c01a5247d8b 100644 --- a/tests/api_resources/test_healthchecks.py +++ b/tests/api_resources/test_healthchecks.py @@ -21,7 +21,6 @@ class TestHealthchecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.create( @@ -67,7 +65,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.create( @@ -81,7 +78,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.create( @@ -97,7 +93,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -107,7 +102,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.update( @@ -118,7 +112,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.update( @@ -155,7 +148,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.update( @@ -170,7 +162,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.update( @@ -187,7 +178,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -206,7 +196,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.list( @@ -214,7 +203,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Healthcheck], healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.list( @@ -224,7 +212,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Healthcheck], healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.list( @@ -236,7 +223,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(SyncSinglePage[Healthcheck], healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.list( @@ -250,7 +236,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -258,7 +243,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.delete( @@ -267,7 +251,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.delete( @@ -280,7 +263,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.delete( @@ -295,7 +277,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -310,7 +291,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.edit( @@ -321,7 +301,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.edit( @@ -358,7 +337,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.edit( @@ -373,7 +351,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.edit( @@ -390,7 +367,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -409,7 +385,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.get( @@ -418,7 +393,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.get( @@ -431,7 +405,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.get( @@ -446,7 +419,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -465,7 +437,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHealthchecks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.create( @@ -475,7 +446,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.create( @@ -511,7 +481,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.create( @@ -525,7 +494,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.create( @@ -541,7 +509,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -551,7 +518,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.update( @@ -562,7 +528,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.update( @@ -599,7 +564,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.update( @@ -614,7 +578,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.update( @@ -631,7 +594,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -650,7 +612,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.list( @@ -658,7 +619,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Healthcheck], healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.list( @@ -668,7 +628,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Healthcheck], healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.list( @@ -680,7 +639,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(AsyncSinglePage[Healthcheck], healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.list( @@ -694,7 +652,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -702,7 +659,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.delete( @@ -711,7 +667,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.delete( @@ -724,7 +679,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.delete( @@ -739,7 +693,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -754,7 +707,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.edit( @@ -765,7 +717,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.edit( @@ -802,7 +753,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.edit( @@ -817,7 +767,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.edit( @@ -834,7 +783,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -853,7 +801,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: name="server-1", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.get( @@ -862,7 +809,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.get( @@ -875,7 +821,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.get( @@ -890,7 +835,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_ips.py b/tests/api_resources/test_ips.py index 6d5ecbb730f..165880daa49 100644 --- a/tests/api_resources/test_ips.py +++ b/tests/api_resources/test_ips.py @@ -17,13 +17,11 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ip = client.ips.list() assert_matches_type(Optional[IPListResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ip = client.ips.list( @@ -31,7 +29,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPListResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.ips.with_raw_response.list() @@ -41,7 +38,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Optional[IPListResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.ips.with_streaming_response.list() as response: @@ -57,13 +53,11 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ip = await async_client.ips.list() assert_matches_type(Optional[IPListResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ip = await async_client.ips.list( @@ -71,7 +65,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[IPListResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.ips.with_raw_response.list() @@ -81,7 +74,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Optional[IPListResponse], ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.ips.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_keyless_certificates.py b/tests/api_resources/test_keyless_certificates.py index c98e648ef91..977d2eefb37 100644 --- a/tests/api_resources/test_keyless_certificates.py +++ b/tests/api_resources/test_keyless_certificates.py @@ -21,7 +21,6 @@ class TestKeylessCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.create( @@ -49,7 +47,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.create( @@ -64,7 +61,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.create( @@ -81,7 +77,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -92,7 +87,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: port=24008, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.list( @@ -100,7 +94,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.list( @@ -112,7 +105,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(SyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.list( @@ -126,7 +118,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -134,7 +125,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.delete( @@ -143,7 +133,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.delete( @@ -156,7 +145,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.delete( @@ -171,7 +159,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -188,7 +175,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.edit( @@ -197,7 +183,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.edit( @@ -214,7 +199,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.edit( @@ -227,7 +211,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.edit( @@ -242,7 +225,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -259,7 +241,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.get( @@ -268,7 +249,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.get( @@ -281,7 +261,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.get( @@ -296,7 +275,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -317,7 +295,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncKeylessCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.create( @@ -328,7 +305,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.create( @@ -345,7 +321,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.create( @@ -360,7 +335,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.create( @@ -377,7 +351,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -388,7 +361,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: port=24008, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.list( @@ -396,7 +368,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.list( @@ -408,7 +379,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(AsyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.list( @@ -422,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() @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 ''"): @@ -430,7 +399,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.delete( @@ -439,7 +407,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.delete( @@ -452,7 +419,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.delete( @@ -467,7 +433,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -484,7 +449,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.edit( @@ -493,7 +457,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.edit( @@ -510,7 +473,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.edit( @@ -523,7 +485,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.edit( @@ -538,7 +499,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -555,7 +515,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.get( @@ -564,7 +523,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.get( @@ -577,7 +535,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.get( @@ -592,7 +549,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_load_balancers.py b/tests/api_resources/test_load_balancers.py index 5518c3b3167..bf36879da54 100644 --- a/tests/api_resources/test_load_balancers.py +++ b/tests/api_resources/test_load_balancers.py @@ -21,7 +21,6 @@ class TestLoadBalancers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.create( @@ -36,7 +35,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.create( @@ -266,7 +264,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.create( @@ -285,7 +282,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.create( @@ -306,7 +302,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -321,7 +316,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="www.example.com", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.update( @@ -337,7 +331,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.update( @@ -569,7 +562,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.update( @@ -589,7 +581,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.update( @@ -611,7 +602,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -640,7 +630,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="www.example.com", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.list( @@ -648,7 +637,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[LoadBalancer], load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.list( @@ -660,7 +648,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(SyncSinglePage[LoadBalancer], load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.list( @@ -674,7 +661,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -682,7 +668,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.delete( @@ -691,7 +676,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.delete( @@ -704,7 +688,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.delete( @@ -719,7 +702,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -734,7 +716,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.edit( @@ -743,7 +724,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.edit( @@ -975,7 +955,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.edit( @@ -988,7 +967,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.edit( @@ -1003,7 +981,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -1018,7 +995,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.get( @@ -1027,7 +1003,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.get( @@ -1040,7 +1015,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.get( @@ -1055,7 +1029,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -1074,7 +1047,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLoadBalancers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.create( @@ -1089,7 +1061,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.create( @@ -1319,7 +1290,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.create( @@ -1338,7 +1308,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.create( @@ -1359,7 +1328,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -1374,7 +1342,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="www.example.com", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.update( @@ -1390,7 +1357,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.update( @@ -1622,7 +1588,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.update( @@ -1642,7 +1607,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.update( @@ -1664,7 +1628,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -1693,7 +1656,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="www.example.com", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.list( @@ -1701,7 +1663,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[LoadBalancer], load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.list( @@ -1713,7 +1674,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(AsyncSinglePage[LoadBalancer], load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.list( @@ -1727,7 +1687,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -1735,7 +1694,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.delete( @@ -1744,7 +1702,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.delete( @@ -1757,7 +1714,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.delete( @@ -1772,7 +1728,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -1787,7 +1742,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.edit( @@ -1796,7 +1750,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.edit( @@ -2028,7 +1981,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.edit( @@ -2041,7 +1993,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.edit( @@ -2056,7 +2007,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -2071,7 +2021,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.get( @@ -2080,7 +2029,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.get( @@ -2093,7 +2041,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.get( @@ -2108,7 +2055,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_managed_headers.py b/tests/api_resources/test_managed_headers.py index f84f3910e47..0d994140e6c 100644 --- a/tests/api_resources/test_managed_headers.py +++ b/tests/api_resources/test_managed_headers.py @@ -20,7 +20,6 @@ class TestManagedHeaders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: managed_header = client.managed_headers.list( @@ -28,7 +27,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.managed_headers.with_raw_response.list( @@ -40,7 +38,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: managed_header = response.parse() assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.managed_headers.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() @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 ''"): @@ -62,7 +58,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: managed_header = client.managed_headers.edit( @@ -72,7 +67,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.managed_headers.with_raw_response.edit( @@ -86,7 +80,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: managed_header = response.parse() assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.managed_headers.with_streaming_response.edit( @@ -102,7 +95,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -116,7 +108,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncManagedHeaders: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: managed_header = await async_client.managed_headers.list( @@ -124,7 +115,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.managed_headers.with_raw_response.list( @@ -136,7 +126,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: managed_header = await response.parse() assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.managed_headers.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() @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() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: managed_header = await async_client.managed_headers.edit( @@ -168,7 +155,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.managed_headers.with_raw_response.edit( @@ -182,7 +168,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: managed_header = await response.parse() assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.managed_headers.with_streaming_response.edit( @@ -198,7 +183,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/test_memberships.py b/tests/api_resources/test_memberships.py index ce6ae42982e..c833239e35c 100644 --- a/tests/api_resources/test_memberships.py +++ b/tests/api_resources/test_memberships.py @@ -23,7 +23,6 @@ class TestMemberships: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: membership = client.memberships.update( @@ -32,7 +31,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.update( @@ -45,7 +43,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.update( @@ -60,7 +57,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -69,13 +65,11 @@ def test_path_params_update(self, client: Cloudflare) -> None: status="accepted", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: membership = client.memberships.list() assert_matches_type(SyncV4PagePaginationArray[Membership], membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: membership = client.memberships.list( @@ -89,7 +83,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Membership], membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.list() @@ -99,7 +92,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(SyncV4PagePaginationArray[Membership], membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.list() as response: @@ -111,7 +103,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: membership = client.memberships.delete( @@ -119,7 +110,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.delete( @@ -131,7 +121,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.delete( @@ -145,7 +134,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -153,7 +141,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: membership = client.memberships.get( @@ -161,7 +148,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MembershipGetResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.get( @@ -173,7 +159,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(MembershipGetResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.get( @@ -187,7 +172,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -199,7 +183,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMemberships: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.update( @@ -208,7 +191,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.update( @@ -221,7 +203,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.update( @@ -236,7 +217,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -245,13 +225,11 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: status="accepted", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.list() assert_matches_type(AsyncV4PagePaginationArray[Membership], membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.list( @@ -265,7 +243,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Membership], membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.list() @@ -275,7 +252,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Membership], membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.list() as response: @@ -287,7 +263,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.delete( @@ -295,7 +270,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.delete( @@ -307,7 +281,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.delete( @@ -321,7 +294,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -329,7 +301,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.get( @@ -337,7 +308,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MembershipGetResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.get( @@ -349,7 +319,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(MembershipGetResponse, membership, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.get( @@ -363,7 +332,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): diff --git a/tests/api_resources/test_mtls_certificates.py b/tests/api_resources/test_mtls_certificates.py index e7c3566dc30..cbe7c84c170 100644 --- a/tests/api_resources/test_mtls_certificates.py +++ b/tests/api_resources/test_mtls_certificates.py @@ -21,7 +21,6 @@ class TestMTLSCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.create( @@ -43,7 +41,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.create( @@ -57,7 +54,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.mtls_certificates.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() @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 +78,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: certificates="-----BEGIN CERTIFICATE-----\nMIIDmDCCAoCgAwIBAgIUKTOAZNjcXVZRj4oQt0SHsl1c1vMwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjAgFw0yMjExMjIxNjU5NDdaGA8yMTIyMTAyOTE2NTk0N1owUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMRcORwgJFTdcG/2GKI+cFYiOBNDKjCZUXEOvXWY42BkH9wxiMT869CO+enA1w5pIrXow6kCM1sQspHHaVmJUlotEMJxyoLFfA/8Kt1EKFyobOjuZs2SwyVyJ2sStvQuUQEosULZCNGZEqoH5g6zhMPxaxm7ZLrrsDZ9maNGVqo7EWLWHrZ57Q/5MtTrbxQL+eXjUmJ9K3kS+3uEwMdqR6Z3BluU1ivanpPc1CN2GNhdO0/hSY4YkGEnuLsqJyDd3cIiB1MxuCBJ4ZaqOd2viV1WcP3oU3dxVPm4MWyfYIldMWB14FahScxLhWdRnM9YZ/i9IFcLypXsuz7DjrJPtPUCAwEAAaNmMGQwHQYDVR0OBBYEFP5JzLUawNF+c3AXsYTEWHh7z2czMB8GA1UdIwQYMBaAFP5JzLUawNF+c3AXsYTEWHh7z2czMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEBMA0GCSqGSIb3DQEBCwUAA4IBAQBc+Be7NDhpE09y7hLPZGRPl1cSKBw4RI0XIv6rlbSTFs5EebpTGjhx/whNxwEZhB9HZ7111Oa1YlT8xkI9DshB78mjAHCKBAJ76moK8tkG0aqdYpJ4ZcJTVBB7l98Rvgc7zfTii7WemTy72deBbSeiEtXavm4EF0mWjHhQ5Nxpnp00Bqn5g1x8CyTDypgmugnep+xG+iFzNmTdsz7WI9T/7kDMXqB7M/FPWBORyS98OJqNDswCLF8bIZYwUBEe+bRHFomoShMzaC3tvim7WCb16noDkSTMlfKO4pnvKhpcVdSgwcruATV7y+W+Lvmz2OT/Gui4JhqeoTewsxndhDDE\n-----END CERTIFICATE-----", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.list( @@ -91,7 +85,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.list( @@ -103,7 +96,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(SyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.mtls_certificates.with_streaming_response.list( @@ -117,7 +109,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -125,7 +116,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.delete( @@ -134,7 +124,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.delete( @@ -147,7 +136,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.mtls_certificates.with_streaming_response.delete( @@ -162,7 +150,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -177,7 +164,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.get( @@ -186,7 +172,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.get( @@ -199,7 +184,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.mtls_certificates.with_streaming_response.get( @@ -214,7 +198,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -233,7 +216,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMTLSCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.create( @@ -243,7 +225,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.create( @@ -255,7 +236,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.create( @@ -269,7 +249,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.create( @@ -285,7 +264,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -295,7 +273,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: certificates="-----BEGIN CERTIFICATE-----\nMIIDmDCCAoCgAwIBAgIUKTOAZNjcXVZRj4oQt0SHsl1c1vMwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjAgFw0yMjExMjIxNjU5NDdaGA8yMTIyMTAyOTE2NTk0N1owUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMRcORwgJFTdcG/2GKI+cFYiOBNDKjCZUXEOvXWY42BkH9wxiMT869CO+enA1w5pIrXow6kCM1sQspHHaVmJUlotEMJxyoLFfA/8Kt1EKFyobOjuZs2SwyVyJ2sStvQuUQEosULZCNGZEqoH5g6zhMPxaxm7ZLrrsDZ9maNGVqo7EWLWHrZ57Q/5MtTrbxQL+eXjUmJ9K3kS+3uEwMdqR6Z3BluU1ivanpPc1CN2GNhdO0/hSY4YkGEnuLsqJyDd3cIiB1MxuCBJ4ZaqOd2viV1WcP3oU3dxVPm4MWyfYIldMWB14FahScxLhWdRnM9YZ/i9IFcLypXsuz7DjrJPtPUCAwEAAaNmMGQwHQYDVR0OBBYEFP5JzLUawNF+c3AXsYTEWHh7z2czMB8GA1UdIwQYMBaAFP5JzLUawNF+c3AXsYTEWHh7z2czMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEBMA0GCSqGSIb3DQEBCwUAA4IBAQBc+Be7NDhpE09y7hLPZGRPl1cSKBw4RI0XIv6rlbSTFs5EebpTGjhx/whNxwEZhB9HZ7111Oa1YlT8xkI9DshB78mjAHCKBAJ76moK8tkG0aqdYpJ4ZcJTVBB7l98Rvgc7zfTii7WemTy72deBbSeiEtXavm4EF0mWjHhQ5Nxpnp00Bqn5g1x8CyTDypgmugnep+xG+iFzNmTdsz7WI9T/7kDMXqB7M/FPWBORyS98OJqNDswCLF8bIZYwUBEe+bRHFomoShMzaC3tvim7WCb16noDkSTMlfKO4pnvKhpcVdSgwcruATV7y+W+Lvmz2OT/Gui4JhqeoTewsxndhDDE\n-----END CERTIFICATE-----", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.list( @@ -303,7 +280,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.list( @@ -315,7 +291,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(AsyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.list( @@ -329,7 +304,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -337,7 +311,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.delete( @@ -346,7 +319,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.delete( @@ -359,7 +331,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.delete( @@ -374,7 +345,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -389,7 +359,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.get( @@ -398,7 +367,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.get( @@ -411,7 +379,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.get( @@ -426,7 +393,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_origin_ca_certificates.py b/tests/api_resources/test_origin_ca_certificates.py index 345e4165319..864a00dc0ed 100644 --- a/tests/api_resources/test_origin_ca_certificates.py +++ b/tests/api_resources/test_origin_ca_certificates.py @@ -23,13 +23,11 @@ class TestOriginCACertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.create() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.create() @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.create() as response: @@ -62,13 +58,11 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.list() assert_matches_type(SyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.list( @@ -76,7 +70,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.list() @@ -86,7 +79,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(SyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.list() as response: @@ -98,7 +90,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.delete( @@ -106,7 +97,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.delete( @@ -118,7 +108,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.delete( @@ -132,7 +121,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): @@ -140,7 +128,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.get( @@ -148,7 +135,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.get( @@ -160,7 +146,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.get( @@ -174,7 +159,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): @@ -186,13 +170,11 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginCACertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.create() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.create( @@ -203,7 +185,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.create() @@ -213,7 +194,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.create() as response: @@ -225,13 +205,11 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.list() assert_matches_type(AsyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.list( @@ -239,7 +217,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.list() @@ -249,7 +226,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(AsyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.list() as response: @@ -261,7 +237,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.delete( @@ -269,7 +244,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.delete( @@ -281,7 +255,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.delete( @@ -295,7 +268,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): @@ -303,7 +275,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.get( @@ -311,7 +282,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.get( @@ -323,7 +293,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.get( @@ -337,7 +306,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): diff --git a/tests/api_resources/test_origin_post_quantum_encryption.py b/tests/api_resources/test_origin_post_quantum_encryption.py index 0c73b6de410..7b671649427 100644 --- a/tests/api_resources/test_origin_post_quantum_encryption.py +++ b/tests/api_resources/test_origin_post_quantum_encryption.py @@ -20,7 +20,7 @@ class TestOriginPostQuantumEncryption: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: origin_post_quantum_encryption = client.origin_post_quantum_encryption.update( @@ -31,7 +31,7 @@ def test_method_update(self, client: Cloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.origin_post_quantum_encryption.with_raw_response.update( @@ -46,7 +46,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.origin_post_quantum_encryption.with_streaming_response.update( @@ -63,7 +63,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +72,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: value="preferred", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_post_quantum_encryption = client.origin_post_quantum_encryption.get( @@ -80,7 +80,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_post_quantum_encryption.with_raw_response.get( @@ -92,7 +92,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_post_quantum_encryption = response.parse() assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_post_quantum_encryption.with_streaming_response.get( @@ -108,7 +108,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -120,7 +120,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginPostQuantumEncryption: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: origin_post_quantum_encryption = await async_client.origin_post_quantum_encryption.update( @@ -131,7 +131,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_post_quantum_encryption.with_raw_response.update( @@ -146,7 +146,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_post_quantum_encryption.with_streaming_response.update( @@ -163,7 +163,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -172,7 +172,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: value="preferred", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_post_quantum_encryption = await async_client.origin_post_quantum_encryption.get( @@ -180,7 +180,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_post_quantum_encryption.with_raw_response.get( @@ -192,7 +192,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_post_quantum_encryption = await response.parse() assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_post_quantum_encryption.with_streaming_response.get( @@ -208,7 +208,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/test_origin_tls_client_auth.py b/tests/api_resources/test_origin_tls_client_auth.py index 3ae8e183149..d3a091ec945 100644 --- a/tests/api_resources/test_origin_tls_client_auth.py +++ b/tests/api_resources/test_origin_tls_client_auth.py @@ -23,7 +23,6 @@ class TestOriginTLSClientAuth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.create( @@ -47,7 +45,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.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() @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 ''"): @@ -73,7 +69,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.list( @@ -81,7 +76,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.list( @@ -93,7 +87,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(SyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.with_streaming_response.list( @@ -107,7 +100,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -115,7 +107,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.delete( @@ -124,7 +115,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.delete( @@ -137,7 +127,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.with_streaming_response.delete( @@ -152,7 +141,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -167,7 +155,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.get( @@ -176,7 +163,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.get( @@ -189,7 +175,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.with_streaming_response.get( @@ -204,7 +189,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -223,7 +207,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginTLSClientAuth: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.create( @@ -233,7 +216,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.create( @@ -247,7 +229,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.create( @@ -263,7 +244,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -273,7 +253,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.list( @@ -281,7 +260,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.list( @@ -293,7 +271,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(AsyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.list( @@ -307,7 +284,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -315,7 +291,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.delete( @@ -324,7 +299,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.delete( @@ -337,7 +311,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.delete( @@ -352,7 +325,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -367,7 +339,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.get( @@ -376,7 +347,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.get( @@ -389,7 +359,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.get( @@ -404,7 +373,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_page_shield.py b/tests/api_resources/test_page_shield.py index d8460c4c9e2..9e7112a8b9c 100644 --- a/tests/api_resources/test_page_shield.py +++ b/tests/api_resources/test_page_shield.py @@ -17,7 +17,6 @@ class TestPageShield: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: page_shield = client.page_shield.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: page_shield = client.page_shield.update( @@ -36,7 +34,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.page_shield.with_raw_response.update( @@ -48,7 +45,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: page_shield = response.parse() assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.page_shield.with_streaming_response.update( @@ -62,7 +58,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -70,7 +65,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: page_shield = client.page_shield.get( @@ -78,7 +72,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Setting, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.with_raw_response.get( @@ -90,7 +83,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: page_shield = response.parse() assert_matches_type(Setting, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.with_streaming_response.get( @@ -104,7 +96,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +107,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPageShield: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: page_shield = await async_client.page_shield.update( @@ -124,7 +114,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: page_shield = await async_client.page_shield.update( @@ -135,7 +124,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.with_raw_response.update( @@ -147,7 +135,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: page_shield = await response.parse() assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.with_streaming_response.update( @@ -161,7 +148,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -169,7 +155,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: page_shield = await async_client.page_shield.get( @@ -177,7 +162,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Setting, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.with_raw_response.get( @@ -189,7 +173,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: page_shield = await response.parse() assert_matches_type(Setting, page_shield, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.with_streaming_response.get( @@ -203,7 +186,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_pagerules.py b/tests/api_resources/test_pagerules.py index cb5cf37444d..fbc26716f3e 100644 --- a/tests/api_resources/test_pagerules.py +++ b/tests/api_resources/test_pagerules.py @@ -24,7 +24,6 @@ class TestPagerules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: pagerule = client.pagerules.create( @@ -42,7 +41,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.create( @@ -84,7 +82,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.create( @@ -106,7 +103,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.create( @@ -130,7 +126,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -148,7 +143,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: pagerule = client.pagerules.update( @@ -167,7 +161,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.update( @@ -210,7 +203,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.update( @@ -233,7 +225,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.update( @@ -258,7 +249,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -293,7 +283,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: pagerule = client.pagerules.list( @@ -301,7 +290,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.list( @@ -313,7 +301,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.list( @@ -325,7 +312,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleListResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.list( @@ -339,7 +325,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -347,7 +332,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: pagerule = client.pagerules.delete( @@ -356,7 +340,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.delete( @@ -369,7 +352,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.delete( @@ -384,7 +366,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -399,7 +380,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: pagerule = client.pagerules.edit( @@ -408,7 +388,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.edit( @@ -451,7 +430,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.edit( @@ -464,7 +442,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.edit( @@ -479,7 +456,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -494,7 +470,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pagerule = client.pagerules.get( @@ -503,7 +478,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.get( @@ -516,7 +490,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.get( @@ -531,7 +504,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -550,7 +522,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPagerules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.create( @@ -568,7 +539,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.create( @@ -610,7 +580,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.create( @@ -632,7 +601,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.create( @@ -656,7 +624,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -674,7 +641,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.update( @@ -693,7 +659,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.update( @@ -736,7 +701,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.update( @@ -759,7 +723,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.update( @@ -784,7 +747,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -819,7 +781,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.list( @@ -827,7 +788,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.list( @@ -839,7 +799,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.list( @@ -851,7 +810,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleListResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.list( @@ -865,7 +823,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -873,7 +830,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.delete( @@ -882,7 +838,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.delete( @@ -895,7 +850,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.delete( @@ -910,7 +864,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -925,7 +878,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.edit( @@ -934,7 +886,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.edit( @@ -977,7 +928,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.edit( @@ -990,7 +940,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.edit( @@ -1005,7 +954,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -1020,7 +968,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.get( @@ -1029,7 +976,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.get( @@ -1042,7 +988,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.get( @@ -1057,7 +1002,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_pcaps.py b/tests/api_resources/test_pcaps.py index 712c52bdcde..c290dfd9e3e 100644 --- a/tests/api_resources/test_pcaps.py +++ b/tests/api_resources/test_pcaps.py @@ -18,7 +18,6 @@ class TestPCAPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -30,7 +29,6 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -49,7 +47,6 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.create( @@ -65,7 +62,6 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.create( @@ -83,7 +79,6 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -95,7 +90,6 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: type="simple", ) - @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -108,7 +102,6 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -130,7 +123,6 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.create( @@ -147,7 +139,6 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.create( @@ -166,7 +157,6 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -179,7 +169,6 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: type="simple", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: pcap = client.pcaps.list( @@ -187,7 +176,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[PCAPListResponse], pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.list( @@ -199,7 +187,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(SyncSinglePage[PCAPListResponse], pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.list( @@ -213,7 +200,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -221,7 +207,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pcap = client.pcaps.get( @@ -230,7 +215,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PCAPGetResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.get( @@ -243,7 +227,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(PCAPGetResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.get( @@ -258,7 +241,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -277,7 +259,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPCAPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -289,7 +270,6 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -308,7 +288,6 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.create( @@ -324,7 +303,6 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar pcap = await response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.create( @@ -342,7 +320,6 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -354,7 +331,6 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare type="simple", ) - @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -367,7 +343,6 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -389,7 +364,6 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.create( @@ -406,7 +380,6 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar pcap = await response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.create( @@ -425,7 +398,6 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -438,7 +410,6 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare type="simple", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.list( @@ -446,7 +417,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[PCAPListResponse], pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.list( @@ -458,7 +428,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: pcap = await response.parse() assert_matches_type(AsyncSinglePage[PCAPListResponse], pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.list( @@ -472,7 +441,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -480,7 +448,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.get( @@ -489,7 +456,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PCAPGetResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.get( @@ -502,7 +468,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pcap = await response.parse() assert_matches_type(PCAPGetResponse, pcap, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.get( @@ -517,7 +482,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_plans.py b/tests/api_resources/test_plans.py index 69ea76c8e6e..46cabad8fde 100644 --- a/tests/api_resources/test_plans.py +++ b/tests/api_resources/test_plans.py @@ -18,7 +18,6 @@ class TestPlans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: plan = client.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() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.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() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -60,7 +56,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: plan = client.plans.get( @@ -69,7 +64,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AvailableRatePlan, plan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` 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() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: plan = await async_client.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() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.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() @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_identifier` but received ''"): @@ -158,7 +146,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: plan = await async_client.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() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.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() @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_identifier` but received ''"): diff --git a/tests/api_resources/test_queues.py b/tests/api_resources/test_queues.py index 24bdc53d67b..4cb9c1c38c2 100644 --- a/tests/api_resources/test_queues.py +++ b/tests/api_resources/test_queues.py @@ -23,7 +23,6 @@ class TestQueues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: queue = client.queues.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[QueueCreated], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.create( @@ -45,7 +43,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[QueueCreated], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.queues.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() @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 +65,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={"queue_name": "example-queue"}, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: queue = client.queues.update( @@ -79,7 +74,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.update( @@ -93,7 +87,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.update( @@ -109,7 +102,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +118,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={"queue_name": "renamed-example-queue"}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: queue = client.queues.list( @@ -134,7 +125,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.list( @@ -146,7 +136,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(SyncSinglePage[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.list( @@ -160,7 +149,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +156,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: queue = client.queues.delete( @@ -177,7 +164,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.delete( @@ -190,7 +176,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.delete( @@ -205,7 +190,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +204,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: queue = client.queues.get( @@ -229,7 +212,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.get( @@ -242,7 +224,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.get( @@ -257,7 +238,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +256,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncQueues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.create( @@ -285,7 +264,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[QueueCreated], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.create( @@ -298,7 +276,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[QueueCreated], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.create( @@ -313,7 +290,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -322,7 +298,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={"queue_name": "example-queue"}, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.update( @@ -332,7 +307,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.update( @@ -346,7 +320,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.update( @@ -362,7 +335,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -379,7 +351,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={"queue_name": "renamed-example-queue"}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.list( @@ -387,7 +358,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.list( @@ -399,7 +369,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(AsyncSinglePage[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.list( @@ -413,7 +382,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -421,7 +389,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.delete( @@ -430,7 +397,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.delete( @@ -443,7 +409,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.delete( @@ -458,7 +423,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -473,7 +437,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.get( @@ -482,7 +445,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.get( @@ -495,7 +457,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[Queue], queue, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.get( @@ -510,7 +471,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_rate_limits.py b/tests/api_resources/test_rate_limits.py index 9cfa8a62c63..2a58e6b8e02 100644 --- a/tests/api_resources/test_rate_limits.py +++ b/tests/api_resources/test_rate_limits.py @@ -24,7 +24,7 @@ class TestRateLimits: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.create( @@ -46,7 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.create( @@ -61,7 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -70,7 +70,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.list( @@ -78,7 +77,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.list( @@ -88,7 +86,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.list( @@ -100,7 +97,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(SyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.list( @@ -114,7 +110,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -122,7 +117,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.delete( @@ -131,7 +125,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.delete( @@ -144,7 +137,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.delete( @@ -159,7 +151,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -174,7 +165,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.edit( @@ -184,7 +175,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.edit( @@ -198,7 +189,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.edit( @@ -214,7 +205,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -231,7 +222,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.get( @@ -240,7 +230,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.get( @@ -253,7 +242,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.get( @@ -268,7 +256,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -287,7 +274,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRateLimits: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.create( @@ -296,7 +283,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.create( @@ -309,7 +296,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.create( @@ -324,7 +311,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -333,7 +320,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.list( @@ -341,7 +327,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.list( @@ -351,7 +336,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.list( @@ -363,7 +347,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.list( @@ -377,7 +360,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -385,7 +367,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.delete( @@ -394,7 +375,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.delete( @@ -407,7 +387,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.delete( @@ -422,7 +401,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -437,7 +415,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.edit( @@ -447,7 +425,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.edit( @@ -461,7 +439,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.edit( @@ -477,7 +455,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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_identifier` but received ''"): @@ -494,7 +472,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.get( @@ -503,7 +480,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.get( @@ -516,7 +492,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.get( @@ -531,7 +506,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/test_rate_plans.py b/tests/api_resources/test_rate_plans.py index c237fc40ca1..8a555f178d7 100644 --- a/tests/api_resources/test_rate_plans.py +++ b/tests/api_resources/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() @parametrize def test_method_get(self, client: Cloudflare) -> None: rate_plan = client.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() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.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() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` 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() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rate_plan = await async_client.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() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.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() @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_identifier` but received ''"): diff --git a/tests/api_resources/test_rulesets.py b/tests/api_resources/test_rulesets.py index 0b4f9473ac4..ae2f1c54dc7 100644 --- a/tests/api_resources/test_rulesets.py +++ b/tests/api_resources/test_rulesets.py @@ -23,7 +23,7 @@ class TestRulesets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: ruleset = client.rulesets.create( @@ -35,7 +35,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.create( @@ -97,7 +97,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.create( @@ -113,7 +113,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.create( @@ -131,7 +131,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -152,7 +152,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: ruleset = client.rulesets.update( @@ -162,7 +162,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.update( @@ -225,7 +225,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.update( @@ -239,7 +239,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.update( @@ -255,7 +255,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -279,7 +279,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: ruleset = client.rulesets.list( @@ -287,7 +287,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.list( @@ -295,7 +295,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.list( @@ -307,7 +307,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(SyncSinglePage[Ruleset], ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.list( @@ -321,7 +321,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +334,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: ruleset = client.rulesets.delete( @@ -343,7 +343,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert ruleset is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.delete( @@ -352,7 +352,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert ruleset is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.delete( @@ -365,7 +365,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ruleset = response.parse() assert ruleset is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.delete( @@ -380,7 +380,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -401,7 +401,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: ruleset = client.rulesets.get( @@ -410,7 +410,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.get( @@ -419,7 +419,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.get( @@ -432,7 +432,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.get( @@ -447,7 +447,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -472,7 +472,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRulesets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.create( @@ -484,7 +484,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.create( @@ -546,7 +546,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.create( @@ -562,7 +562,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.create( @@ -580,7 +580,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -601,7 +601,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.update( @@ -611,7 +611,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.update( @@ -674,7 +674,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.update( @@ -688,7 +688,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.update( @@ -704,7 +704,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -728,7 +728,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.list( @@ -736,7 +736,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Ruleset], ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.list( @@ -744,7 +744,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Ruleset], ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.list( @@ -756,7 +756,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(AsyncSinglePage[Ruleset], ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.list( @@ -770,7 +770,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -783,7 +783,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.delete( @@ -792,7 +792,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert ruleset is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.delete( @@ -801,7 +801,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert ruleset is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.delete( @@ -814,7 +814,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert ruleset is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.delete( @@ -829,7 +829,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): @@ -850,7 +850,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.get( @@ -859,7 +859,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.get( @@ -868,7 +868,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.get( @@ -881,7 +881,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.get( @@ -896,7 +896,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `ruleset_id` but received ''"): diff --git a/tests/api_resources/test_speed.py b/tests/api_resources/test_speed.py index 4b3081ae272..5809f63ea3a 100644 --- a/tests/api_resources/test_speed.py +++ b/tests/api_resources/test_speed.py @@ -22,7 +22,6 @@ class TestSpeed: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: speed = client.speed.delete( @@ -31,7 +30,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: speed = client.speed.delete( @@ -41,7 +39,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.speed.with_raw_response.delete( @@ -54,7 +51,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.speed.with_streaming_response.delete( @@ -69,7 +65,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -84,7 +79,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_schedule_get(self, client: Cloudflare) -> None: speed = client.speed.schedule_get( @@ -93,7 +87,6 @@ def test_method_schedule_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Schedule], speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_schedule_get_with_all_params(self, client: Cloudflare) -> None: speed = client.speed.schedule_get( @@ -103,7 +96,6 @@ def test_method_schedule_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Schedule], speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_schedule_get(self, client: Cloudflare) -> None: response = client.speed.with_raw_response.schedule_get( @@ -116,7 +108,6 @@ def test_raw_response_schedule_get(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(Optional[Schedule], speed, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_schedule_get(self, client: Cloudflare) -> None: with client.speed.with_streaming_response.schedule_get( @@ -131,7 +122,6 @@ def test_streaming_response_schedule_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_schedule_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -146,7 +136,7 @@ def test_path_params_schedule_get(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_trends_list(self, client: Cloudflare) -> None: speed = client.speed.trends_list( @@ -160,7 +150,7 @@ def test_method_trends_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Trend], speed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_trends_list_with_all_params(self, client: Cloudflare) -> None: speed = client.speed.trends_list( @@ -175,7 +165,7 @@ def test_method_trends_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Trend], speed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_trends_list(self, client: Cloudflare) -> None: response = client.speed.with_raw_response.trends_list( @@ -193,7 +183,7 @@ def test_raw_response_trends_list(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(Optional[Trend], speed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_trends_list(self, client: Cloudflare) -> None: with client.speed.with_streaming_response.trends_list( @@ -213,7 +203,7 @@ def test_streaming_response_trends_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_trends_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -242,7 +232,6 @@ def test_path_params_trends_list(self, client: Cloudflare) -> None: class TestAsyncSpeed: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.delete( @@ -251,7 +240,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.delete( @@ -261,7 +249,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.with_raw_response.delete( @@ -274,7 +261,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: speed = await response.parse() assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.with_streaming_response.delete( @@ -289,7 +275,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -304,7 +289,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_schedule_get(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.schedule_get( @@ -313,7 +297,6 @@ async def test_method_schedule_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Schedule], speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_schedule_get_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.schedule_get( @@ -323,7 +306,6 @@ async def test_method_schedule_get_with_all_params(self, async_client: AsyncClou ) assert_matches_type(Optional[Schedule], speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_schedule_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.with_raw_response.schedule_get( @@ -336,7 +318,6 @@ async def test_raw_response_schedule_get(self, async_client: AsyncCloudflare) -> speed = await response.parse() assert_matches_type(Optional[Schedule], speed, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_schedule_get(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.with_streaming_response.schedule_get( @@ -351,7 +332,6 @@ async def test_streaming_response_schedule_get(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_schedule_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -366,7 +346,7 @@ async def test_path_params_schedule_get(self, async_client: AsyncCloudflare) -> zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_trends_list(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.trends_list( @@ -380,7 +360,7 @@ async def test_method_trends_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Trend], speed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_trends_list_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.trends_list( @@ -395,7 +375,7 @@ async def test_method_trends_list_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(Optional[Trend], speed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_trends_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.with_raw_response.trends_list( @@ -413,7 +393,7 @@ async def test_raw_response_trends_list(self, async_client: AsyncCloudflare) -> speed = await response.parse() assert_matches_type(Optional[Trend], speed, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_trends_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.with_streaming_response.trends_list( @@ -433,7 +413,7 @@ async def test_streaming_response_trends_list(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_trends_list(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/test_stream.py b/tests/api_resources/test_stream.py index 409a258b1c8..ee6f6fbfc80 100644 --- a/tests/api_resources/test_stream.py +++ b/tests/api_resources/test_stream.py @@ -19,7 +19,7 @@ class TestStream: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: stream = client.stream.create( @@ -28,7 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert stream is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.create( @@ -41,7 +41,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: stream = response.parse() assert stream is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.create( @@ -56,7 +56,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -65,7 +65,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: stream = client.stream.list( @@ -73,7 +72,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: stream = client.stream.list( @@ -89,7 +87,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.list( @@ -101,7 +98,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: stream = response.parse() assert_matches_type(SyncSinglePage[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.list( @@ -115,7 +111,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -123,7 +118,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: stream = client.stream.delete( @@ -132,7 +126,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert stream is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.delete( @@ -145,7 +138,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: stream = response.parse() assert stream is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.delete( @@ -160,7 +152,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -175,7 +166,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: stream = client.stream.get( @@ -184,7 +174,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.get( @@ -197,7 +186,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: stream = response.parse() assert_matches_type(Optional[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.get( @@ -212,7 +200,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -231,7 +218,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStream: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.create( @@ -240,7 +227,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert stream is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.create( @@ -253,7 +240,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert stream is None - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.create( @@ -268,7 +255,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -277,7 +264,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.list( @@ -285,7 +271,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.list( @@ -301,7 +286,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.list( @@ -313,7 +297,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert_matches_type(AsyncSinglePage[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.list( @@ -327,7 +310,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -335,7 +317,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.delete( @@ -344,7 +325,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert stream is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.delete( @@ -357,7 +337,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert stream is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.delete( @@ -372,7 +351,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -387,7 +365,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.get( @@ -396,7 +373,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.get( @@ -409,7 +385,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert_matches_type(Optional[Video], stream, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.get( @@ -424,7 +399,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_subscriptions.py b/tests/api_resources/test_subscriptions.py index 28f92272509..7f4f56f32cf 100644 --- a/tests/api_resources/test_subscriptions.py +++ b/tests/api_resources/test_subscriptions.py @@ -24,7 +24,6 @@ class TestSubscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: subscription = client.subscriptions.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: subscription = client.subscriptions.create( @@ -72,7 +70,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.create( @@ -84,7 +81,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.create( @@ -98,7 +94,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -106,7 +101,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: subscription = client.subscriptions.update( @@ -115,7 +109,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: subscription = client.subscriptions.update( @@ -156,7 +149,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.update( @@ -169,7 +161,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.update( @@ -184,7 +175,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -201,7 +191,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: subscription = client.subscriptions.list( @@ -209,7 +198,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.list( @@ -221,7 +209,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.list( @@ -235,7 +222,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -243,7 +229,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: subscription = client.subscriptions.delete( @@ -252,7 +237,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.delete( @@ -265,7 +249,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.delete( @@ -280,7 +263,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -297,7 +279,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subscription = client.subscriptions.get( @@ -305,7 +286,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.get( @@ -317,7 +297,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.get( @@ -331,7 +310,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -343,7 +321,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.create( @@ -351,7 +328,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.create( @@ -391,7 +367,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.create( @@ -403,7 +378,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.create( @@ -417,7 +391,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -425,7 +398,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.update( @@ -434,7 +406,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.update( @@ -475,7 +446,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.update( @@ -488,7 +458,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.update( @@ -503,7 +472,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -520,7 +488,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.list( @@ -528,7 +495,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.list( @@ -540,7 +506,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.list( @@ -554,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() @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_identifier` but received ''"): @@ -562,7 +526,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.delete( @@ -571,7 +534,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.delete( @@ -584,7 +546,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.delete( @@ -599,7 +560,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -616,7 +576,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.get( @@ -624,7 +583,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.get( @@ -636,7 +594,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.get( @@ -650,7 +607,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/test_url_normalization.py b/tests/api_resources/test_url_normalization.py index 8cc032ab3e1..bd0ad470a31 100644 --- a/tests/api_resources/test_url_normalization.py +++ b/tests/api_resources/test_url_normalization.py @@ -20,7 +20,6 @@ class TestURLNormalization: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: url_normalization = client.url_normalization.update( @@ -28,7 +27,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: url_normalization = client.url_normalization.update( @@ -38,7 +36,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.url_normalization.with_raw_response.update( @@ -50,7 +47,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: url_normalization = response.parse() assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.url_normalization.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() @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() @parametrize def test_method_get(self, client: Cloudflare) -> None: url_normalization = client.url_normalization.get( @@ -80,7 +74,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.url_normalization.with_raw_response.get( @@ -92,7 +85,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: url_normalization = response.parse() assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.url_normalization.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() @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 TestAsyncURLNormalization: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: url_normalization = await async_client.url_normalization.update( @@ -126,7 +116,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: url_normalization = await async_client.url_normalization.update( @@ -136,7 +125,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_normalization.with_raw_response.update( @@ -148,7 +136,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: url_normalization = await response.parse() assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.url_normalization.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() @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() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: url_normalization = await async_client.url_normalization.get( @@ -178,7 +163,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_normalization.with_raw_response.get( @@ -190,7 +174,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: url_normalization = await response.parse() assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.url_normalization.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() @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/test_url_scanner.py b/tests/api_resources/test_url_scanner.py index edfb0767105..99393bd91ce 100644 --- a/tests/api_resources/test_url_scanner.py +++ b/tests/api_resources/test_url_scanner.py @@ -18,7 +18,6 @@ class TestURLScanner: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_scan(self, client: Cloudflare) -> None: url_scanner = client.url_scanner.scan( @@ -26,7 +25,6 @@ def test_method_scan(self, client: Cloudflare) -> None: ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_scan_with_all_params(self, client: Cloudflare) -> None: url_scanner = client.url_scanner.scan( @@ -51,7 +49,6 @@ def test_method_scan_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_scan(self, client: Cloudflare) -> None: response = client.url_scanner.with_raw_response.scan( @@ -63,7 +60,6 @@ def test_raw_response_scan(self, client: Cloudflare) -> None: url_scanner = response.parse() assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_scan(self, client: Cloudflare) -> None: with client.url_scanner.with_streaming_response.scan( @@ -77,7 +73,6 @@ def test_streaming_response_scan(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_scan(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_scan(self, client: Cloudflare) -> None: class TestAsyncURLScanner: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_scan(self, async_client: AsyncCloudflare) -> None: url_scanner = await async_client.url_scanner.scan( @@ -97,7 +91,6 @@ async def test_method_scan(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_scan_with_all_params(self, async_client: AsyncCloudflare) -> None: url_scanner = await async_client.url_scanner.scan( @@ -122,7 +115,6 @@ async def test_method_scan_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.with_raw_response.scan( @@ -134,7 +126,6 @@ async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: url_scanner = await response.parse() assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.with_streaming_response.scan( @@ -148,7 +139,6 @@ async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_scan(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/test_user.py b/tests/api_resources/test_user.py index 9207b88ab67..b8fc2776d01 100644 --- a/tests/api_resources/test_user.py +++ b/tests/api_resources/test_user.py @@ -17,13 +17,11 @@ class TestUser: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: user = client.user.edit() assert_matches_type(UserEditResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: user = client.user.edit( @@ -35,7 +33,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(UserEditResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.user.with_raw_response.edit() @@ -45,7 +42,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(UserEditResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.user.with_streaming_response.edit() as response: @@ -57,13 +53,11 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: user = client.user.get() assert_matches_type(UserGetResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.with_raw_response.get() @@ -73,7 +67,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(UserGetResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.with_streaming_response.get() as response: @@ -89,13 +82,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncUser: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: user = await async_client.user.edit() assert_matches_type(UserEditResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: user = await async_client.user.edit( @@ -107,7 +98,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(UserEditResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.with_raw_response.edit() @@ -117,7 +107,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: user = await response.parse() assert_matches_type(UserEditResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.user.with_streaming_response.edit() as response: @@ -129,13 +118,11 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: user = await async_client.user.get() assert_matches_type(UserGetResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.with_raw_response.get() @@ -145,7 +132,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: user = await response.parse() assert_matches_type(UserGetResponse, user, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.with_streaming_response.get() as response: diff --git a/tests/api_resources/test_waiting_rooms.py b/tests/api_resources/test_waiting_rooms.py index 273e7b46e18..9eb37b948c4 100644 --- a/tests/api_resources/test_waiting_rooms.py +++ b/tests/api_resources/test_waiting_rooms.py @@ -21,7 +21,6 @@ class TestWaitingRooms: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.create( @@ -75,7 +73,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.create( @@ -91,7 +88,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.create( @@ -109,7 +105,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -121,7 +116,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: total_active_users=200, ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.update( @@ -134,7 +128,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.update( @@ -177,7 +170,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.update( @@ -194,7 +186,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.update( @@ -213,7 +204,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -236,7 +226,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: total_active_users=200, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.list( @@ -244,7 +233,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[WaitingRoom], waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.list( @@ -254,7 +242,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[WaitingRoom], waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.list( @@ -266,7 +253,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(SyncSinglePage[WaitingRoom], waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.list( @@ -280,7 +266,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -288,7 +273,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.delete( @@ -297,7 +281,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.delete( @@ -310,7 +293,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.delete( @@ -325,7 +307,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -340,7 +321,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.edit( @@ -353,7 +333,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.edit( @@ -396,7 +375,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.edit( @@ -413,7 +391,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.edit( @@ -432,7 +409,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -455,7 +431,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: total_active_users=200, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.get( @@ -464,7 +439,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.get( @@ -477,7 +451,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.get( @@ -492,7 +465,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -511,7 +483,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWaitingRooms: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.create( @@ -523,7 +494,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.create( @@ -565,7 +535,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.create( @@ -581,7 +550,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.create( @@ -599,7 +567,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -611,7 +578,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: total_active_users=200, ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.update( @@ -624,7 +590,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.update( @@ -667,7 +632,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.update( @@ -684,7 +648,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.update( @@ -703,7 +666,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -726,7 +688,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: total_active_users=200, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.list( @@ -734,7 +695,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[WaitingRoom], waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.list( @@ -744,7 +704,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[WaitingRoom], waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.list( @@ -756,7 +715,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(AsyncSinglePage[WaitingRoom], waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.list( @@ -770,7 +728,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -778,7 +735,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.delete( @@ -787,7 +743,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.delete( @@ -800,7 +755,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.delete( @@ -815,7 +769,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -830,7 +783,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.edit( @@ -843,7 +795,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.edit( @@ -886,7 +837,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.edit( @@ -903,7 +853,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.edit( @@ -922,7 +871,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -945,7 +893,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: total_active_users=200, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.get( @@ -954,7 +901,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.get( @@ -967,7 +913,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.get( @@ -982,7 +927,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_warp_connector.py b/tests/api_resources/test_warp_connector.py index 10903314c32..d94380162cd 100644 --- a/tests/api_resources/test_warp_connector.py +++ b/tests/api_resources/test_warp_connector.py @@ -26,7 +26,6 @@ class TestWARPConnector: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.warp_connector.with_raw_response.create( @@ -48,7 +46,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() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.warp_connector.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() @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 ''"): @@ -72,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="blog", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.list( @@ -80,7 +75,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: warp_connector = client.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() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.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() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.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() @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() @parametrize def test_method_delete(self, client: Cloudflare) -> None: warp_connector = client.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() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.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() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.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() @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() @parametrize def test_method_edit(self, client: Cloudflare) -> None: warp_connector = client.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() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: warp_connector = client.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() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.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() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.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() @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() @parametrize def test_method_get(self, client: Cloudflare) -> None: warp_connector = client.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() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.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() @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() @parametrize def test_method_token(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.token( @@ -308,7 +285,6 @@ def test_method_token(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorTokenResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_token(self, client: Cloudflare) -> None: response = client.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(WARPConnectorTokenResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_token(self, client: Cloudflare) -> None: with client.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() @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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.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() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.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() @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() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.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() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.list( @@ -427,7 +395,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() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.list( @@ -439,7 +406,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.list( @@ -455,7 +421,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -463,7 +428,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.delete( @@ -472,7 +436,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.delete( @@ -485,7 +448,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() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.delete( @@ -500,7 +462,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -515,7 +476,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.edit( @@ -524,7 +484,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.edit( @@ -535,7 +494,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.edit( @@ -548,7 +506,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() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.edit( @@ -563,7 +520,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -578,7 +534,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.get( @@ -587,7 +542,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.get( @@ -600,7 +554,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.get( @@ -615,7 +568,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -630,7 +582,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_token(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.token( @@ -639,7 +590,6 @@ async def test_method_token(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorTokenResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_token(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.token( @@ -652,7 +602,6 @@ async def test_raw_response_token(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorTokenResponse, warp_connector, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_token(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.token( @@ -667,7 +616,6 @@ async def test_streaming_response_token(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/test_zones.py b/tests/api_resources/test_zones.py index 4e5a3fad6d3..a587aaf14f5 100644 --- a/tests/api_resources/test_zones.py +++ b/tests/api_resources/test_zones.py @@ -18,7 +18,6 @@ class TestZones: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: zone = client.zones.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.create( @@ -65,13 +61,11 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: zone = client.zones.list() assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.list( @@ -89,7 +83,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.list() @@ -99,7 +92,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.list() as response: @@ -153,7 +145,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: zone = client.zones.edit( @@ -161,7 +152,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.edit( @@ -172,7 +162,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.edit( @@ -184,7 +173,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.edit( @@ -198,7 +186,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -206,7 +193,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: zone = client.zones.get( @@ -214,7 +200,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.get( @@ -226,7 +211,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.get( @@ -240,7 +224,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -252,7 +235,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.create( @@ -261,7 +243,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.create( @@ -271,7 +252,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.create( @@ -284,7 +264,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.create( @@ -299,13 +278,11 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.list( @@ -323,7 +300,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.list() @@ -333,7 +309,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.list() as response: @@ -387,7 +362,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.edit( @@ -395,7 +369,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.edit( @@ -406,7 +379,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.edit( @@ -418,7 +390,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() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.edit( @@ -432,7 +403,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -440,7 +410,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.get( @@ -448,7 +417,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.get( @@ -460,7 +428,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.get( @@ -474,7 +441,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/url_scanner/test_scans.py b/tests/api_resources/url_scanner/test_scans.py index d0e817fddf5..f58a63f883e 100644 --- a/tests/api_resources/url_scanner/test_scans.py +++ b/tests/api_resources/url_scanner/test_scans.py @@ -29,7 +29,6 @@ class TestScans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.create( @@ -38,7 +37,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.create( @@ -50,7 +48,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.url_scanner.scans.with_raw_response.create( @@ -63,7 +60,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: scan = response.parse() assert_matches_type(ScanCreateResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.url_scanner.scans.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() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: url="https://www.example.com", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.get( @@ -96,7 +90,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ScanGetResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.url_scanner.scans.with_raw_response.get( @@ -109,7 +102,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: scan = response.parse() assert_matches_type(ScanGetResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.url_scanner.scans.with_streaming_response.get( @@ -124,7 +116,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -139,7 +130,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize def test_method_har(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.har( @@ -148,7 +138,6 @@ def test_method_har(self, client: Cloudflare) -> None: ) assert_matches_type(ScanHarResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_har(self, client: Cloudflare) -> None: response = client.url_scanner.scans.with_raw_response.har( @@ -161,7 +150,6 @@ def test_raw_response_har(self, client: Cloudflare) -> None: scan = response.parse() assert_matches_type(ScanHarResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_har(self, client: Cloudflare) -> None: with client.url_scanner.scans.with_streaming_response.har( @@ -176,7 +164,6 @@ def test_streaming_response_har(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_har(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -191,7 +178,6 @@ def test_path_params_har(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -207,7 +193,6 @@ def test_method_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> assert cast(Any, scan.is_closed) is True assert isinstance(scan, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_screenshot_with_all_params(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -224,7 +209,6 @@ def test_method_screenshot_with_all_params(self, client: Cloudflare, respx_mock: assert cast(Any, scan.is_closed) is True assert isinstance(scan, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -242,7 +226,6 @@ def test_raw_response_screenshot(self, client: Cloudflare, respx_mock: MockRoute assert scan.json() == {"foo": "bar"} assert isinstance(scan, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -262,7 +245,6 @@ def test_streaming_response_screenshot(self, client: Cloudflare, respx_mock: Moc assert cast(Any, scan.is_closed) is True - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_screenshot(self, client: Cloudflare) -> None: @@ -282,7 +264,6 @@ def test_path_params_screenshot(self, client: Cloudflare) -> None: class TestAsyncScans: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.create( @@ -291,7 +272,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.create( @@ -303,7 +283,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.scans.with_raw_response.create( @@ -316,7 +295,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: scan = await response.parse() assert_matches_type(ScanCreateResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.scans.with_streaming_response.create( @@ -331,7 +309,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -340,7 +317,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: url="https://www.example.com", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.get( @@ -349,7 +325,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScanGetResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.scans.with_raw_response.get( @@ -362,7 +337,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: scan = await response.parse() assert_matches_type(ScanGetResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.scans.with_streaming_response.get( @@ -377,7 +351,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -392,7 +365,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize async def test_method_har(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.har( @@ -401,7 +373,6 @@ async def test_method_har(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScanHarResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_har(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.scans.with_raw_response.har( @@ -414,7 +385,6 @@ async def test_raw_response_har(self, async_client: AsyncCloudflare) -> None: scan = await response.parse() assert_matches_type(ScanHarResponse, scan, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_har(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.scans.with_streaming_response.har( @@ -429,7 +399,6 @@ async def test_streaming_response_har(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_har(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -444,7 +413,6 @@ async def test_path_params_har(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_screenshot(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -460,7 +428,6 @@ async def test_method_screenshot(self, async_client: AsyncCloudflare, respx_mock assert cast(Any, scan.is_closed) is True assert isinstance(scan, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_screenshot_with_all_params( @@ -479,7 +446,6 @@ async def test_method_screenshot_with_all_params( assert cast(Any, scan.is_closed) is True assert isinstance(scan, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_screenshot(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -497,7 +463,6 @@ async def test_raw_response_screenshot(self, async_client: AsyncCloudflare, resp assert await scan.json() == {"foo": "bar"} assert isinstance(scan, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_screenshot(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -517,7 +482,6 @@ async def test_streaming_response_screenshot(self, async_client: AsyncCloudflare assert cast(Any, scan.is_closed) is True - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_screenshot(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/user/billing/test_history.py b/tests/api_resources/user/billing/test_history.py index d16cf7ce228..97cbf8ea7e2 100644 --- a/tests/api_resources/user/billing/test_history.py +++ b/tests/api_resources/user/billing/test_history.py @@ -19,13 +19,11 @@ class TestHistory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: history = client.user.billing.history.list() assert_matches_type(SyncV4PagePaginationArray[BillingHistory], history, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: history = client.user.billing.history.list( @@ -39,7 +37,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[BillingHistory], history, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.billing.history.with_raw_response.list() @@ -49,7 +46,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: history = response.parse() assert_matches_type(SyncV4PagePaginationArray[BillingHistory], history, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.billing.history.with_streaming_response.list() as response: @@ -65,13 +61,11 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncHistory: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: history = await async_client.user.billing.history.list() assert_matches_type(AsyncV4PagePaginationArray[BillingHistory], history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: history = await async_client.user.billing.history.list( @@ -85,7 +79,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[BillingHistory], history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.billing.history.with_raw_response.list() @@ -95,7 +88,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: history = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[BillingHistory], history, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.billing.history.with_streaming_response.list() as response: diff --git a/tests/api_resources/user/billing/test_profile.py b/tests/api_resources/user/billing/test_profile.py index fdeecb4384e..1436c46dd18 100644 --- a/tests/api_resources/user/billing/test_profile.py +++ b/tests/api_resources/user/billing/test_profile.py @@ -17,13 +17,11 @@ class TestProfile: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: profile = client.user.billing.profile.get() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.billing.profile.with_raw_response.get() @@ -33,7 +31,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.billing.profile.with_streaming_response.get() as response: @@ -49,13 +46,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncProfile: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: profile = await async_client.user.billing.profile.get() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.billing.profile.with_raw_response.get() @@ -65,7 +60,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.billing.profile.with_streaming_response.get() as response: diff --git a/tests/api_resources/user/test_audit_logs.py b/tests/api_resources/user/test_audit_logs.py index 991015f606d..0caf6dab72c 100644 --- a/tests/api_resources/user/test_audit_logs.py +++ b/tests/api_resources/user/test_audit_logs.py @@ -19,13 +19,11 @@ class TestAuditLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: audit_log = client.user.audit_logs.list() assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: audit_log = client.user.audit_logs.list( @@ -46,7 +44,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.audit_logs.with_raw_response.list() @@ -56,7 +53,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: audit_log = response.parse() assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.audit_logs.with_streaming_response.list() as response: @@ -72,13 +68,11 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncAuditLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.user.audit_logs.list() assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.user.audit_logs.list( @@ -99,7 +93,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.audit_logs.with_raw_response.list() @@ -109,7 +102,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: audit_log = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.audit_logs.with_streaming_response.list() as response: diff --git a/tests/api_resources/user/test_invites.py b/tests/api_resources/user/test_invites.py index 0236e4db1f9..73926fbc056 100644 --- a/tests/api_resources/user/test_invites.py +++ b/tests/api_resources/user/test_invites.py @@ -18,13 +18,11 @@ class TestInvites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: invite = client.user.invites.list() assert_matches_type(SyncSinglePage[Invite], invite, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.invites.with_raw_response.list() @@ -34,7 +32,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: invite = response.parse() assert_matches_type(SyncSinglePage[Invite], invite, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.invites.with_streaming_response.list() as response: @@ -46,7 +43,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: invite = client.user.invites.edit( @@ -55,7 +51,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(InviteEditResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.user.invites.with_raw_response.edit( @@ -68,7 +63,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: invite = response.parse() assert_matches_type(InviteEditResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.user.invites.with_streaming_response.edit( @@ -83,7 +77,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): @@ -92,7 +85,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: status="accepted", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: invite = client.user.invites.get( @@ -100,7 +92,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(InviteGetResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.invites.with_raw_response.get( @@ -112,7 +103,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: invite = response.parse() assert_matches_type(InviteGetResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.invites.with_streaming_response.get( @@ -126,7 +116,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): @@ -138,13 +127,11 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncInvites: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: invite = await async_client.user.invites.list() assert_matches_type(AsyncSinglePage[Invite], invite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.invites.with_raw_response.list() @@ -154,7 +141,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: invite = await response.parse() assert_matches_type(AsyncSinglePage[Invite], invite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.invites.with_streaming_response.list() as response: @@ -166,7 +152,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: invite = await async_client.user.invites.edit( @@ -175,7 +160,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(InviteEditResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.invites.with_raw_response.edit( @@ -188,7 +172,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: invite = await response.parse() assert_matches_type(InviteEditResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.user.invites.with_streaming_response.edit( @@ -203,7 +186,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): @@ -212,7 +194,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: status="accepted", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: invite = await async_client.user.invites.get( @@ -220,7 +201,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(InviteGetResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.invites.with_raw_response.get( @@ -232,7 +212,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: invite = await response.parse() assert_matches_type(InviteGetResponse, invite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.invites.with_streaming_response.get( @@ -246,7 +225,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): diff --git a/tests/api_resources/user/test_organizations.py b/tests/api_resources/user/test_organizations.py index b0b008cc682..336fa525726 100644 --- a/tests/api_resources/user/test_organizations.py +++ b/tests/api_resources/user/test_organizations.py @@ -22,13 +22,11 @@ class TestOrganizations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: organization = client.user.organizations.list() assert_matches_type(SyncV4PagePaginationArray[Organization], organization, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: organization = client.user.organizations.list( @@ -42,7 +40,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Organization], organization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.organizations.with_raw_response.list() @@ -52,7 +49,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(SyncV4PagePaginationArray[Organization], organization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.organizations.with_streaming_response.list() as response: @@ -64,7 +60,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: organization = client.user.organizations.delete( @@ -72,7 +67,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.user.organizations.with_raw_response.delete( @@ -84,7 +78,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.user.organizations.with_streaming_response.delete( @@ -98,7 +91,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): @@ -106,7 +98,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: organization = client.user.organizations.get( @@ -114,7 +105,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OrganizationGetResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.organizations.with_raw_response.get( @@ -126,7 +116,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(OrganizationGetResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.organizations.with_streaming_response.get( @@ -140,7 +129,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): @@ -152,13 +140,11 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOrganizations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.list() assert_matches_type(AsyncV4PagePaginationArray[Organization], organization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.list( @@ -172,7 +158,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Organization], organization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.organizations.with_raw_response.list() @@ -182,7 +167,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Organization], organization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.organizations.with_streaming_response.list() as response: @@ -194,7 +178,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.delete( @@ -202,7 +185,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.organizations.with_raw_response.delete( @@ -214,7 +196,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.user.organizations.with_streaming_response.delete( @@ -228,7 +209,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): @@ -236,7 +216,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.get( @@ -244,7 +223,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OrganizationGetResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.organizations.with_raw_response.get( @@ -256,7 +234,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(OrganizationGetResponse, organization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.organizations.with_streaming_response.get( @@ -270,7 +247,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): diff --git a/tests/api_resources/user/test_subscriptions.py b/tests/api_resources/user/test_subscriptions.py index 916a255ac11..95133505c93 100644 --- a/tests/api_resources/user/test_subscriptions.py +++ b/tests/api_resources/user/test_subscriptions.py @@ -22,7 +22,6 @@ class TestSubscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.update( @@ -30,7 +29,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.update( @@ -70,7 +68,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.update( @@ -82,7 +79,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.update( @@ -96,7 +92,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -104,7 +99,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.delete( @@ -112,7 +106,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.delete( @@ -124,7 +117,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.delete( @@ -138,7 +130,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -146,7 +137,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.edit( @@ -154,7 +144,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.edit( @@ -194,7 +183,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.edit( @@ -206,7 +194,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.edit( @@ -220,7 +207,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -228,13 +214,11 @@ def test_path_params_edit(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.get() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.get() @@ -244,7 +228,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.get() as response: @@ -260,7 +243,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncSubscriptions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.update( @@ -268,7 +250,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.update( @@ -308,7 +289,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.update( @@ -320,7 +300,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.update( @@ -334,7 +313,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -342,7 +320,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.delete( @@ -350,7 +327,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.delete( @@ -362,7 +338,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.delete( @@ -376,7 +351,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -384,7 +358,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.edit( @@ -392,7 +365,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.edit( @@ -432,7 +404,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.edit( @@ -444,7 +415,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.edit( @@ -458,7 +428,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -466,13 +435,11 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.get() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.get() @@ -482,7 +449,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.get() as response: diff --git a/tests/api_resources/user/test_tokens.py b/tests/api_resources/user/test_tokens.py index 3016556574a..608a7beeb51 100644 --- a/tests/api_resources/user/test_tokens.py +++ b/tests/api_resources/user/test_tokens.py @@ -25,7 +25,7 @@ class TestTokens: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: token = client.user.tokens.create( @@ -59,7 +59,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(TokenCreateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: token = client.user.tokens.create( @@ -101,7 +101,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TokenCreateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.create( @@ -139,7 +139,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenCreateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.create( @@ -179,7 +179,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: token = client.user.tokens.update( @@ -215,7 +215,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: token = client.user.tokens.update( @@ -259,7 +259,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.update( @@ -299,7 +299,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenUpdateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.update( @@ -341,13 +341,11 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: token = client.user.tokens.list() assert_matches_type(SyncV4PagePaginationArray[object], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: token = client.user.tokens.list( @@ -357,7 +355,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.list() @@ -367,7 +364,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.list() as response: @@ -379,7 +375,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: token = client.user.tokens.delete( @@ -387,7 +382,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.delete( @@ -399,7 +393,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.delete( @@ -413,7 +406,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: token = client.user.tokens.get( @@ -421,7 +413,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.get( @@ -433,7 +424,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.get( @@ -447,13 +437,11 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_method_verify(self, client: Cloudflare) -> None: token = client.user.tokens.verify() assert_matches_type(TokenVerifyResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_verify(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.verify() @@ -463,7 +451,6 @@ def test_raw_response_verify(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenVerifyResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_verify(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.verify() as response: @@ -479,7 +466,7 @@ def test_streaming_response_verify(self, client: Cloudflare) -> None: class TestAsyncTokens: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.create( @@ -513,7 +500,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenCreateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.create( @@ -555,7 +542,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TokenCreateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.create( @@ -593,7 +580,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenCreateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.create( @@ -633,7 +620,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.update( @@ -669,7 +656,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.update( @@ -713,7 +700,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.update( @@ -753,7 +740,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenUpdateResponse, token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.update( @@ -795,13 +782,11 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.list() assert_matches_type(AsyncV4PagePaginationArray[object], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.list( @@ -811,7 +796,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.list() @@ -821,7 +805,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.list() as response: @@ -833,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() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.delete( @@ -841,7 +823,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.delete( @@ -853,7 +834,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.delete( @@ -867,7 +847,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.get( @@ -875,7 +854,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.get( @@ -887,7 +865,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.get( @@ -901,13 +878,11 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_method_verify(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.verify() assert_matches_type(TokenVerifyResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.verify() @@ -917,7 +892,6 @@ async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenVerifyResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_verify(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.verify() as response: diff --git a/tests/api_resources/user/tokens/test_permission_groups.py b/tests/api_resources/user/tokens/test_permission_groups.py index fc5c12aeb29..f92a3cb1818 100644 --- a/tests/api_resources/user/tokens/test_permission_groups.py +++ b/tests/api_resources/user/tokens/test_permission_groups.py @@ -17,13 +17,11 @@ class TestPermissionGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: permission_group = client.user.tokens.permission_groups.list() assert_matches_type(SyncSinglePage[object], permission_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.tokens.permission_groups.with_raw_response.list() @@ -33,7 +31,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: permission_group = response.parse() assert_matches_type(SyncSinglePage[object], permission_group, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.tokens.permission_groups.with_streaming_response.list() as response: @@ -49,13 +46,11 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncPermissionGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: permission_group = await async_client.user.tokens.permission_groups.list() assert_matches_type(AsyncSinglePage[object], permission_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.permission_groups.with_raw_response.list() @@ -65,7 +60,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: permission_group = await response.parse() assert_matches_type(AsyncSinglePage[object], permission_group, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.permission_groups.with_streaming_response.list() as response: diff --git a/tests/api_resources/user/tokens/test_value.py b/tests/api_resources/user/tokens/test_value.py index 697920b8c14..d4ef302b8e1 100644 --- a/tests/api_resources/user/tokens/test_value.py +++ b/tests/api_resources/user/tokens/test_value.py @@ -16,7 +16,6 @@ class TestValue: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: value = client.user.tokens.value.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.user.tokens.value.with_raw_response.update( @@ -38,7 +36,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.user.tokens.value.with_streaming_response.update( @@ -57,7 +54,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: class TestAsyncValue: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: value = await async_client.user.tokens.value.update( @@ -66,7 +62,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.value.with_raw_response.update( @@ -79,7 +74,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(str, value, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.value.with_streaming_response.update( diff --git a/tests/api_resources/vectorize/test_indexes.py b/tests/api_resources/vectorize/test_indexes.py index 5b7bccfe4cf..d0a4beb4ea0 100644 --- a/tests/api_resources/vectorize/test_indexes.py +++ b/tests/api_resources/vectorize/test_indexes.py @@ -25,7 +25,6 @@ class TestIndexes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: index = client.vectorize.indexes.create( @@ -38,7 +37,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.create( @@ -52,7 +50,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.create( @@ -69,7 +66,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.create( @@ -88,7 +84,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -101,7 +96,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="example-index", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: index = client.vectorize.indexes.update( @@ -111,7 +105,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.update( @@ -125,7 +118,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.update( @@ -141,7 +133,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -158,7 +149,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: description="This is my example index.", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: index = client.vectorize.indexes.list( @@ -166,7 +156,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.list( @@ -178,7 +167,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(SyncSinglePage[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.list( @@ -192,7 +180,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -200,7 +187,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: index = client.vectorize.indexes.delete( @@ -209,7 +195,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(IndexDeleteResponse, index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.delete( @@ -222,7 +207,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(IndexDeleteResponse, index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.delete( @@ -237,7 +221,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +235,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete_by_ids(self, client: Cloudflare) -> None: index = client.vectorize.indexes.delete_by_ids( @@ -261,7 +243,6 @@ def test_method_delete_by_ids(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_delete_by_ids_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.delete_by_ids( @@ -271,7 +252,6 @@ def test_method_delete_by_ids_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete_by_ids(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.delete_by_ids( @@ -284,7 +264,6 @@ def test_raw_response_delete_by_ids(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete_by_ids(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.delete_by_ids( @@ -299,7 +278,6 @@ def test_streaming_response_delete_by_ids(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete_by_ids(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -314,7 +292,6 @@ def test_path_params_delete_by_ids(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: index = client.vectorize.indexes.get( @@ -323,7 +300,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.get( @@ -336,7 +312,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.get( @@ -351,7 +326,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -366,7 +340,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get_by_ids(self, client: Cloudflare) -> None: index = client.vectorize.indexes.get_by_ids( @@ -375,7 +348,6 @@ def test_method_get_by_ids(self, client: Cloudflare) -> None: ) assert_matches_type(object, index, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_by_ids_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.get_by_ids( @@ -385,7 +357,6 @@ def test_method_get_by_ids_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get_by_ids(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.get_by_ids( @@ -398,7 +369,6 @@ def test_raw_response_get_by_ids(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(object, index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get_by_ids(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.get_by_ids( @@ -413,7 +383,6 @@ def test_streaming_response_get_by_ids(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get_by_ids(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -428,7 +397,7 @@ def test_path_params_get_by_ids(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_insert(self, client: Cloudflare) -> None: index = client.vectorize.indexes.insert( @@ -438,7 +407,7 @@ def test_method_insert(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexInsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_insert(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.insert( @@ -452,7 +421,7 @@ def test_raw_response_insert(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexInsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_insert(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.insert( @@ -468,7 +437,7 @@ def test_streaming_response_insert(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_insert(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -485,7 +454,6 @@ def test_path_params_insert(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_query(self, client: Cloudflare) -> None: index = client.vectorize.indexes.query( @@ -495,7 +463,6 @@ def test_method_query(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_query_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.query( @@ -512,7 +479,6 @@ def test_method_query_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_query(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.query( @@ -526,7 +492,6 @@ def test_raw_response_query(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexQuery], index, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_query(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.query( @@ -542,7 +507,6 @@ def test_streaming_response_query(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_query(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -559,7 +523,7 @@ def test_path_params_query(self, client: Cloudflare) -> None: vector=[0.5, 0.5, 0.5], ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_upsert(self, client: Cloudflare) -> None: index = client.vectorize.indexes.upsert( @@ -569,7 +533,7 @@ def test_method_upsert(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexUpsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_upsert(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.upsert( @@ -583,7 +547,7 @@ def test_raw_response_upsert(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexUpsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_upsert(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.upsert( @@ -599,7 +563,7 @@ def test_streaming_response_upsert(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_upsert(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -620,7 +584,6 @@ def test_path_params_upsert(self, client: Cloudflare) -> None: class TestAsyncIndexes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.create( @@ -633,7 +596,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.create( @@ -647,7 +609,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.create( @@ -664,7 +625,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.create( @@ -683,7 +643,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -696,7 +655,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="example-index", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.update( @@ -706,7 +664,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.update( @@ -720,7 +677,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.update( @@ -736,7 +692,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -753,7 +708,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: description="This is my example index.", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.list( @@ -761,7 +715,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.list( @@ -773,7 +726,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(AsyncSinglePage[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.list( @@ -787,7 +739,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -795,7 +746,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.delete( @@ -804,7 +754,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndexDeleteResponse, index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.delete( @@ -817,7 +766,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(IndexDeleteResponse, index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.delete( @@ -832,7 +780,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -847,7 +794,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete_by_ids(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.delete_by_ids( @@ -856,7 +802,6 @@ async def test_method_delete_by_ids(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_delete_by_ids_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.delete_by_ids( @@ -866,7 +811,6 @@ async def test_method_delete_by_ids_with_all_params(self, async_client: AsyncClo ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete_by_ids(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.delete_by_ids( @@ -879,7 +823,6 @@ async def test_raw_response_delete_by_ids(self, async_client: AsyncCloudflare) - index = await response.parse() assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete_by_ids(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.delete_by_ids( @@ -894,7 +837,6 @@ async def test_streaming_response_delete_by_ids(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_delete_by_ids(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -909,7 +851,6 @@ async def test_path_params_delete_by_ids(self, async_client: AsyncCloudflare) -> account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.get( @@ -918,7 +859,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.get( @@ -931,7 +871,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.get( @@ -946,7 +885,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -961,7 +899,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get_by_ids(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.get_by_ids( @@ -970,7 +907,6 @@ async def test_method_get_by_ids(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_by_ids_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.get_by_ids( @@ -980,7 +916,6 @@ async def test_method_get_by_ids_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(object, index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get_by_ids(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.get_by_ids( @@ -993,7 +928,6 @@ async def test_raw_response_get_by_ids(self, async_client: AsyncCloudflare) -> N index = await response.parse() assert_matches_type(object, index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get_by_ids(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.get_by_ids( @@ -1008,7 +942,6 @@ async def test_streaming_response_get_by_ids(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_get_by_ids(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1023,7 +956,7 @@ async def test_path_params_get_by_ids(self, async_client: AsyncCloudflare) -> No account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_insert(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.insert( @@ -1033,7 +966,7 @@ async def test_method_insert(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IndexInsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_insert(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.insert( @@ -1047,7 +980,7 @@ async def test_raw_response_insert(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[IndexInsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_insert(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.insert( @@ -1063,7 +996,7 @@ async def test_streaming_response_insert(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_insert(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1080,7 +1013,6 @@ async def test_path_params_insert(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_query(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.query( @@ -1090,7 +1022,6 @@ async def test_method_query(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.query( @@ -1107,7 +1038,6 @@ async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.query( @@ -1121,7 +1051,6 @@ async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[IndexQuery], index, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.query( @@ -1137,7 +1066,6 @@ async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_query(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1154,7 +1082,7 @@ async def test_path_params_query(self, async_client: AsyncCloudflare) -> None: vector=[0.5, 0.5, 0.5], ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_upsert(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.upsert( @@ -1164,7 +1092,7 @@ async def test_method_upsert(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IndexUpsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_upsert(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.upsert( @@ -1178,7 +1106,7 @@ async def test_raw_response_upsert(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[IndexUpsert], index, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_upsert(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.upsert( @@ -1194,7 +1122,7 @@ async def test_streaming_response_upsert(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_upsert(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/waiting_rooms/events/test_details.py b/tests/api_resources/waiting_rooms/events/test_details.py index 6620e7a7cfb..3a81dca45f9 100644 --- a/tests/api_resources/waiting_rooms/events/test_details.py +++ b/tests/api_resources/waiting_rooms/events/test_details.py @@ -17,7 +17,6 @@ class TestDetails: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: detail = client.waiting_rooms.events.details.get( @@ -27,7 +26,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DetailGetResponse, detail, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.details.with_raw_response.get( @@ -41,7 +39,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: detail = response.parse() assert_matches_type(DetailGetResponse, detail, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.events.details.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() @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 ''"): @@ -85,7 +81,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDetails: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: detail = await async_client.waiting_rooms.events.details.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DetailGetResponse, detail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.details.with_raw_response.get( @@ -109,7 +103,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: detail = await response.parse() assert_matches_type(DetailGetResponse, detail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.details.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() @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/waiting_rooms/test_events.py b/tests/api_resources/waiting_rooms/test_events.py index 7a4712773ca..2be3b4b028c 100644 --- a/tests/api_resources/waiting_rooms/test_events.py +++ b/tests/api_resources/waiting_rooms/test_events.py @@ -21,7 +21,6 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.create( @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.create( @@ -71,7 +68,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.create( @@ -89,7 +85,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -110,7 +105,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="production_webinar_event", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.update( @@ -123,7 +117,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.update( @@ -146,7 +139,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.update( @@ -163,7 +155,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.update( @@ -182,7 +173,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -215,7 +205,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="production_webinar_event", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.list( @@ -224,7 +213,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Event], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.list( @@ -235,7 +223,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Event], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.list( @@ -248,7 +235,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(SyncSinglePage[Event], event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.list( @@ -263,7 +249,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -278,7 +263,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.delete( @@ -288,7 +272,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(EventDeleteResponse, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.delete( @@ -302,7 +285,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(EventDeleteResponse, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.delete( @@ -318,7 +300,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -342,7 +323,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: waiting_room_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.edit( @@ -355,7 +335,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.edit( @@ -378,7 +357,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.edit( @@ -395,7 +373,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.edit( @@ -414,7 +391,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -447,7 +423,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: name="production_webinar_event", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.get( @@ -457,7 +432,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.get( @@ -471,7 +445,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.get( @@ -487,7 +460,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -515,7 +487,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEvents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.create( @@ -527,7 +498,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.create( @@ -549,7 +519,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.create( @@ -565,7 +534,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.create( @@ -583,7 +551,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -604,7 +571,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="production_webinar_event", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.update( @@ -617,7 +583,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.update( @@ -640,7 +605,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.update( @@ -657,7 +621,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.update( @@ -676,7 +639,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -709,7 +671,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="production_webinar_event", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.list( @@ -718,7 +679,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Event], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.list( @@ -729,7 +689,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Event], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.list( @@ -742,7 +701,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(AsyncSinglePage[Event], event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.list( @@ -757,7 +715,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -772,7 +729,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.delete( @@ -782,7 +738,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EventDeleteResponse, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.delete( @@ -796,7 +751,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(EventDeleteResponse, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.delete( @@ -812,7 +766,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -836,7 +789,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: waiting_room_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.edit( @@ -849,7 +801,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.edit( @@ -872,7 +823,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.edit( @@ -889,7 +839,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.edit( @@ -908,7 +857,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -941,7 +889,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: name="production_webinar_event", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.get( @@ -951,7 +898,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.get( @@ -965,7 +911,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.get( @@ -981,7 +926,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/waiting_rooms/test_page.py b/tests/api_resources/waiting_rooms/test_page.py index 8d847225b73..881d9a3a906 100644 --- a/tests/api_resources/waiting_rooms/test_page.py +++ b/tests/api_resources/waiting_rooms/test_page.py @@ -17,7 +17,6 @@ class TestPage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_preview(self, client: Cloudflare) -> None: page = client.waiting_rooms.page.preview( @@ -26,7 +25,6 @@ def test_method_preview(self, client: Cloudflare) -> None: ) assert_matches_type(PagePreviewResponse, page, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_preview(self, client: Cloudflare) -> None: response = client.waiting_rooms.page.with_raw_response.preview( @@ -39,7 +37,6 @@ def test_raw_response_preview(self, client: Cloudflare) -> None: page = response.parse() assert_matches_type(PagePreviewResponse, page, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_preview(self, client: Cloudflare) -> None: with client.waiting_rooms.page.with_streaming_response.preview( @@ -54,7 +51,6 @@ def test_streaming_response_preview(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_preview(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -67,7 +63,6 @@ def test_path_params_preview(self, client: Cloudflare) -> None: class TestAsyncPage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_preview(self, async_client: AsyncCloudflare) -> None: page = await async_client.waiting_rooms.page.preview( @@ -76,7 +71,6 @@ async def test_method_preview(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PagePreviewResponse, page, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_preview(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.page.with_raw_response.preview( @@ -89,7 +83,6 @@ async def test_raw_response_preview(self, async_client: AsyncCloudflare) -> None page = await response.parse() assert_matches_type(PagePreviewResponse, page, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_preview(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.page.with_streaming_response.preview( @@ -104,7 +97,6 @@ async def test_streaming_response_preview(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_preview(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/waiting_rooms/test_rules.py b/tests/api_resources/waiting_rooms/test_rules.py index e6816dc814a..0716bb86c5d 100644 --- a/tests/api_resources/waiting_rooms/test_rules.py +++ b/tests/api_resources/waiting_rooms/test_rules.py @@ -24,7 +24,6 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.create( @@ -48,7 +46,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.create( @@ -63,7 +60,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.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() @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 ''"): @@ -99,7 +94,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: expression="ip.src in {10.20.30.40}", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.update( @@ -122,7 +116,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.update( @@ -149,7 +142,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.update( @@ -178,7 +170,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -221,7 +212,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.list( @@ -230,7 +220,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[WaitingRoomRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.list( @@ -243,7 +232,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[WaitingRoomRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.list( @@ -258,7 +246,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -273,7 +260,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.delete( @@ -283,7 +269,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.delete( @@ -297,7 +282,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.delete( @@ -313,7 +297,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -337,7 +320,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: waiting_room_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.edit( @@ -349,7 +331,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.edit( @@ -364,7 +345,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.edit( @@ -380,7 +360,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.edit( @@ -398,7 +377,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -432,7 +410,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.create( @@ -443,7 +420,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.create( @@ -456,7 +432,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.create( @@ -471,7 +446,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.create( @@ -488,7 +462,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -507,7 +480,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: expression="ip.src in {10.20.30.40}", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.update( @@ -530,7 +502,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.update( @@ -557,7 +528,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.update( @@ -586,7 +556,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -629,7 +598,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.list( @@ -638,7 +606,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[WaitingRoomRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.list( @@ -651,7 +618,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncSinglePage[WaitingRoomRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.list( @@ -666,7 +632,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -681,7 +646,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.delete( @@ -691,7 +655,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.delete( @@ -705,7 +668,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.delete( @@ -721,7 +683,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -745,7 +706,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: waiting_room_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.edit( @@ -757,7 +717,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.edit( @@ -772,7 +731,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.edit( @@ -788,7 +746,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.edit( @@ -806,7 +763,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/waiting_rooms/test_settings.py b/tests/api_resources/waiting_rooms/test_settings.py index 79ca12bd88b..823c9e02011 100644 --- a/tests/api_resources/waiting_rooms/test_settings.py +++ b/tests/api_resources/waiting_rooms/test_settings.py @@ -21,7 +21,6 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.update( @@ -29,7 +28,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.update( @@ -38,7 +36,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.settings.with_raw_response.update( @@ -50,7 +47,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.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() @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() @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.edit( @@ -80,7 +74,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SettingEditResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.edit( @@ -89,7 +82,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SettingEditResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.settings.with_raw_response.edit( @@ -101,7 +93,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingEditResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.settings.with_streaming_response.edit( @@ -115,7 +106,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -123,7 +113,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.get( @@ -131,7 +120,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.settings.with_raw_response.get( @@ -143,7 +131,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.settings.with_streaming_response.get( @@ -157,7 +144,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -169,7 +155,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.update( @@ -177,7 +162,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.update( @@ -186,7 +170,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.settings.with_raw_response.update( @@ -198,7 +181,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.settings.with_streaming_response.update( @@ -212,7 +194,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -220,7 +201,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.edit( @@ -228,7 +208,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingEditResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.edit( @@ -237,7 +216,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SettingEditResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.settings.with_raw_response.edit( @@ -249,7 +227,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingEditResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.settings.with_streaming_response.edit( @@ -263,7 +240,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -271,7 +247,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.get( @@ -279,7 +254,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.settings.with_raw_response.get( @@ -291,7 +265,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.settings.with_streaming_response.get( @@ -305,7 +278,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/waiting_rooms/test_statuses.py b/tests/api_resources/waiting_rooms/test_statuses.py index e1d2176da62..9a7ff6731a5 100644 --- a/tests/api_resources/waiting_rooms/test_statuses.py +++ b/tests/api_resources/waiting_rooms/test_statuses.py @@ -17,7 +17,6 @@ class TestStatuses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: status = client.waiting_rooms.statuses.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(StatusGetResponse, status, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.statuses.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(StatusGetResponse, status, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.statuses.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() @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 ''"): @@ -73,7 +69,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStatuses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: status = await async_client.waiting_rooms.statuses.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(StatusGetResponse, status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.statuses.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(StatusGetResponse, status, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.statuses.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() @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/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py b/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py index 4cffbc101f6..d5891151684 100644 --- a/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py +++ b/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py @@ -23,7 +23,6 @@ class TestEntries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -46,7 +44,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.create( @@ -61,7 +58,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(EntryCreateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.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() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -97,7 +92,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="cid", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -109,7 +103,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -122,7 +115,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.update( @@ -138,7 +130,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(EntryUpdateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.update( @@ -156,7 +147,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -188,7 +178,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: type="cid", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.list( @@ -197,7 +186,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.list( @@ -210,7 +198,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.list( @@ -225,7 +212,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -240,7 +226,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.delete( @@ -250,7 +235,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.delete( @@ -264,7 +248,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.delete( @@ -280,7 +263,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -306,7 +288,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.get( @@ -316,7 +297,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(EntryGetResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.get( @@ -330,7 +310,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(EntryGetResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.get( @@ -346,7 +325,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -376,7 +354,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -387,7 +364,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -399,7 +375,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = ( @@ -416,7 +391,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(EntryCreateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.create( @@ -433,7 +407,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -452,7 +425,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="cid", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -464,7 +436,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -477,7 +448,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = ( @@ -495,7 +465,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(EntryUpdateResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.update( @@ -513,7 +482,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -545,7 +513,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: type="cid", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.list( @@ -554,7 +521,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.list( @@ -567,7 +533,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.list( @@ -582,7 +547,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -597,7 +561,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.delete( @@ -607,7 +570,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = ( @@ -623,7 +585,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.delete( @@ -639,7 +600,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -665,7 +625,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.get( @@ -675,7 +634,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntryGetResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.get( @@ -689,7 +647,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(EntryGetResponse, entry, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.get( @@ -705,7 +662,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py b/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py index e2aa0af76c8..9c682cddb81 100644 --- a/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py +++ b/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py @@ -17,7 +17,6 @@ class TestContentLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: content_list = client.web3.hostnames.ipfs_universal_paths.content_lists.update( @@ -28,7 +27,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.update( @@ -43,7 +41,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: content_list = response.parse() assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.update( @@ -60,7 +57,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -79,7 +75,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: entries=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: content_list = client.web3.hostnames.ipfs_universal_paths.content_lists.get( @@ -88,7 +83,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.get( @@ -101,7 +95,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: content_list = response.parse() assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.get( @@ -116,7 +109,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -135,7 +127,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncContentLists: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: content_list = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.update( @@ -146,7 +137,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.update( @@ -161,7 +151,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: content_list = await response.parse() assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.update( @@ -178,7 +167,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -197,7 +185,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: entries=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: content_list = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.get( @@ -206,7 +193,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.get( @@ -219,7 +205,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: content_list = await response.parse() assert_matches_type(ContentList, content_list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.get( @@ -234,7 +219,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/web3/test_hostnames.py b/tests/api_resources/web3/test_hostnames.py index 8d9b4d06016..d12712ea809 100644 --- a/tests/api_resources/web3/test_hostnames.py +++ b/tests/api_resources/web3/test_hostnames.py @@ -18,7 +18,6 @@ class TestHostnames: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.create( @@ -66,7 +62,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -75,7 +70,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: target="ipfs", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.list( @@ -83,7 +77,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Hostname], hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.list( @@ -95,7 +88,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(SyncSinglePage[Hostname], hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.list( @@ -109,7 +101,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -117,7 +108,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.delete( @@ -126,7 +116,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.delete( @@ -139,7 +128,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.delete( @@ -154,7 +142,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -169,7 +156,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.edit( @@ -178,7 +164,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.edit( @@ -189,7 +174,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.edit( @@ -202,7 +186,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.edit( @@ -217,7 +200,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -232,7 +214,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.get( @@ -241,7 +222,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.get( @@ -254,7 +234,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.get( @@ -269,7 +248,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -288,7 +266,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHostnames: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.create( @@ -297,7 +274,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.create( @@ -308,7 +284,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.create( @@ -321,7 +296,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.create( @@ -336,7 +310,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -345,7 +318,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: target="ipfs", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.list( @@ -353,7 +325,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Hostname], hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.list( @@ -365,7 +336,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(AsyncSinglePage[Hostname], hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.list( @@ -379,7 +349,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -387,7 +356,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.delete( @@ -396,7 +364,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.delete( @@ -409,7 +376,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.delete( @@ -424,7 +390,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -439,7 +404,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.edit( @@ -448,7 +412,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.edit( @@ -459,7 +422,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.edit( @@ -472,7 +434,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.edit( @@ -487,7 +448,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -502,7 +462,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.get( @@ -511,7 +470,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.get( @@ -524,7 +482,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Hostname, hostname, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.get( @@ -539,7 +496,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/workers/scripts/test_content.py b/tests/api_resources/workers/scripts/test_content.py index c0e7fa824ca..9a748afefda 100644 --- a/tests/api_resources/workers/scripts/test_content.py +++ b/tests/api_resources/workers/scripts/test_content.py @@ -25,7 +25,7 @@ class TestContent: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: content = client.workers.scripts.content.update( @@ -34,7 +34,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: content = client.workers.scripts.content.update( @@ -48,7 +48,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.scripts.content.with_raw_response.update( @@ -61,7 +61,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: content = response.parse() assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.scripts.content.with_streaming_response.update( @@ -76,7 +76,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -91,7 +91,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -107,7 +106,6 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, content.is_closed) is True assert isinstance(content, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -125,7 +123,6 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert content.json() == {"foo": "bar"} assert isinstance(content, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -145,7 +142,6 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, content.is_closed) is True - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -165,7 +161,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncContent: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers.scripts.content.update( @@ -174,7 +170,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers.scripts.content.update( @@ -188,7 +184,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.content.with_raw_response.update( @@ -201,7 +197,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: content = await response.parse() assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.content.with_streaming_response.update( @@ -216,7 +212,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -231,7 +227,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -247,7 +242,6 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, content.is_closed) is True assert isinstance(content, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -265,7 +259,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await content.json() == {"foo": "bar"} assert isinstance(content, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -285,7 +278,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, content.is_closed) is True - @pytest.mark.skip() @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/workers/scripts/test_deployments.py b/tests/api_resources/workers/scripts/test_deployments.py index 0ec9ea4f121..c49a56a7326 100644 --- a/tests/api_resources/workers/scripts/test_deployments.py +++ b/tests/api_resources/workers/scripts/test_deployments.py @@ -20,7 +20,6 @@ class TestDeployments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: deployment = client.workers.scripts.deployments.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: deployment = client.workers.scripts.deployments.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers.scripts.deployments.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers.scripts.deployments.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() @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 +78,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: deployment = client.workers.scripts.deployments.get( @@ -92,7 +86,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.deployments.with_raw_response.get( @@ -105,7 +98,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.deployments.with_streaming_response.get( @@ -120,7 +112,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -139,7 +130,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDeployments: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.workers.scripts.deployments.create( @@ -148,7 +138,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.workers.scripts.deployments.create( @@ -159,7 +148,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.deployments.with_raw_response.create( @@ -172,7 +160,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.deployments.with_streaming_response.create( @@ -187,7 +174,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -202,7 +188,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.workers.scripts.deployments.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.deployments.with_raw_response.get( @@ -224,7 +208,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.deployments.with_streaming_response.get( @@ -239,7 +222,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers/scripts/test_schedules.py b/tests/api_resources/workers/scripts/test_schedules.py index 46d790e89cd..1e4fbf7a577 100644 --- a/tests/api_resources/workers/scripts/test_schedules.py +++ b/tests/api_resources/workers/scripts/test_schedules.py @@ -17,7 +17,6 @@ class TestSchedules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: schedule = client.workers.scripts.schedules.update( @@ -27,7 +26,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.scripts.schedules.with_raw_response.update( @@ -41,7 +39,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: schedule = response.parse() assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.scripts.schedules.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() @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 ''"): @@ -74,7 +70,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body="[{'cron': '*/30 * * * *'}]", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: schedule = client.workers.scripts.schedules.get( @@ -83,7 +78,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.schedules.with_raw_response.get( @@ -96,7 +90,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: schedule = response.parse() assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.schedules.with_streaming_response.get( @@ -111,7 +104,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -130,7 +122,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSchedules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.workers.scripts.schedules.update( @@ -140,7 +131,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.schedules.with_raw_response.update( @@ -154,7 +144,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: schedule = await response.parse() assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.schedules.with_streaming_response.update( @@ -170,7 +159,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -187,7 +175,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body="[{'cron': '*/30 * * * *'}]", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.workers.scripts.schedules.get( @@ -196,7 +183,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.schedules.with_raw_response.get( @@ -209,7 +195,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: schedule = await response.parse() assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.schedules.with_streaming_response.get( @@ -224,7 +209,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers/scripts/test_settings.py b/tests/api_resources/workers/scripts/test_settings.py index 18af0318652..2a599b792e3 100644 --- a/tests/api_resources/workers/scripts/test_settings.py +++ b/tests/api_resources/workers/scripts/test_settings.py @@ -17,7 +17,6 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.workers.scripts.settings.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.workers.scripts.settings.edit( @@ -53,7 +51,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.workers.scripts.settings.with_raw_response.edit( @@ -66,7 +63,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.workers.scripts.settings.with_streaming_response.edit( @@ -81,7 +77,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -96,7 +91,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.workers.scripts.settings.get( @@ -105,7 +99,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.settings.with_raw_response.get( @@ -118,7 +111,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.settings.with_streaming_response.get( @@ -133,7 +125,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -152,7 +143,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() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers.scripts.settings.edit( @@ -161,7 +151,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers.scripts.settings.edit( @@ -188,7 +177,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.settings.with_raw_response.edit( @@ -201,7 +189,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.settings.with_streaming_response.edit( @@ -216,7 +203,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -231,7 +217,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers.scripts.settings.get( @@ -240,7 +225,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.settings.with_raw_response.get( @@ -253,7 +237,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.settings.with_streaming_response.get( @@ -268,7 +251,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers/scripts/test_tail.py b/tests/api_resources/workers/scripts/test_tail.py index b771799d077..bfae28b968d 100644 --- a/tests/api_resources/workers/scripts/test_tail.py +++ b/tests/api_resources/workers/scripts/test_tail.py @@ -17,7 +17,6 @@ class TestTail: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: tail = client.workers.scripts.tail.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers.scripts.tail.with_raw_response.create( @@ -41,7 +39,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tail = response.parse() assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers.scripts.tail.with_streaming_response.create( @@ -57,7 +54,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -74,7 +70,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tail = client.workers.scripts.tail.delete( @@ -84,7 +79,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(TailDeleteResponse, tail, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers.scripts.tail.with_raw_response.delete( @@ -98,7 +92,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tail = response.parse() assert_matches_type(TailDeleteResponse, tail, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers.scripts.tail.with_streaming_response.delete( @@ -114,7 +107,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -138,7 +130,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: script_name="this-is_my_script-01", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tail = client.workers.scripts.tail.get( @@ -147,7 +138,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.tail.with_raw_response.get( @@ -160,7 +150,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tail = response.parse() assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.tail.with_streaming_response.get( @@ -175,7 +164,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -194,7 +182,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTail: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tail = await async_client.workers.scripts.tail.create( @@ -204,7 +191,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.tail.with_raw_response.create( @@ -218,7 +204,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tail = await response.parse() assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.tail.with_streaming_response.create( @@ -234,7 +219,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -251,7 +235,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tail = await async_client.workers.scripts.tail.delete( @@ -261,7 +244,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TailDeleteResponse, tail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.tail.with_raw_response.delete( @@ -275,7 +257,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tail = await response.parse() assert_matches_type(TailDeleteResponse, tail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.tail.with_streaming_response.delete( @@ -291,7 +272,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -315,7 +295,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: script_name="this-is_my_script-01", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tail = await async_client.workers.scripts.tail.get( @@ -324,7 +303,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.tail.with_raw_response.get( @@ -337,7 +315,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tail = await response.parse() assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.tail.with_streaming_response.get( @@ -352,7 +329,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers/scripts/test_versions.py b/tests/api_resources/workers/scripts/test_versions.py index a7df8e4fead..11e2b69000d 100644 --- a/tests/api_resources/workers/scripts/test_versions.py +++ b/tests/api_resources/workers/scripts/test_versions.py @@ -21,7 +21,7 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.create( @@ -30,7 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.create( @@ -58,7 +58,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers.scripts.versions.with_raw_response.create( @@ -71,7 +71,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers.scripts.versions.with_streaming_response.create( @@ -86,7 +86,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -101,7 +101,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.list( @@ -110,7 +109,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionListResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers.scripts.versions.with_raw_response.list( @@ -123,7 +121,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(Optional[VersionListResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers.scripts.versions.with_streaming_response.list( @@ -138,7 +135,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -153,7 +149,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.get( @@ -163,7 +158,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.versions.with_raw_response.get( @@ -177,7 +171,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.versions.with_streaming_response.get( @@ -193,7 +186,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -221,7 +213,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVersions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.create( @@ -230,7 +222,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.create( @@ -258,7 +250,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.versions.with_raw_response.create( @@ -271,7 +263,7 @@ 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() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.versions.with_streaming_response.create( @@ -286,7 +278,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -301,7 +293,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.list( @@ -310,7 +301,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VersionListResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.versions.with_raw_response.list( @@ -323,7 +313,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(Optional[VersionListResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.versions.with_streaming_response.list( @@ -338,7 +327,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -353,7 +341,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.get( @@ -363,7 +350,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.versions.with_raw_response.get( @@ -377,7 +363,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.versions.with_streaming_response.get( @@ -393,7 +378,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers/test_account_settings.py b/tests/api_resources/workers/test_account_settings.py index e4a4dfdba55..c08e890ea55 100644 --- a/tests/api_resources/workers/test_account_settings.py +++ b/tests/api_resources/workers/test_account_settings.py @@ -20,7 +20,6 @@ class TestAccountSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: account_setting = client.workers.account_settings.update( @@ -29,7 +28,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.account_settings.with_raw_response.update( @@ -42,7 +40,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: account_setting = response.parse() assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.account_settings.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() @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: body="{'default_usage_model': 'unbound'}", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: account_setting = client.workers.account_settings.get( @@ -74,7 +69,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.account_settings.with_raw_response.get( @@ -86,7 +80,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: account_setting = response.parse() assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.account_settings.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() @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 TestAsyncAccountSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: account_setting = await async_client.workers.account_settings.update( @@ -121,7 +112,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.account_settings.with_raw_response.update( @@ -134,7 +124,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: account_setting = await response.parse() assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.account_settings.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() @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: body="{'default_usage_model': 'unbound'}", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: account_setting = await async_client.workers.account_settings.get( @@ -166,7 +153,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.account_settings.with_raw_response.get( @@ -178,7 +164,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: account_setting = await response.parse() assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.account_settings.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() @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/workers/test_ai.py b/tests/api_resources/workers/test_ai.py index 9b149b9f72b..a439ad70a25 100644 --- a/tests/api_resources/workers/test_ai.py +++ b/tests/api_resources/workers/test_ai.py @@ -17,7 +17,6 @@ class TestAI: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_run_overload_1(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -27,7 +26,6 @@ def test_method_run_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_1(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -41,7 +39,6 @@ def test_raw_response_run_overload_1(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_1(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -57,7 +54,6 @@ def test_streaming_response_run_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_1(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_run_overload_1(self, client: Cloudflare) -> None: text="x", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_2(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -84,7 +79,6 @@ def test_method_run_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_2(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -99,7 +93,6 @@ def test_method_run_with_all_params_overload_2(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_2(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -113,7 +106,6 @@ def test_raw_response_run_overload_2(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_2(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -129,7 +121,6 @@ def test_streaming_response_run_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -146,7 +137,6 @@ def test_path_params_run_overload_2(self, client: Cloudflare) -> None: prompt="x", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_3(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -157,7 +147,6 @@ def test_method_run_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_3(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -172,7 +161,6 @@ def test_raw_response_run_overload_3(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_3(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -189,7 +177,6 @@ def test_streaming_response_run_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -208,7 +195,6 @@ def test_path_params_run_overload_3(self, client: Cloudflare) -> None: source="x", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_4(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -218,7 +204,6 @@ def test_method_run_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_4(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -232,7 +217,6 @@ def test_raw_response_run_overload_4(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_4(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -248,7 +232,6 @@ def test_streaming_response_run_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -265,7 +248,6 @@ def test_path_params_run_overload_4(self, client: Cloudflare) -> None: text="x", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_5(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -274,7 +256,6 @@ def test_method_run_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_5(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -284,7 +265,6 @@ def test_method_run_with_all_params_overload_5(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_5(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -297,7 +277,6 @@ def test_raw_response_run_overload_5(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_5(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -312,7 +291,6 @@ def test_streaming_response_run_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -327,7 +305,6 @@ def test_path_params_run_overload_5(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_6(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -336,7 +313,6 @@ def test_method_run_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_6(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -346,7 +322,6 @@ def test_method_run_with_all_params_overload_6(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_6(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -359,7 +334,6 @@ def test_raw_response_run_overload_6(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_6(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -374,7 +348,6 @@ def test_streaming_response_run_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -389,7 +362,6 @@ def test_path_params_run_overload_6(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_7(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -398,7 +370,6 @@ def test_method_run_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_7(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -408,7 +379,6 @@ def test_method_run_with_all_params_overload_7(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_7(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -421,7 +391,6 @@ def test_raw_response_run_overload_7(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_7(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -436,7 +405,6 @@ def test_streaming_response_run_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -451,7 +419,6 @@ def test_path_params_run_overload_7(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_8(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -460,7 +427,6 @@ def test_method_run_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_8(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -488,7 +454,6 @@ def test_method_run_with_all_params_overload_8(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_8(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -501,7 +466,6 @@ def test_raw_response_run_overload_8(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_8(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -516,7 +480,6 @@ def test_streaming_response_run_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -531,7 +494,6 @@ def test_path_params_run_overload_8(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_9(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -542,7 +504,6 @@ def test_method_run_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_9(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -554,7 +515,6 @@ def test_method_run_with_all_params_overload_9(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_9(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -569,7 +529,6 @@ def test_raw_response_run_overload_9(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_9(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -586,7 +545,6 @@ def test_streaming_response_run_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -605,7 +563,6 @@ def test_path_params_run_overload_9(self, client: Cloudflare) -> None: text="x", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_10(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -615,7 +572,6 @@ def test_method_run_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_10(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -626,7 +582,6 @@ def test_method_run_with_all_params_overload_10(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_10(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -640,7 +595,6 @@ def test_raw_response_run_overload_10(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_10(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -656,7 +610,6 @@ def test_streaming_response_run_overload_10(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -673,7 +626,6 @@ def test_path_params_run_overload_10(self, client: Cloudflare) -> None: input_text="x", ) - @pytest.mark.skip() @parametrize def test_method_run_overload_11(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -683,7 +635,6 @@ def test_method_run_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_11(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -711,7 +662,6 @@ def test_method_run_with_all_params_overload_11(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_run_overload_11(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -725,7 +675,6 @@ def test_raw_response_run_overload_11(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_11(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -741,7 +690,6 @@ def test_streaming_response_run_overload_11(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_run_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -762,7 +710,6 @@ def test_path_params_run_overload_11(self, client: Cloudflare) -> None: class TestAsyncAI: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_run_overload_1(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -772,7 +719,6 @@ async def test_method_run_overload_1(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -786,7 +732,6 @@ async def test_raw_response_run_overload_1(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -802,7 +747,6 @@ async def test_streaming_response_run_overload_1(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -819,7 +763,6 @@ async def test_path_params_run_overload_1(self, async_client: AsyncCloudflare) - text="x", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_2(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -829,7 +772,6 @@ async def test_method_run_overload_2(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -844,7 +786,6 @@ async def test_method_run_with_all_params_overload_2(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -858,7 +799,6 @@ async def test_raw_response_run_overload_2(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -874,7 +814,6 @@ async def test_streaming_response_run_overload_2(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -891,7 +830,6 @@ async def test_path_params_run_overload_2(self, async_client: AsyncCloudflare) - prompt="x", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_3(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -902,7 +840,6 @@ async def test_method_run_overload_3(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -917,7 +854,6 @@ async def test_raw_response_run_overload_3(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -934,7 +870,6 @@ async def test_streaming_response_run_overload_3(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -953,7 +888,6 @@ async def test_path_params_run_overload_3(self, async_client: AsyncCloudflare) - source="x", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_4(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -963,7 +897,6 @@ async def test_method_run_overload_4(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -977,7 +910,6 @@ async def test_raw_response_run_overload_4(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -993,7 +925,6 @@ async def test_streaming_response_run_overload_4(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1010,7 +941,6 @@ async def test_path_params_run_overload_4(self, async_client: AsyncCloudflare) - text="x", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_5(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1019,7 +949,6 @@ async def test_method_run_overload_5(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1029,7 +958,6 @@ async def test_method_run_with_all_params_overload_5(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1042,7 +970,6 @@ async def test_raw_response_run_overload_5(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1057,7 +984,6 @@ async def test_streaming_response_run_overload_5(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1072,7 +998,6 @@ async def test_path_params_run_overload_5(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_6(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1081,7 +1006,6 @@ async def test_method_run_overload_6(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1091,7 +1015,6 @@ async def test_method_run_with_all_params_overload_6(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1104,7 +1027,6 @@ async def test_raw_response_run_overload_6(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1119,7 +1041,6 @@ async def test_streaming_response_run_overload_6(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1134,7 +1055,6 @@ async def test_path_params_run_overload_6(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_7(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1143,7 +1063,6 @@ async def test_method_run_overload_7(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1153,7 +1072,6 @@ async def test_method_run_with_all_params_overload_7(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1166,7 +1084,6 @@ async def test_raw_response_run_overload_7(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1181,7 +1098,6 @@ async def test_streaming_response_run_overload_7(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1196,7 +1112,6 @@ async def test_path_params_run_overload_7(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_8(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1205,7 +1120,6 @@ async def test_method_run_overload_8(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1233,7 +1147,6 @@ async def test_method_run_with_all_params_overload_8(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1246,7 +1159,6 @@ async def test_raw_response_run_overload_8(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1261,7 +1173,6 @@ async def test_streaming_response_run_overload_8(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1276,7 +1187,6 @@ async def test_path_params_run_overload_8(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_9(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1287,7 +1197,6 @@ async def test_method_run_overload_9(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1299,7 +1208,6 @@ async def test_method_run_with_all_params_overload_9(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1314,7 +1222,6 @@ async def test_raw_response_run_overload_9(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1331,7 +1238,6 @@ async def test_streaming_response_run_overload_9(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1350,7 +1256,6 @@ async def test_path_params_run_overload_9(self, async_client: AsyncCloudflare) - text="x", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_10(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1360,7 +1265,6 @@ async def test_method_run_overload_10(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1371,7 +1275,6 @@ async def test_method_run_with_all_params_overload_10(self, async_client: AsyncC ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1385,7 +1288,6 @@ async def test_raw_response_run_overload_10(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1401,7 +1303,6 @@ async def test_streaming_response_run_overload_10(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1418,7 +1319,6 @@ async def test_path_params_run_overload_10(self, async_client: AsyncCloudflare) input_text="x", ) - @pytest.mark.skip() @parametrize async def test_method_run_overload_11(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1428,7 +1328,6 @@ async def test_method_run_overload_11(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1456,7 +1355,6 @@ async def test_method_run_with_all_params_overload_11(self, async_client: AsyncC ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1470,7 +1368,6 @@ async def test_raw_response_run_overload_11(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1486,7 +1383,6 @@ async def test_streaming_response_run_overload_11(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_run_overload_11(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/workers/test_domains.py b/tests/api_resources/workers/test_domains.py index b2745181878..7de5c103792 100644 --- a/tests/api_resources/workers/test_domains.py +++ b/tests/api_resources/workers/test_domains.py @@ -18,7 +18,6 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: domain = client.workers.domains.update( @@ -30,7 +29,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.update( @@ -46,7 +44,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.update( @@ -64,7 +61,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -76,7 +72,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="593c9c94de529bbbfaac7c53ced0447d", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: domain = client.workers.domains.list( @@ -84,7 +79,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: domain = client.workers.domains.list( @@ -97,7 +91,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.list( @@ -109,7 +102,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.list( @@ -123,7 +115,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +122,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: domain = client.workers.domains.delete( @@ -140,7 +130,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert domain is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.delete( @@ -153,7 +142,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: domain = response.parse() assert domain is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.delete( @@ -168,7 +156,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +170,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="9a7806061c88ada191ed06f989cc3dac", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.workers.domains.get( @@ -192,7 +178,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.get( @@ -205,7 +190,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.get( @@ -220,7 +204,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -239,7 +222,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.update( @@ -251,7 +233,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.update( @@ -267,7 +248,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.update( @@ -285,7 +265,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -297,7 +276,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="593c9c94de529bbbfaac7c53ced0447d", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.list( @@ -305,7 +283,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.list( @@ -318,7 +295,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.list( @@ -330,7 +306,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.list( @@ -344,7 +319,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -352,7 +326,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.delete( @@ -361,7 +334,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert domain is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.delete( @@ -374,7 +346,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert domain is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.delete( @@ -389,7 +360,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -404,7 +374,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="9a7806061c88ada191ed06f989cc3dac", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.get( @@ -413,7 +382,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.get( @@ -426,7 +394,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.get( @@ -441,7 +408,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers/test_scripts.py b/tests/api_resources/workers/test_scripts.py index cb016247685..0bd3fc17497 100644 --- a/tests/api_resources/workers/test_scripts.py +++ b/tests/api_resources/workers/test_scripts.py @@ -26,7 +26,7 @@ class TestScripts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -35,7 +35,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -119,7 +119,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.update( @@ -132,7 +132,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.update( @@ -147,7 +147,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -162,7 +162,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -171,7 +171,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -182,7 +182,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.update( @@ -195,7 +195,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.update( @@ -210,7 +210,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -225,7 +225,6 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: script = client.workers.scripts.list( @@ -233,7 +232,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.list( @@ -245,7 +243,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(SyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.list( @@ -259,7 +256,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -267,7 +263,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: script = client.workers.scripts.delete( @@ -276,7 +271,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert script is None - @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: script = client.workers.scripts.delete( @@ -286,7 +280,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert script is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.delete( @@ -299,7 +292,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: script = response.parse() assert script is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.delete( @@ -314,7 +306,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -329,7 +320,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -345,7 +335,6 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, script.is_closed) is True assert isinstance(script, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -363,7 +352,6 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert script.json() == {"foo": "bar"} assert isinstance(script, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -383,7 +371,6 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, script.is_closed) is True - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -403,7 +390,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncScripts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -412,7 +399,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -496,7 +483,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @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.workers.scripts.with_raw_response.update( @@ -509,7 +496,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @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.workers.scripts.with_streaming_response.update( @@ -524,7 +511,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -539,7 +526,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -548,7 +535,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -559,7 +546,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @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.workers.scripts.with_raw_response.update( @@ -572,7 +559,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[Script], script, path=["response"]) - @pytest.mark.skip() + @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.workers.scripts.with_streaming_response.update( @@ -587,7 +574,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -602,7 +589,6 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.list( @@ -610,7 +596,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.with_raw_response.list( @@ -622,7 +607,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.with_streaming_response.list( @@ -636,7 +620,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -644,7 +627,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.delete( @@ -653,7 +635,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert script is None - @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.delete( @@ -663,7 +644,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert script is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.with_raw_response.delete( @@ -676,7 +656,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert script is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.with_streaming_response.delete( @@ -691,7 +670,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -706,7 +684,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -722,7 +699,6 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, script.is_closed) is True assert isinstance(script, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -740,7 +716,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await script.json() == {"foo": "bar"} assert isinstance(script, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -760,7 +735,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, script.is_closed) is True - @pytest.mark.skip() @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/workers/test_subdomains.py b/tests/api_resources/workers/test_subdomains.py index 03efd638828..7d4b05f92d4 100644 --- a/tests/api_resources/workers/test_subdomains.py +++ b/tests/api_resources/workers/test_subdomains.py @@ -17,7 +17,6 @@ class TestSubdomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: subdomain = client.workers.subdomains.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.subdomains.with_raw_response.update( @@ -39,7 +37,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: subdomain = response.parse() assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.subdomains.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() @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: body="{'subdomain': 'example-subdomain'}", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subdomain = client.workers.subdomains.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.subdomains.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subdomain = response.parse() assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.subdomains.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSubdomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: subdomain = await async_client.workers.subdomains.update( @@ -118,7 +109,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.subdomains.with_raw_response.update( @@ -131,7 +121,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: subdomain = await response.parse() assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.subdomains.with_streaming_response.update( @@ -146,7 +135,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body="{'subdomain': 'example-subdomain'}", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subdomain = await async_client.workers.subdomains.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.subdomains.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subdomain = await response.parse() assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.subdomains.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py index a5e2e126fec..29c42f700b9 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py @@ -17,7 +17,6 @@ class TestBindings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: binding = client.workers_for_platforms.dispatch.namespaces.scripts.bindings.get( @@ -27,7 +26,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.bindings.with_raw_response.get( @@ -41,7 +39,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.bindings.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() @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 TestAsyncBindings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: binding = await async_client.workers_for_platforms.dispatch.namespaces.scripts.bindings.get( @@ -95,7 +90,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.bindings.with_raw_response.get( @@ -109,7 +103,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.bindings.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() @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/workers_for_platforms/dispatch/namespaces/scripts/test_content.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_content.py index 6c1374dca41..a9073edfee5 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_content.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_content.py @@ -25,7 +25,7 @@ class TestContent: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: content = client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -35,7 +35,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: content = client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -50,7 +50,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.content.with_raw_response.update( @@ -64,7 +64,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: content = response.parse() assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.content.with_streaming_response.update( @@ -80,7 +80,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -104,7 +104,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -121,7 +120,6 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, content.is_closed) is True assert isinstance(content, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -140,7 +138,6 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert content.json() == {"foo": "bar"} assert isinstance(content, BinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -161,7 +158,6 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, content.is_closed) is True - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -190,7 +186,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncContent: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -200,7 +196,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -215,7 +211,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = ( @@ -231,7 +227,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: content = await response.parse() assert_matches_type(Optional[Script], content, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.content.with_streaming_response.update( @@ -247,7 +243,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -271,7 +267,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -288,7 +283,6 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, content.is_closed) is True assert isinstance(content, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -307,7 +301,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await content.json() == {"foo": "bar"} assert isinstance(content, AsyncBinaryAPIResponse) - @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -328,7 +321,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, content.is_closed) is True - @pytest.mark.skip() @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/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py index 80ca972e5f3..d839e9074b8 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py @@ -21,7 +21,6 @@ class TestSecrets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: secret = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -31,7 +30,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: secret = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -44,7 +42,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_raw_response.update( @@ -58,7 +55,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: secret = response.parse() assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.update( @@ -74,7 +70,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -98,7 +93,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: secret = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.list( @@ -108,7 +102,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SecretListResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_raw_response.list( @@ -122,7 +115,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: secret = response.parse() assert_matches_type(SyncSinglePage[SecretListResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.list( @@ -138,7 +130,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -166,7 +157,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncSecrets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: secret = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -176,7 +166,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: secret = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -189,7 +178,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = ( @@ -205,7 +193,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: secret = await response.parse() assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.update( @@ -221,7 +208,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -245,7 +231,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: secret = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.list( @@ -255,7 +240,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SecretListResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_raw_response.list( @@ -269,7 +253,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: secret = await response.parse() assert_matches_type(AsyncSinglePage[SecretListResponse], secret, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.list( @@ -285,7 +268,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py index 64f27b5f64b..c96a0c83565 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py @@ -20,7 +20,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -30,7 +30,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -108,7 +108,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.edit( @@ -122,7 +122,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.edit( @@ -138,7 +138,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -162,7 +162,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.workers_for_platforms.dispatch.namespaces.scripts.settings.get( @@ -172,7 +171,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.get( @@ -186,7 +184,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.get( @@ -202,7 +199,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -230,7 +226,7 @@ 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() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -240,7 +236,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip() + @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.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -318,7 +314,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.edit( @@ -332,7 +328,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.edit( @@ -348,7 +344,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -372,7 +368,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.get( @@ -382,7 +377,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.get( @@ -396,7 +390,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.get( @@ -412,7 +405,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py index a273f1b53b0..a72e6183c72 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py @@ -21,7 +21,6 @@ class TestTags: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tag = client.workers_for_platforms.dispatch.namespaces.scripts.tags.update( @@ -32,7 +31,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.update( @@ -47,7 +45,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.update( @@ -64,7 +61,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -91,7 +87,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=["my-tag", "my-tag", "my-tag"], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tag = client.workers_for_platforms.dispatch.namespaces.scripts.tags.list( @@ -101,7 +96,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[TagListResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.list( @@ -115,7 +109,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(SyncSinglePage[TagListResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.list( @@ -131,7 +124,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +147,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tag = client.workers_for_platforms.dispatch.namespaces.scripts.tags.delete( @@ -166,7 +157,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.delete( @@ -181,7 +171,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(object, tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.delete( @@ -198,7 +187,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -237,7 +225,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncTags: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tag = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.update( @@ -248,7 +235,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.update( @@ -263,7 +249,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.update( @@ -280,7 +265,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -307,7 +291,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=["my-tag", "my-tag", "my-tag"], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tag = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.list( @@ -317,7 +300,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[TagListResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.list( @@ -331,7 +313,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(AsyncSinglePage[TagListResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.list( @@ -347,7 +328,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -371,7 +351,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tag = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.delete( @@ -382,7 +361,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.delete( @@ -397,7 +375,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(object, tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.delete( @@ -414,7 +391,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py index 878dbe85567..13bbacf62f1 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py @@ -20,7 +20,7 @@ class TestScripts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -30,7 +30,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -114,7 +114,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -128,7 +128,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -144,7 +144,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -168,7 +168,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -178,7 +178,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -189,7 +189,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -203,7 +203,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -219,7 +219,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -243,7 +243,6 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -253,7 +252,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert script is None - @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -264,7 +262,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert script is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.delete( @@ -278,7 +275,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: script = response.parse() assert script is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.delete( @@ -294,7 +290,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -318,7 +313,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.get( @@ -328,7 +322,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NamespacesScript], script, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.get( @@ -342,7 +335,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[NamespacesScript], script, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.get( @@ -358,7 +350,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -386,7 +377,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncScripts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -396,7 +387,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -480,7 +471,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @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.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -494,7 +485,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @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.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -510,7 +501,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -534,7 +525,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -544,7 +535,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -555,7 +546,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @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.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -569,7 +560,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[WorkersScript], script, path=["response"]) - @pytest.mark.skip() + @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.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -585,7 +576,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -609,7 +600,6 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -619,7 +609,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert script is None - @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -630,7 +619,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert script is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.delete( @@ -644,7 +632,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert script is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.delete( @@ -660,7 +647,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -684,7 +670,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.get( @@ -694,7 +679,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NamespacesScript], script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.get( @@ -708,7 +692,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(Optional[NamespacesScript], script, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.get( @@ -724,7 +707,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/workers_for_platforms/dispatch/test_namespaces.py b/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py index 11cc9e441f7..cecc0bdbcf4 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py +++ b/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py @@ -22,7 +22,6 @@ class TestNamespaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -73,7 +68,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.list( @@ -81,7 +75,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[NamespaceListResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.list( @@ -93,7 +86,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(SyncSinglePage[NamespaceListResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.list( @@ -107,7 +99,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -115,7 +106,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.delete( @@ -124,7 +114,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.delete( @@ -137,7 +126,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(object, namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.delete( @@ -152,7 +140,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -167,7 +154,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.get( @@ -176,7 +162,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.get( @@ -189,7 +174,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.get( @@ -204,7 +188,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -223,7 +206,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncNamespaces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.create( @@ -231,7 +213,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.create( @@ -240,7 +221,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.create( @@ -252,7 +232,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.create( @@ -266,7 +245,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -274,7 +252,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.list( @@ -282,7 +259,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[NamespaceListResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.list( @@ -294,7 +270,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(AsyncSinglePage[NamespaceListResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.list( @@ -308,7 +283,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -316,7 +290,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.delete( @@ -325,7 +298,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.delete( @@ -338,7 +310,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(object, namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.delete( @@ -353,7 +324,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -368,7 +338,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.get( @@ -377,7 +346,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.get( @@ -390,7 +358,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.get( @@ -405,7 +372,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/applications/test_cas.py b/tests/api_resources/zero_trust/access/applications/test_cas.py index df7215fbd09..745e334fc35 100644 --- a/tests/api_resources/zero_trust/access/applications/test_cas.py +++ b/tests/api_resources/zero_trust/access/applications/test_cas.py @@ -18,7 +18,7 @@ class TestCAs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.create( @@ -36,7 +36,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.create( @@ -49,7 +49,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.create( @@ -64,7 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -85,7 +85,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.list( @@ -93,7 +93,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CA], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.list( @@ -101,7 +101,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CA], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.list( @@ -113,7 +113,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(SyncSinglePage[CA], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.list( @@ -127,7 +127,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -140,7 +140,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.delete( @@ -149,7 +149,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.delete( @@ -158,7 +158,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.delete( @@ -171,7 +171,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.delete( @@ -186,7 +186,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -207,7 +207,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.get( @@ -216,7 +216,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.get( @@ -225,7 +225,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.get( @@ -238,7 +238,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.get( @@ -253,7 +253,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -278,7 +278,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCAs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.create( @@ -287,7 +287,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.create( @@ -296,7 +296,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) - @pytest.mark.skip() + @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.cas.with_raw_response.create( @@ -309,7 +309,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) - @pytest.mark.skip() + @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.cas.with_streaming_response.create( @@ -324,7 +324,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -345,7 +345,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.list( @@ -353,7 +353,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CA], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.list( @@ -361,7 +361,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[CA], ca, path=["response"]) - @pytest.mark.skip() + @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.cas.with_raw_response.list( @@ -373,7 +373,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(AsyncSinglePage[CA], ca, path=["response"]) - @pytest.mark.skip() + @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.cas.with_streaming_response.list( @@ -387,7 +387,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -400,7 +400,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.delete( @@ -409,7 +409,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.delete( @@ -418,7 +418,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) - @pytest.mark.skip() + @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.applications.cas.with_raw_response.delete( @@ -431,7 +431,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) - @pytest.mark.skip() + @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.applications.cas.with_streaming_response.delete( @@ -446,7 +446,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -467,7 +467,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.get( @@ -476,7 +476,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.get( @@ -485,7 +485,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) - @pytest.mark.skip() + @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.cas.with_raw_response.get( @@ -498,7 +498,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) - @pytest.mark.skip() + @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.cas.with_streaming_response.get( @@ -513,7 +513,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): diff --git a/tests/api_resources/zero_trust/access/applications/test_policies.py b/tests/api_resources/zero_trust/access/applications/test_policies.py index 5043832dac7..88c1920f5e9 100644 --- a/tests/api_resources/zero_trust/access/applications/test_policies.py +++ b/tests/api_resources/zero_trust/access/applications/test_policies.py @@ -21,7 +21,7 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.create( @@ -37,7 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.applications.policies.create( @@ -81,7 +81,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.create( @@ -101,7 +101,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.create( @@ -123,7 +123,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -165,7 +165,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.update( @@ -182,7 +182,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.applications.policies.update( @@ -227,7 +227,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.update( @@ -248,7 +248,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.update( @@ -271,7 +271,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid1` but received ''"): @@ -330,7 +330,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.list( @@ -339,7 +339,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.list( @@ -348,7 +348,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.list( @@ -361,7 +361,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.list( @@ -376,7 +376,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -397,7 +397,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.delete( @@ -407,7 +407,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.delete( @@ -417,7 +417,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.delete( @@ -431,7 +431,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.delete( @@ -447,7 +447,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid1` but received ''"): @@ -478,7 +478,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.get( @@ -488,7 +488,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.get( @@ -498,7 +498,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.get( @@ -512,7 +512,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.get( @@ -528,7 +528,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid1` but received ''"): @@ -563,7 +563,7 @@ 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() + @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.applications.policies.create( @@ -579,7 +579,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.applications.policies.create( @@ -623,7 +623,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_raw_response.create( @@ -643,7 +643,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_streaming_response.create( @@ -665,7 +665,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -707,7 +707,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @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.applications.policies.update( @@ -724,7 +724,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.applications.policies.update( @@ -769,7 +769,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.applications.policies.with_raw_response.update( @@ -790,7 +790,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.applications.policies.with_streaming_response.update( @@ -813,7 +813,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid1` but received ''"): @@ -872,7 +872,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @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.applications.policies.list( @@ -881,7 +881,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.list( @@ -890,7 +890,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_raw_response.list( @@ -903,7 +903,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_streaming_response.list( @@ -918,7 +918,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -939,7 +939,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @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.applications.policies.delete( @@ -949,7 +949,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.delete( @@ -959,7 +959,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() + @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.applications.policies.with_raw_response.delete( @@ -973,7 +973,7 @@ 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() + @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.applications.policies.with_streaming_response.delete( @@ -989,7 +989,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid1` but received ''"): @@ -1020,7 +1020,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @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.applications.policies.get( @@ -1030,7 +1030,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.get( @@ -1040,7 +1040,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_raw_response.get( @@ -1054,7 +1054,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_streaming_response.get( @@ -1070,7 +1070,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid1` but received ''"): diff --git a/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py b/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py index 73e91aeae96..8fc0b51814e 100644 --- a/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py +++ b/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py @@ -17,7 +17,7 @@ class TestUserPolicyChecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: user_policy_check = client.zero_trust.access.applications.user_policy_checks.list( @@ -26,7 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: user_policy_check = client.zero_trust.access.applications.user_policy_checks.list( @@ -35,7 +35,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.user_policy_checks.with_raw_response.list( @@ -48,7 +48,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: user_policy_check = response.parse() assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.user_policy_checks.with_streaming_response.list( @@ -63,7 +63,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +82,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncUserPolicyChecks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: user_policy_check = await async_client.zero_trust.access.applications.user_policy_checks.list( @@ -91,7 +91,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: user_policy_check = await async_client.zero_trust.access.applications.user_policy_checks.list( @@ -100,7 +100,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) - @pytest.mark.skip() + @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.user_policy_checks.with_raw_response.list( @@ -113,7 +113,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: user_policy_check = await response.parse() assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) - @pytest.mark.skip() + @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.user_policy_checks.with_streaming_response.list( @@ -128,7 +128,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/certificates/test_settings.py b/tests/api_resources/zero_trust/access/certificates/test_settings.py index 5d93ea9c445..444f9b77fb8 100644 --- a/tests/api_resources/zero_trust/access/certificates/test_settings.py +++ b/tests/api_resources/zero_trust/access/certificates/test_settings.py @@ -20,7 +20,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.update( @@ -45,7 +45,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.update( @@ -70,7 +70,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.settings.with_raw_response.update( @@ -99,7 +99,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.settings.with_streaming_response.update( @@ -130,7 +130,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -177,7 +177,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.get( @@ -185,7 +185,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.get( @@ -193,7 +193,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.settings.with_raw_response.get( @@ -205,7 +205,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.settings.with_streaming_response.get( @@ -219,7 +219,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -236,7 +236,7 @@ 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() + @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.access.certificates.settings.update( @@ -261,7 +261,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) - @pytest.mark.skip() + @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.access.certificates.settings.update( @@ -286,7 +286,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) - @pytest.mark.skip() + @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.certificates.settings.with_raw_response.update( @@ -315,7 +315,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) - @pytest.mark.skip() + @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.certificates.settings.with_streaming_response.update( @@ -346,7 +346,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -393,7 +393,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.access.certificates.settings.get( @@ -401,7 +401,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.access.certificates.settings.get( @@ -409,7 +409,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) - @pytest.mark.skip() + @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.certificates.settings.with_raw_response.get( @@ -421,7 +421,7 @@ 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() + @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.certificates.settings.with_streaming_response.get( @@ -435,7 +435,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 411964d255b..6e0b18db5a3 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 @@ -17,7 +17,6 @@ class TestAccessRequests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: access_request = client.zero_trust.access.logs.access_requests.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.logs.access_requests.with_raw_response.list( @@ -37,7 +35,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() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.logs.access_requests.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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -63,7 +59,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() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: access_request = await async_client.zero_trust.access.logs.access_requests.list( @@ -71,7 +66,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) - @pytest.mark.skip() @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( @@ -83,7 +77,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() @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( @@ -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() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_applications.py b/tests/api_resources/zero_trust/access/test_applications.py index 2d3f1ee7465..3d23e6dc146 100644 --- a/tests/api_resources/zero_trust/access/test_applications.py +++ b/tests/api_resources/zero_trust/access/test_applications.py @@ -21,7 +21,7 @@ class TestApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -31,7 +31,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -79,7 +79,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -93,7 +93,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -109,7 +109,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -126,7 +126,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -134,7 +134,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -183,7 +183,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -195,7 +195,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -209,7 +209,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -222,7 +222,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -232,7 +232,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -280,7 +280,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -294,7 +294,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -310,7 +310,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -327,7 +327,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -337,7 +337,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -385,7 +385,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -399,7 +399,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -415,7 +415,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -432,7 +432,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -441,7 +441,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -457,7 +457,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -470,7 +470,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -485,7 +485,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -500,7 +500,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -509,7 +509,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -525,7 +525,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -538,7 +538,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -553,7 +553,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -568,7 +568,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -577,7 +577,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -593,7 +593,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -606,7 +606,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -621,7 +621,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -636,7 +636,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -644,7 +644,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -658,7 +658,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -670,7 +670,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -684,7 +684,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -697,7 +697,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -708,7 +708,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -757,7 +757,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -772,7 +772,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -789,7 +789,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -808,7 +808,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -817,7 +817,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -867,7 +867,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -880,7 +880,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -895,7 +895,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -910,7 +910,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -921,7 +921,7 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -970,7 +970,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -985,7 +985,7 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1002,7 +1002,7 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -1021,7 +1021,7 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1032,7 +1032,7 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1081,7 +1081,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1096,7 +1096,7 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1113,7 +1113,7 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1132,7 +1132,7 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1142,7 +1142,7 @@ def test_method_update_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1159,7 +1159,7 @@ def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1173,7 +1173,7 @@ def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1189,7 +1189,7 @@ def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1206,7 +1206,7 @@ def test_path_params_update_overload_5(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1216,7 +1216,7 @@ def test_method_update_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1233,7 +1233,7 @@ def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1247,7 +1247,7 @@ def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1263,7 +1263,7 @@ def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1280,7 +1280,7 @@ def test_path_params_update_overload_6(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1290,7 +1290,7 @@ def test_method_update_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1307,7 +1307,7 @@ def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1321,7 +1321,7 @@ def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1337,7 +1337,7 @@ def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1354,7 +1354,7 @@ def test_path_params_update_overload_7(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1363,7 +1363,7 @@ def test_method_update_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1378,7 +1378,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1391,7 +1391,7 @@ def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1406,7 +1406,7 @@ def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1421,7 +1421,7 @@ def test_path_params_update_overload_8(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.list( @@ -1429,7 +1429,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.list( @@ -1437,7 +1437,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.list( @@ -1449,7 +1449,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(SyncSinglePage[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.list( @@ -1463,7 +1463,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -1476,7 +1476,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.delete( @@ -1485,7 +1485,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.delete( @@ -1494,7 +1494,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.delete( @@ -1507,7 +1507,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.delete( @@ -1522,7 +1522,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -1537,7 +1537,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.get( @@ -1546,7 +1546,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.get( @@ -1555,7 +1555,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.get( @@ -1568,7 +1568,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.get( @@ -1583,7 +1583,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -1598,7 +1598,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_revoke_tokens(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.revoke_tokens( @@ -1607,7 +1607,7 @@ def test_method_revoke_tokens(self, client: Cloudflare) -> None: ) assert_matches_type(object, application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_revoke_tokens_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.revoke_tokens( @@ -1616,7 +1616,7 @@ def test_method_revoke_tokens_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_revoke_tokens(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.revoke_tokens( @@ -1629,7 +1629,7 @@ def test_raw_response_revoke_tokens(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(object, application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_revoke_tokens(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.revoke_tokens( @@ -1644,7 +1644,7 @@ def test_streaming_response_revoke_tokens(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_revoke_tokens(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1663,7 +1663,7 @@ def test_path_params_revoke_tokens(self, client: Cloudflare) -> None: class TestAsyncApplications: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1673,7 +1673,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1721,7 +1721,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_raw_response.create( @@ -1735,7 +1735,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_streaming_response.create( @@ -1751,7 +1751,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -1768,7 +1768,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1776,7 +1776,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1825,7 +1825,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_raw_response.create( @@ -1837,7 +1837,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_streaming_response.create( @@ -1851,7 +1851,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -1864,7 +1864,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1874,7 +1874,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1922,7 +1922,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -1936,7 +1936,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -1952,7 +1952,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1969,7 +1969,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1979,7 +1979,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2027,7 +2027,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2041,7 +2041,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2057,7 +2057,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2074,7 +2074,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2083,7 +2083,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2099,7 +2099,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2112,7 +2112,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2127,7 +2127,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2142,7 +2142,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2151,7 +2151,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2167,7 +2167,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2180,7 +2180,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2195,7 +2195,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2210,7 +2210,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2219,7 +2219,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2235,7 +2235,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2248,7 +2248,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2263,7 +2263,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2278,7 +2278,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2286,7 +2286,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2300,7 +2300,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2312,7 +2312,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2326,7 +2326,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2339,7 +2339,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2350,7 +2350,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2399,7 +2399,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_raw_response.update( @@ -2414,7 +2414,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_streaming_response.update( @@ -2431,7 +2431,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -2450,7 +2450,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2459,7 +2459,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2509,7 +2509,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_raw_response.update( @@ -2522,7 +2522,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_streaming_response.update( @@ -2537,7 +2537,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -2552,7 +2552,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2563,7 +2563,7 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2612,7 +2612,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_raw_response.update( @@ -2627,7 +2627,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.access.applications.with_streaming_response.update( @@ -2644,7 +2644,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -2663,7 +2663,7 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2674,7 +2674,7 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2723,7 +2723,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2738,7 +2738,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2755,7 +2755,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2774,7 +2774,7 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2784,7 +2784,7 @@ async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2801,7 +2801,7 @@ async def test_method_update_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2815,7 +2815,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2831,7 +2831,7 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2848,7 +2848,7 @@ async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2858,7 +2858,7 @@ async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2875,7 +2875,7 @@ async def test_method_update_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2889,7 +2889,7 @@ async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2905,7 +2905,7 @@ async def test_streaming_response_update_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2922,7 +2922,7 @@ async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2932,7 +2932,7 @@ async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2949,7 +2949,7 @@ async def test_method_update_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2963,7 +2963,7 @@ async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2979,7 +2979,7 @@ async def test_streaming_response_update_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2996,7 +2996,7 @@ async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -3005,7 +3005,7 @@ async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -3020,7 +3020,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -3033,7 +3033,7 @@ async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -3048,7 +3048,7 @@ async def test_streaming_response_update_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3063,7 +3063,7 @@ async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.list( @@ -3071,7 +3071,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.list( @@ -3079,7 +3079,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Application], application, path=["response"]) - @pytest.mark.skip() + @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.with_raw_response.list( @@ -3091,7 +3091,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: application = await response.parse() assert_matches_type(AsyncSinglePage[Application], application, path=["response"]) - @pytest.mark.skip() + @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.with_streaming_response.list( @@ -3105,7 +3105,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3118,7 +3118,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.delete( @@ -3127,7 +3127,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.delete( @@ -3136,7 +3136,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) - @pytest.mark.skip() + @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.applications.with_raw_response.delete( @@ -3149,7 +3149,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: application = await response.parse() assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) - @pytest.mark.skip() + @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.applications.with_streaming_response.delete( @@ -3164,7 +3164,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3179,7 +3179,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.get( @@ -3188,7 +3188,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.get( @@ -3197,7 +3197,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.with_raw_response.get( @@ -3210,7 +3210,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) - @pytest.mark.skip() + @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.with_streaming_response.get( @@ -3225,7 +3225,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3240,7 +3240,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_revoke_tokens(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.revoke_tokens( @@ -3249,7 +3249,7 @@ async def test_method_revoke_tokens(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(object, application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_revoke_tokens_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.revoke_tokens( @@ -3258,7 +3258,7 @@ async def test_method_revoke_tokens_with_all_params(self, async_client: AsyncClo ) assert_matches_type(object, application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_revoke_tokens(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.revoke_tokens( @@ -3271,7 +3271,7 @@ async def test_raw_response_revoke_tokens(self, async_client: AsyncCloudflare) - application = await response.parse() assert_matches_type(object, application, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_revoke_tokens(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.revoke_tokens( @@ -3286,7 +3286,7 @@ async def test_streaming_response_revoke_tokens(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_revoke_tokens(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 25c9a2828e4..f063d8abf85 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() @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() @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() @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() @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 ''"): @@ -78,7 +74,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): @@ -135,7 +127,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) - @pytest.mark.skip() @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() @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() @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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -177,7 +165,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @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() @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() @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() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -229,7 +213,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): @@ -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() @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() @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() @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() @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 ''"): @@ -342,7 +318,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): @@ -399,7 +371,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) - @pytest.mark.skip() @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() @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() @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() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -441,7 +409,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @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() @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() @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() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -493,7 +457,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): diff --git a/tests/api_resources/zero_trust/access/test_certificates.py b/tests/api_resources/zero_trust/access/test_certificates.py index 145e3fed23b..14d5566332c 100644 --- a/tests/api_resources/zero_trust/access/test_certificates.py +++ b/tests/api_resources/zero_trust/access/test_certificates.py @@ -21,7 +21,7 @@ class TestCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.create( @@ -31,7 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.create( @@ -42,7 +42,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.create( @@ -56,7 +56,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.create( @@ -72,7 +72,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +89,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.update( @@ -99,7 +99,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.update( @@ -110,7 +110,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.update( @@ -124,7 +124,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.update( @@ -140,7 +140,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -164,7 +164,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.list( @@ -172,7 +172,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.list( @@ -180,7 +180,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.list( @@ -192,7 +192,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(SyncSinglePage[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.list( @@ -206,7 +206,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -219,7 +219,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.delete( @@ -228,7 +228,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.delete( @@ -237,7 +237,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.delete( @@ -250,7 +250,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.delete( @@ -265,7 +265,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -286,7 +286,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.get( @@ -295,7 +295,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.get( @@ -304,7 +304,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.get( @@ -317,7 +317,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.get( @@ -332,7 +332,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -357,7 +357,7 @@ 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() + @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.access.certificates.create( @@ -367,7 +367,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.access.certificates.create( @@ -378,7 +378,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_raw_response.create( @@ -392,7 +392,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_streaming_response.create( @@ -408,7 +408,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -425,7 +425,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.update( @@ -435,7 +435,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.update( @@ -446,7 +446,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_raw_response.update( @@ -460,7 +460,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_streaming_response.update( @@ -476,7 +476,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -500,7 +500,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @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.access.certificates.list( @@ -508,7 +508,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.list( @@ -516,7 +516,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_raw_response.list( @@ -528,7 +528,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(AsyncSinglePage[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_streaming_response.list( @@ -542,7 +542,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -555,7 +555,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @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.access.certificates.delete( @@ -564,7 +564,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.delete( @@ -573,7 +573,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_raw_response.delete( @@ -586,7 +586,7 @@ 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() + @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.certificates.with_streaming_response.delete( @@ -601,7 +601,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -622,7 +622,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @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.access.certificates.get( @@ -631,7 +631,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.get( @@ -640,7 +640,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_raw_response.get( @@ -653,7 +653,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) - @pytest.mark.skip() + @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.certificates.with_streaming_response.get( @@ -668,7 +668,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` 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 e308329aad0..7c84edab1bc 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() @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() @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() @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() @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() @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 ''"): @@ -88,7 +83,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip() @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() @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() @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() @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() @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 ''"): @@ -168,7 +158,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip() @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() @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() @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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -210,7 +196,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @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() @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() @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() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -262,7 +244,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): @@ -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() @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() @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() @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() @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() @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 ''"): @@ -384,7 +357,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip() @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() @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() @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() @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() @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 ''"): @@ -464,7 +432,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: type="identity_denied", ) - @pytest.mark.skip() @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() @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() @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() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -506,7 +470,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @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() @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() @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() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -558,7 +518,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): diff --git a/tests/api_resources/zero_trust/access/test_groups.py b/tests/api_resources/zero_trust/access/test_groups.py index a72eed9cd48..f7be2db9428 100644 --- a/tests/api_resources/zero_trust/access/test_groups.py +++ b/tests/api_resources/zero_trust/access/test_groups.py @@ -21,7 +21,7 @@ class TestGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.create( @@ -35,7 +35,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.create( @@ -60,7 +60,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.create( @@ -78,7 +78,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.create( @@ -98,7 +98,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -123,7 +123,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.update( @@ -138,7 +138,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.update( @@ -164,7 +164,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.update( @@ -183,7 +183,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.update( @@ -204,7 +204,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -243,7 +243,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.list( @@ -251,7 +251,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.list( @@ -259,7 +259,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.list( @@ -271,7 +271,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(SyncSinglePage[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.list( @@ -285,7 +285,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -298,7 +298,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.delete( @@ -307,7 +307,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.delete( @@ -316,7 +316,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.delete( @@ -329,7 +329,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.delete( @@ -344,7 +344,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -365,7 +365,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.get( @@ -374,7 +374,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.get( @@ -383,7 +383,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.get( @@ -396,7 +396,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.get( @@ -411,7 +411,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -436,7 +436,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.create( @@ -450,7 +450,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.create( @@ -475,7 +475,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_raw_response.create( @@ -493,7 +493,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_streaming_response.create( @@ -513,7 +513,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -538,7 +538,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.update( @@ -553,7 +553,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.update( @@ -579,7 +579,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_raw_response.update( @@ -598,7 +598,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_streaming_response.update( @@ -619,7 +619,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -658,7 +658,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.list( @@ -666,7 +666,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.list( @@ -674,7 +674,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_raw_response.list( @@ -686,7 +686,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(AsyncSinglePage[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_streaming_response.list( @@ -700,7 +700,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -713,7 +713,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.delete( @@ -722,7 +722,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.delete( @@ -731,7 +731,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_raw_response.delete( @@ -744,7 +744,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_streaming_response.delete( @@ -759,7 +759,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -780,7 +780,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.get( @@ -789,7 +789,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.get( @@ -798,7 +798,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_raw_response.get( @@ -811,7 +811,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) - @pytest.mark.skip() + @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.groups.with_streaming_response.get( @@ -826,7 +826,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` 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 24d3a034147..ccb5129562c 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() @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() @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() @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() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: key_rotation_interval_days=30, ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): @@ -105,7 +97,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @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() @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() @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() @parametrize def test_path_params_rotate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` 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() @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() @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() @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() @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 ''"): @@ -197,7 +181,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: key_rotation_interval_days=30, ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): @@ -239,7 +219,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @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() @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() @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() @parametrize async def test_path_params_rotate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` 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 98199714b56..1eb404eb5ef 100644 --- a/tests/api_resources/zero_trust/access/test_service_tokens.py +++ b/tests/api_resources/zero_trust/access/test_service_tokens.py @@ -22,7 +22,7 @@ class TestServiceTokens: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.create( @@ -31,7 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.create( @@ -41,7 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.create( @@ -54,7 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.create( @@ -69,7 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +84,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.update( @@ -93,7 +93,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.update( @@ -104,7 +104,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.update( @@ -117,7 +117,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.update( @@ -132,7 +132,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -153,7 +153,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.list( @@ -161,7 +161,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.list( @@ -169,7 +169,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.list( @@ -181,7 +181,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(SyncSinglePage[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.list( @@ -195,7 +195,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -208,7 +208,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.delete( @@ -217,7 +217,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.delete( @@ -226,7 +226,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.delete( @@ -239,7 +239,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.delete( @@ -254,7 +254,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -275,7 +275,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize def test_method_refresh(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.refresh( @@ -284,7 +283,6 @@ def test_method_refresh(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_refresh(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.refresh( @@ -297,7 +295,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() @parametrize def test_streaming_response_refresh(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.refresh( @@ -312,7 +309,6 @@ def test_streaming_response_refresh(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_refresh(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -327,7 +323,6 @@ def test_path_params_refresh(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_rotate(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.rotate( @@ -336,7 +331,6 @@ def test_method_rotate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_rotate(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.rotate( @@ -349,7 +343,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() @parametrize def test_streaming_response_rotate(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.rotate( @@ -364,7 +357,6 @@ def test_streaming_response_rotate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_rotate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -383,7 +375,7 @@ def test_path_params_rotate(self, client: Cloudflare) -> None: class TestAsyncServiceTokens: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.create( @@ -392,7 +384,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.create( @@ -402,7 +394,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_raw_response.create( @@ -415,7 +407,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_streaming_response.create( @@ -430,7 +422,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -445,7 +437,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.update( @@ -454,7 +446,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.update( @@ -465,7 +457,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_raw_response.update( @@ -478,7 +470,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_streaming_response.update( @@ -493,7 +485,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -514,7 +506,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.list( @@ -522,7 +514,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.list( @@ -530,7 +522,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_raw_response.list( @@ -542,7 +534,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(AsyncSinglePage[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_streaming_response.list( @@ -556,7 +548,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +561,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.delete( @@ -578,7 +570,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.delete( @@ -587,7 +579,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_raw_response.delete( @@ -600,7 +592,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() + @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.service_tokens.with_streaming_response.delete( @@ -615,7 +607,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -636,7 +628,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize async def test_method_refresh(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.refresh( @@ -645,7 +636,6 @@ async def test_method_refresh(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) - @pytest.mark.skip() @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( @@ -658,7 +648,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() @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( @@ -673,7 +662,6 @@ async def test_streaming_response_refresh(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_refresh(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -688,7 +676,6 @@ async def test_path_params_refresh(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.rotate( @@ -697,7 +684,6 @@ async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) - @pytest.mark.skip() @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( @@ -710,7 +696,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() @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( @@ -725,7 +710,6 @@ async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_rotate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` 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 f2a936811e9..c81e4b77bcb 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() @parametrize def test_method_create(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.create( @@ -40,7 +38,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.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() @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 ''"): @@ -64,7 +60,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="engineers", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.update( @@ -74,7 +69,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.update( @@ -88,7 +82,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.update( @@ -104,7 +97,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -121,7 +113,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.list( @@ -129,7 +120,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.list( @@ -141,7 +131,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(SyncSinglePage[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.list( @@ -155,7 +144,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -163,7 +151,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.delete( @@ -172,7 +159,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.delete( @@ -185,7 +171,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.delete( @@ -200,7 +185,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -215,7 +199,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.get( @@ -224,7 +207,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.get( @@ -237,7 +219,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.get( @@ -252,7 +233,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -271,7 +251,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.create( @@ -280,7 +259,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.create( @@ -293,7 +271,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.create( @@ -308,7 +285,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -317,7 +293,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="engineers", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.update( @@ -327,7 +302,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.update( @@ -341,7 +315,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.update( @@ -357,7 +330,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -374,7 +346,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.list( @@ -382,7 +353,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.list( @@ -394,7 +364,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.list( @@ -408,7 +377,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -416,7 +384,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.delete( @@ -425,7 +392,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.delete( @@ -438,7 +404,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() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.delete( @@ -453,7 +418,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -468,7 +432,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.get( @@ -477,7 +440,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.get( @@ -490,7 +452,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.get( @@ -505,7 +466,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): diff --git a/tests/api_resources/zero_trust/access/test_users.py b/tests/api_resources/zero_trust/access/test_users.py index 15052076003..502300c4919 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() @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() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(SyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.users.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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -64,7 +60,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() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: user = await async_client.zero_trust.access.users.list( @@ -72,7 +67,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AccessUser], user, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.with_raw_response.list( @@ -84,7 +78,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.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() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` 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 c8013d80274..257192ec0de 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() @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() @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() @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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -70,7 +66,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): @@ -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() @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() @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() @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() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -190,7 +178,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @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() @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() @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() @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 ''"): 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 34259b8225d..466bb95ca07 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() @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() @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() @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() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` 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() @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() @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() @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() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` 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 9b2f3fa96c4..e23146df8d6 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() @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() @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() @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() @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 ''"): @@ -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() @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() @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() @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() @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 ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/test_default_policy.py b/tests/api_resources/zero_trust/devices/policies/test_default_policy.py index 2257cd23f41..51bc7a1bf6c 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_default_policy.py +++ b/tests/api_resources/zero_trust/devices/policies/test_default_policy.py @@ -17,7 +17,6 @@ class TestDefaultPolicy: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: default_policy = client.zero_trust.devices.policies.default_policy.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default_policy.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: default_policy = response.parse() assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default_policy.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() @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 TestAsyncDefaultPolicy: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: default_policy = await async_client.zero_trust.devices.policies.default_policy.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default_policy.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: default_policy = await response.parse() assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default_policy.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() @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_excludes.py b/tests/api_resources/zero_trust/devices/policies/test_excludes.py index fbdb2969e2c..b1a2f9aa2eb 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_excludes.py +++ b/tests/api_resources/zero_trust/devices/policies/test_excludes.py @@ -22,7 +22,6 @@ class TestExcludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.excludes.update( @@ -44,7 +43,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.excludes.with_raw_response.update( @@ -70,7 +68,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.excludes.with_streaming_response.update( @@ -98,7 +95,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -120,7 +116,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.excludes.list( @@ -128,7 +123,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.excludes.with_raw_response.list( @@ -140,7 +134,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(SyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.excludes.with_streaming_response.list( @@ -154,7 +147,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +154,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.excludes.get( @@ -171,7 +162,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.excludes.with_raw_response.get( @@ -184,7 +174,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.excludes.with_streaming_response.get( @@ -199,7 +188,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -218,7 +206,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.excludes.update( @@ -240,7 +227,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.excludes.with_raw_response.update( @@ -266,7 +252,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.excludes.with_streaming_response.update( @@ -294,7 +279,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -316,7 +300,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.excludes.list( @@ -324,7 +307,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.excludes.with_raw_response.list( @@ -336,7 +318,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: exclude = await response.parse() assert_matches_type(AsyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.excludes.with_streaming_response.list( @@ -350,7 +331,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -358,7 +338,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.excludes.get( @@ -367,7 +346,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.excludes.with_raw_response.get( @@ -380,7 +358,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.excludes.with_streaming_response.get( @@ -395,7 +372,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_fallback_domains.py b/tests/api_resources/zero_trust/devices/policies/test_fallback_domains.py index c23935cc023..353bee364cd 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_fallback_domains.py +++ b/tests/api_resources/zero_trust/devices/policies/test_fallback_domains.py @@ -22,7 +22,6 @@ class TestFallbackDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.fallback_domains.update( @@ -32,7 +31,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.fallback_domains.with_raw_response.update( @@ -46,7 +44,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() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.fallback_domains.with_streaming_response.update( @@ -62,7 +59,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -79,7 +75,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=[{"suffix": "example.com"}, {"suffix": "example.com"}, {"suffix": "example.com"}], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.fallback_domains.list( @@ -87,7 +82,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.fallback_domains.with_raw_response.list( @@ -99,7 +93,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: fallback_domain = response.parse() assert_matches_type(SyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.fallback_domains.with_streaming_response.list( @@ -113,7 +106,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -121,7 +113,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.fallback_domains.get( @@ -130,7 +121,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.fallback_domains.with_raw_response.get( @@ -143,7 +133,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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.fallback_domains.with_streaming_response.get( @@ -158,7 +147,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +165,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.fallback_domains.update( @@ -187,7 +174,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.fallback_domains.with_raw_response.update( @@ -201,7 +187,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.fallback_domains.with_streaming_response.update( @@ -217,7 +202,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -234,7 +218,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=[{"suffix": "example.com"}, {"suffix": "example.com"}, {"suffix": "example.com"}], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.fallback_domains.list( @@ -242,7 +225,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.fallback_domains.with_raw_response.list( @@ -254,7 +236,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: fallback_domain = await response.parse() assert_matches_type(AsyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.fallback_domains.with_streaming_response.list( @@ -268,7 +249,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -276,7 +256,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.fallback_domains.get( @@ -285,7 +264,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.fallback_domains.with_raw_response.get( @@ -298,7 +276,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.fallback_domains.with_streaming_response.get( @@ -313,7 +290,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_includes.py b/tests/api_resources/zero_trust/devices/policies/test_includes.py index d17008e0558..76833b163c9 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_includes.py +++ b/tests/api_resources/zero_trust/devices/policies/test_includes.py @@ -22,7 +22,6 @@ class TestIncludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.includes.update( @@ -44,7 +43,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.includes.with_raw_response.update( @@ -70,7 +68,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.includes.with_streaming_response.update( @@ -98,7 +95,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -120,7 +116,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.includes.list( @@ -128,7 +123,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SplitTunnelInclude], include, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.includes.with_raw_response.list( @@ -140,7 +134,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(SyncSinglePage[SplitTunnelInclude], include, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.includes.with_streaming_response.list( @@ -154,7 +147,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +154,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.includes.get( @@ -171,7 +162,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.includes.with_raw_response.get( @@ -184,7 +174,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.includes.with_streaming_response.get( @@ -199,7 +188,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -218,7 +206,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.includes.update( @@ -240,7 +227,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.includes.with_raw_response.update( @@ -266,7 +252,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.includes.with_streaming_response.update( @@ -294,7 +279,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -316,7 +300,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.includes.list( @@ -324,7 +307,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SplitTunnelInclude], include, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.includes.with_raw_response.list( @@ -336,7 +318,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: include = await response.parse() assert_matches_type(AsyncSinglePage[SplitTunnelInclude], include, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.includes.with_streaming_response.list( @@ -350,7 +331,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -358,7 +338,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.includes.get( @@ -367,7 +346,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.includes.with_raw_response.get( @@ -380,7 +358,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.includes.with_streaming_response.get( @@ -395,7 +372,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1456d4f79a4..eda7def2266 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 67f1de6d899..314ea6a8316 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() @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() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.create( @@ -68,7 +66,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.create( @@ -84,7 +81,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() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.create( @@ -102,7 +98,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -114,7 +109,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.update( @@ -127,7 +121,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.update( @@ -163,7 +156,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.update( @@ -180,7 +172,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() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.update( @@ -199,7 +190,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -222,7 +212,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.list( @@ -230,7 +219,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.list( @@ -242,7 +230,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() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.list( @@ -256,7 +243,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -264,7 +250,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.delete( @@ -273,7 +258,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.delete( @@ -286,7 +270,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.delete( @@ -301,7 +284,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -316,7 +298,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.get( @@ -325,7 +306,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.get( @@ -338,7 +318,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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.get( @@ -353,7 +332,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -372,7 +350,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.create( @@ -384,7 +361,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @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( @@ -419,7 +395,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() @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( @@ -435,7 +410,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() @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( @@ -453,7 +427,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -465,7 +438,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.update( @@ -478,7 +450,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @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( @@ -514,7 +485,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() @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( @@ -531,7 +501,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() @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( @@ -550,7 +519,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -573,7 +541,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="HTTP dash health check", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.list( @@ -581,7 +548,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @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( @@ -593,7 +559,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() @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( @@ -607,7 +572,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -615,7 +579,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.delete( @@ -624,7 +587,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) - @pytest.mark.skip() @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( @@ -637,7 +599,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) - @pytest.mark.skip() @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( @@ -652,7 +613,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -667,7 +627,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.get( @@ -676,7 +635,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) - @pytest.mark.skip() @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( @@ -689,7 +647,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() @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( @@ -704,7 +661,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2abc365a0bf..0b6ac3bd334 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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_override_codes.py b/tests/api_resources/zero_trust/devices/test_override_codes.py index dd12c6a6af2..c7ee58f5b0d 100644 --- a/tests/api_resources/zero_trust/devices/test_override_codes.py +++ b/tests/api_resources/zero_trust/devices/test_override_codes.py @@ -17,7 +17,6 @@ class TestOverrideCodes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: override_code = client.zero_trust.devices.override_codes.list( @@ -26,7 +25,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.override_codes.with_raw_response.list( @@ -39,7 +37,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: override_code = response.parse() assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.override_codes.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() @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 TestAsyncOverrideCodes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: override_code = await async_client.zero_trust.devices.override_codes.list( @@ -82,7 +77,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.override_codes.with_raw_response.list( @@ -95,7 +89,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: override_code = await response.parse() assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.override_codes.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() @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/devices/test_policies.py b/tests/api_resources/zero_trust/devices/test_policies.py index 87c0e3e20f6..0261a6987c7 100644 --- a/tests/api_resources/zero_trust/devices/test_policies.py +++ b/tests/api_resources/zero_trust/devices/test_policies.py @@ -21,7 +21,7 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.create( @@ -60,7 +60,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.create( @@ -75,7 +75,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.create( @@ -92,7 +92,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -103,7 +103,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: precedence=100, ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.list( @@ -111,7 +110,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.list( @@ -123,7 +121,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.list( @@ -137,7 +134,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +141,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.delete( @@ -154,7 +149,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.delete( @@ -167,7 +161,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.delete( @@ -182,7 +175,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +189,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.edit( @@ -206,7 +198,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.edit( @@ -233,7 +225,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.edit( @@ -246,7 +238,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.edit( @@ -261,7 +253,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -276,7 +268,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.get( @@ -285,7 +277,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.get( @@ -298,7 +290,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.get( @@ -313,7 +305,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -332,7 +324,7 @@ 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() + @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.devices.policies.create( @@ -343,7 +335,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @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.devices.policies.create( @@ -371,7 +363,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_raw_response.create( @@ -386,7 +378,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @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.policies.with_streaming_response.create( @@ -403,7 +395,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -414,7 +406,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: precedence=100, ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.list( @@ -422,7 +413,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.with_raw_response.list( @@ -434,7 +424,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.with_streaming_response.list( @@ -448,7 +437,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -456,7 +444,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.delete( @@ -465,7 +452,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.with_raw_response.delete( @@ -478,7 +464,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() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.with_streaming_response.delete( @@ -493,7 +478,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -508,7 +492,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.edit( @@ -517,7 +501,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.edit( @@ -544,7 +528,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @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.with_raw_response.edit( @@ -557,7 +541,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @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.with_streaming_response.edit( @@ -572,7 +556,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -587,7 +571,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() + @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.devices.policies.get( @@ -596,7 +580,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @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.with_raw_response.get( @@ -609,7 +593,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) - @pytest.mark.skip() + @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.with_streaming_response.get( @@ -624,7 +608,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 3d259a27700..7f171f6c382 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 450ed115f7a..27aa2002b99 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() @parametrize def test_method_create(self, client: Cloudflare) -> None: revoke = client.zero_trust.devices.revoke.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.revoke.with_raw_response.create( @@ -47,7 +45,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: revoke = response.parse() assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.revoke.with_streaming_response.create( @@ -66,7 +63,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 TestAsyncRevoke: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: revoke = await async_client.zero_trust.devices.revoke.create( @@ -96,7 +91,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.revoke.with_raw_response.create( @@ -113,7 +107,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.revoke.with_streaming_response.create( @@ -132,7 +125,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4223ebeeecb..398d23683a3 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() @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() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.update( @@ -37,7 +35,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.settings.with_raw_response.update( @@ -49,7 +46,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.settings.with_streaming_response.update( @@ -63,7 +59,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -71,7 +66,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.list( @@ -79,7 +73,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.settings.with_raw_response.list( @@ -91,7 +84,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.settings.with_streaming_response.list( @@ -105,7 +97,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -117,7 +108,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.update( @@ -125,7 +115,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.update( @@ -137,7 +126,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.settings.with_raw_response.update( @@ -149,7 +137,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.settings.with_streaming_response.update( @@ -163,7 +150,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -171,7 +157,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.list( @@ -179,7 +164,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.settings.with_raw_response.list( @@ -191,7 +175,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.settings.with_streaming_response.list( @@ -205,7 +188,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/devices/test_unrevoke.py b/tests/api_resources/zero_trust/devices/test_unrevoke.py index 1734c9f55fd..f3b7f43a733 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() @parametrize def test_method_create(self, client: Cloudflare) -> None: unrevoke = client.zero_trust.devices.unrevoke.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.unrevoke.with_raw_response.create( @@ -47,7 +45,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: unrevoke = response.parse() assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.unrevoke.with_streaming_response.create( @@ -66,7 +63,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 TestAsyncUnrevoke: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: unrevoke = await async_client.zero_trust.devices.unrevoke.create( @@ -96,7 +91,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.unrevoke.with_raw_response.create( @@ -113,7 +107,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.unrevoke.with_streaming_response.create( @@ -132,7 +125,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/fleet_status/test_devices.py b/tests/api_resources/zero_trust/dex/fleet_status/test_devices.py index 6c300ed53f7..3f7e10dbbc6 100644 --- a/tests/api_resources/zero_trust/dex/fleet_status/test_devices.py +++ b/tests/api_resources/zero_trust/dex/fleet_status/test_devices.py @@ -18,7 +18,7 @@ class TestDevices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: device = client.zero_trust.dex.fleet_status.devices.list( @@ -30,7 +30,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: device = client.zero_trust.dex.fleet_status.devices.list( @@ -49,7 +49,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.fleet_status.devices.with_raw_response.list( @@ -65,7 +65,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: device = response.parse() assert_matches_type(SyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.fleet_status.devices.with_streaming_response.list( @@ -83,7 +83,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -99,7 +99,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncDevices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @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.dex.fleet_status.devices.list( @@ -111,7 +111,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: device = await async_client.zero_trust.dex.fleet_status.devices.list( @@ -130,7 +130,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) - @pytest.mark.skip() + @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.fleet_status.devices.with_raw_response.list( @@ -146,7 +146,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: device = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) - @pytest.mark.skip() + @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.fleet_status.devices.with_streaming_response.list( @@ -164,7 +164,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/http_tests/test_percentiles.py b/tests/api_resources/zero_trust/dex/http_tests/test_percentiles.py index 44f1f6f210b..417e9fe4ec4 100644 --- a/tests/api_resources/zero_trust/dex/http_tests/test_percentiles.py +++ b/tests/api_resources/zero_trust/dex/http_tests/test_percentiles.py @@ -17,7 +17,6 @@ class TestPercentiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: percentile = client.zero_trust.dex.http_tests.percentiles.get( @@ -28,7 +27,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: percentile = client.zero_trust.dex.http_tests.percentiles.get( @@ -41,7 +39,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.http_tests.percentiles.with_raw_response.get( @@ -56,7 +53,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: percentile = response.parse() assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.http_tests.percentiles.with_streaming_response.get( @@ -73,7 +69,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -96,7 +91,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPercentiles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: percentile = await async_client.zero_trust.dex.http_tests.percentiles.get( @@ -107,7 +101,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: percentile = await async_client.zero_trust.dex.http_tests.percentiles.get( @@ -120,7 +113,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.http_tests.percentiles.with_raw_response.get( @@ -135,7 +127,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: percentile = await response.parse() assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.http_tests.percentiles.with_streaming_response.get( @@ -152,7 +143,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2a700707496..ea3b48d65ae 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 0a360ca83d5..c8810f5404b 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 3f929133663..48a2fa21dfe 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 654803068c2..71f56cc7e84 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() @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[TestListResponse], test, path=["response"]) - @pytest.mark.skip() @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[TestListResponse], test, path=["response"]) - @pytest.mark.skip() @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[TestListResponse], test, path=["response"]) - @pytest.mark.skip() @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() @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() @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[TestListResponse], test, path=["response"]) - @pytest.mark.skip() @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[TestListResponse], test, path=["response"]) - @pytest.mark.skip() @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[TestListResponse], test, path=["response"]) - @pytest.mark.skip() @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() @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 1ad5e937f61..687a44e7675 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() @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() @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() @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() @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() @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: time_start="1689520412000", ) - @pytest.mark.skip() @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() @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() @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() @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: time_start="1689520412000", ) - @pytest.mark.skip() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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: time_start="1689520412000", ) - @pytest.mark.skip() @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() @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() @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() @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) -> time_start="1689520412000", ) - @pytest.mark.skip() @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() @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() @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() @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() @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 219371cebd9..849b8c5cc07 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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/traceroute_test_results/test_network_path.py b/tests/api_resources/zero_trust/dex/traceroute_test_results/test_network_path.py index a0b19f6c881..0a12a7ccea1 100644 --- a/tests/api_resources/zero_trust/dex/traceroute_test_results/test_network_path.py +++ b/tests/api_resources/zero_trust/dex/traceroute_test_results/test_network_path.py @@ -17,7 +17,6 @@ class TestNetworkPath: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: network_path = client.zero_trust.dex.traceroute_test_results.network_path.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_test_results.network_path.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: network_path = response.parse() assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_test_results.network_path.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() @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 TestAsyncNetworkPath: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: network_path = await async_client.zero_trust.dex.traceroute_test_results.network_path.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_test_results.network_path.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: network_path = await response.parse() assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_test_results.network_path.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() @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/datasets/test_upload.py b/tests/api_resources/zero_trust/dlp/datasets/test_upload.py index 073f054e469..df7a9832ab3 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() @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() @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() @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() @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,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: upload = client.zero_trust.dlp.datasets.upload.edit( @@ -81,7 +77,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.upload.with_raw_response.edit( @@ -96,7 +92,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: upload = response.parse() assert_matches_type(Optional[Dataset], upload, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.upload.with_streaming_response.edit( @@ -113,7 +109,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -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() @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() @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() @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() @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 +180,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: upload = await async_client.zero_trust.dlp.datasets.upload.edit( @@ -199,7 +191,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], upload, path=["response"]) - @pytest.mark.skip() + @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.dlp.datasets.upload.with_raw_response.edit( @@ -214,7 +206,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: upload = await response.parse() assert_matches_type(Optional[Dataset], upload, path=["response"]) - @pytest.mark.skip() + @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.dlp.datasets.upload.with_streaming_response.edit( @@ -231,7 +223,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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/dlp/profiles/test_custom.py b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py index 0175e0de8f9..fdf6e69b362 100644 --- a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py +++ b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py @@ -21,7 +21,6 @@ class TestCustom: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -43,7 +41,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -58,7 +55,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: profiles=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.update( @@ -76,7 +71,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.update( @@ -123,7 +117,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.update( @@ -136,7 +129,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.update( @@ -151,7 +143,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -166,7 +157,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.delete( @@ -175,7 +165,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CustomDeleteResponse, custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.delete( @@ -188,7 +177,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(CustomDeleteResponse, custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.delete( @@ -203,7 +191,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -218,7 +205,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.get( @@ -227,7 +213,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.get( @@ -240,7 +225,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.get( @@ -255,7 +239,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -274,7 +257,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.create( @@ -283,7 +265,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -296,7 +277,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -311,7 +291,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -320,7 +299,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: profiles=[{}, {}, {}], ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.update( @@ -329,7 +307,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.update( @@ -376,7 +353,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @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( @@ -389,7 +365,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @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( @@ -404,7 +379,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -419,7 +393,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.delete( @@ -428,7 +401,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomDeleteResponse, custom, path=["response"]) - @pytest.mark.skip() @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( @@ -441,7 +413,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(CustomDeleteResponse, custom, path=["response"]) - @pytest.mark.skip() @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( @@ -456,7 +427,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -471,7 +441,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.get( @@ -480,7 +449,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @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( @@ -493,7 +461,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) - @pytest.mark.skip() @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( @@ -508,7 +475,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 42c8f7812ac..b8209257160 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() @parametrize def test_method_update(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.update( @@ -42,7 +40,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.predefined.with_raw_response.update( @@ -55,7 +52,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: predefined = response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.predefined.with_streaming_response.update( @@ -70,7 +66,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -85,7 +80,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.get( @@ -94,7 +88,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.predefined.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: predefined = response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.predefined.with_streaming_response.get( @@ -122,7 +114,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -141,7 +132,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.update( @@ -150,7 +140,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.update( @@ -166,7 +155,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @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( @@ -179,7 +167,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: predefined = await response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @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( @@ -194,7 +181,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -209,7 +195,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.get( @@ -218,7 +203,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @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( @@ -231,7 +215,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: predefined = await response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) - @pytest.mark.skip() @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( @@ -246,7 +229,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c6a79798a4d..1e41d7f1260 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() @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() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.create( @@ -66,7 +62,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -75,7 +70,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="string", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.update( @@ -84,7 +78,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.update( @@ -95,7 +88,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.update( @@ -108,7 +100,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.update( @@ -123,7 +114,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -138,7 +128,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.list( @@ -146,7 +135,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.list( @@ -158,7 +146,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(SyncSinglePage[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.list( @@ -172,7 +159,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -180,7 +166,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.delete( @@ -189,7 +174,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert dataset is None - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.delete( @@ -202,7 +186,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dataset = response.parse() assert dataset is None - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.delete( @@ -217,7 +200,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -232,7 +214,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.get( @@ -241,7 +222,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.get( @@ -254,7 +234,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.get( @@ -269,7 +248,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -288,7 +266,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.create( @@ -297,7 +274,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.create( @@ -308,7 +284,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.create( @@ -321,7 +296,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.create( @@ -336,7 +310,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -345,7 +318,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="string", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.update( @@ -354,7 +326,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.update( @@ -365,7 +336,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.update( @@ -378,7 +348,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.update( @@ -393,7 +362,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -408,7 +376,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.list( @@ -416,7 +383,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.list( @@ -428,7 +394,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.list( @@ -442,7 +407,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -450,7 +414,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.delete( @@ -459,7 +422,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert dataset is None - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.delete( @@ -472,7 +434,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert dataset is None - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.delete( @@ -487,7 +448,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -502,7 +462,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.get( @@ -511,7 +470,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.get( @@ -524,7 +482,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.get( @@ -539,7 +496,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_patterns.py b/tests/api_resources/zero_trust/dlp/test_patterns.py index 4f3c0ded98d..1455ec80499 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() @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[OwnershipValidation], pattern, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_validate(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.patterns.with_raw_response.validate( @@ -39,7 +37,6 @@ def test_raw_response_validate(self, client: Cloudflare) -> None: pattern = response.parse() assert_matches_type(Optional[OwnershipValidation], pattern, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_validate(self, client: Cloudflare) -> None: with client.zero_trust.dlp.patterns.with_streaming_response.validate( @@ -54,7 +51,6 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -67,7 +63,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() @parametrize async def test_method_validate(self, async_client: AsyncCloudflare) -> None: pattern = await async_client.zero_trust.dlp.patterns.validate( @@ -76,7 +71,6 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], pattern, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.patterns.with_raw_response.validate( @@ -89,7 +83,6 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non pattern = await response.parse() assert_matches_type(Optional[OwnershipValidation], pattern, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_validate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.patterns.with_streaming_response.validate( @@ -104,7 +97,6 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 0f18a2aa45e..cdc88d7f84d 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() @parametrize def test_method_update(self, client: Cloudflare) -> None: payload_log = client.zero_trust.dlp.payload_logs.update( @@ -26,7 +25,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.payload_logs.with_raw_response.update( @@ -39,7 +37,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: payload_log = response.parse() assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.payload_logs.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() @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="EmpOvSXw8BfbrGCi0fhGiD/3yXk2SiV1Nzg2lru3oj0=", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: payload_log = client.zero_trust.dlp.payload_logs.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.payload_logs.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: payload_log = response.parse() assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.payload_logs.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() @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 ''"): @@ -109,7 +101,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: payload_log = await async_client.zero_trust.dlp.payload_logs.update( @@ -118,7 +109,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) - @pytest.mark.skip() @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( @@ -131,7 +121,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: payload_log = await response.parse() assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) - @pytest.mark.skip() @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( @@ -146,7 +135,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: public_key="EmpOvSXw8BfbrGCi0fhGiD/3yXk2SiV1Nzg2lru3oj0=", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: payload_log = await async_client.zero_trust.dlp.payload_logs.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) - @pytest.mark.skip() @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( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: payload_log = await response.parse() assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) - @pytest.mark.skip() @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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c373f9035ff..5984f84df7c 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() @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() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.with_raw_response.list( @@ -38,7 +36,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(SyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.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() @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() @parametrize def test_method_get(self, client: Cloudflare) -> None: profile = client.zero_trust.dlp.profiles.get( @@ -69,7 +64,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.with_raw_response.get( @@ -82,7 +76,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.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() @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 TestAsyncProfiles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: profile = await async_client.zero_trust.dlp.profiles.list( @@ -124,7 +115,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Profile], profile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.with_raw_response.list( @@ -136,7 +126,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.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() @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() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: profile = await async_client.zero_trust.dlp.profiles.get( @@ -167,7 +154,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.with_raw_response.get( @@ -180,7 +166,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.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() @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/lists/test_items.py b/tests/api_resources/zero_trust/gateway/lists/test_items.py index e16f44bd1ce..776794c88f4 100644 --- a/tests/api_resources/zero_trust/gateway/lists/test_items.py +++ b/tests/api_resources/zero_trust/gateway/lists/test_items.py @@ -18,7 +18,6 @@ class TestItems: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: item = client.zero_trust.gateway.lists.items.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ItemListResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.items.with_raw_response.list( @@ -40,7 +38,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(SyncSinglePage[ItemListResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.items.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() @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 TestAsyncItems: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: item = await async_client.zero_trust.gateway.lists.items.list( @@ -83,7 +78,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ItemListResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.items.with_raw_response.list( @@ -96,7 +90,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(AsyncSinglePage[ItemListResponse], item, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.items.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() @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_app_types.py b/tests/api_resources/zero_trust/gateway/test_app_types.py index 73e3cc10608..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() @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() @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() @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() @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() @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() @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() @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() @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 46d1d9b060b..a25bf37430d 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() @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() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.update( @@ -36,7 +34,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.audit_ssh_settings.with_raw_response.update( @@ -49,7 +46,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() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.audit_ssh_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() @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: public_key="1pyl6I1tL7xfJuFYVzXlUW8uXXlpxegHXBzGCBKaSFA=", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.get( @@ -81,7 +75,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.audit_ssh_settings.with_raw_response.get( @@ -93,7 +86,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() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.audit_ssh_settings.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() @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 TestAsyncAuditSSHSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.update( @@ -128,7 +118,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.update( @@ -138,7 +127,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip() @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( @@ -151,7 +139,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() @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( @@ -166,7 +153,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: public_key="1pyl6I1tL7xfJuFYVzXlUW8uXXlpxegHXBzGCBKaSFA=", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.get( @@ -183,7 +168,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) - @pytest.mark.skip() @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( @@ -195,7 +179,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() @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( @@ -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() @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_categories.py b/tests/api_resources/zero_trust/gateway/test_categories.py index 1ec3c2e3886..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() @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() @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() @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() @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() @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() @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() @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() @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_configurations.py b/tests/api_resources/zero_trust/gateway/test_configurations.py index 49df85907e5..62f30e964a0 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() @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() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.update( @@ -74,7 +72,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.update( @@ -86,7 +83,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.update( @@ -100,7 +96,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -108,7 +103,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.edit( @@ -116,7 +110,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.edit( @@ -161,7 +154,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.edit( @@ -173,7 +165,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.edit( @@ -187,7 +178,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -195,7 +185,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.get( @@ -203,7 +192,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.get( @@ -215,7 +203,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.get( @@ -229,7 +216,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -241,7 +227,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.update( @@ -249,7 +234,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.update( @@ -294,7 +278,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.update( @@ -306,7 +289,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.update( @@ -320,7 +302,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -328,7 +309,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.edit( @@ -336,7 +316,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.edit( @@ -381,7 +360,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.edit( @@ -393,7 +371,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() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.edit( @@ -407,7 +384,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -415,7 +391,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.get( @@ -423,7 +398,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.get( @@ -435,7 +409,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.get( @@ -449,7 +422,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1400805ca76..fa129ea0f26 100644 --- a/tests/api_resources/zero_trust/gateway/test_lists.py +++ b/tests/api_resources/zero_trust/gateway/test_lists.py @@ -22,7 +22,6 @@ class TestLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.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() @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: type="SERIAL", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.update( @@ -94,7 +88,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.update( @@ -105,7 +98,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.update( @@ -119,7 +111,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.update( @@ -135,7 +126,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -152,7 +142,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="Admin Serial Numbers", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.list( @@ -160,7 +149,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.list( @@ -172,7 +160,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(SyncSinglePage[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.list( @@ -186,7 +173,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -194,7 +180,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.delete( @@ -203,7 +188,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.delete( @@ -216,7 +200,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.delete( @@ -231,7 +214,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -246,7 +228,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.edit( @@ -255,7 +236,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.edit( @@ -266,7 +246,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.edit( @@ -279,7 +258,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.edit( @@ -294,7 +272,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -309,7 +286,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.get( @@ -318,7 +294,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.get( @@ -331,7 +306,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.get( @@ -346,7 +320,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -365,7 +338,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.create( @@ -375,7 +347,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.create( @@ -387,7 +358,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.create( @@ -401,7 +371,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.create( @@ -417,7 +386,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -427,7 +395,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="SERIAL", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.update( @@ -437,7 +404,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.update( @@ -448,7 +414,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.update( @@ -462,7 +427,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.update( @@ -478,7 +442,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -495,7 +458,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="Admin Serial Numbers", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.list( @@ -503,7 +465,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.list( @@ -515,7 +476,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.list( @@ -529,7 +489,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -537,7 +496,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.delete( @@ -546,7 +504,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.delete( @@ -559,7 +516,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.delete( @@ -574,7 +530,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -589,7 +544,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.edit( @@ -598,7 +552,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.edit( @@ -609,7 +562,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.edit( @@ -622,7 +574,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() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.edit( @@ -637,7 +588,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -652,7 +602,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.get( @@ -661,7 +610,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.get( @@ -674,7 +622,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.get( @@ -689,7 +636,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 31079bcb111..6051b87485f 100644 --- a/tests/api_resources/zero_trust/gateway/test_locations.py +++ b/tests/api_resources/zero_trust/gateway/test_locations.py @@ -21,7 +21,6 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.create( @@ -55,7 +52,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.create( @@ -70,7 +66,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -79,7 +74,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.update( @@ -89,7 +83,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.update( @@ -102,7 +95,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.update( @@ -116,7 +108,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.update( @@ -132,7 +123,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -149,7 +139,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.list( @@ -157,7 +146,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.list( @@ -169,7 +157,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(SyncSinglePage[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.list( @@ -183,7 +170,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -191,7 +177,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.delete( @@ -200,7 +185,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.delete( @@ -213,7 +197,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.delete( @@ -228,7 +211,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -243,7 +225,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.get( @@ -252,7 +233,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.get( @@ -265,7 +245,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.get( @@ -280,7 +259,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.create( @@ -308,7 +285,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.create( @@ -320,7 +296,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.create( @@ -333,7 +308,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.create( @@ -348,7 +322,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -357,7 +330,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.update( @@ -367,7 +339,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.update( @@ -380,7 +351,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.update( @@ -394,7 +364,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.update( @@ -410,7 +379,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -427,7 +395,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="Austin Office Location", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.list( @@ -435,7 +402,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.list( @@ -447,7 +413,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.list( @@ -461,7 +426,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -469,7 +433,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.delete( @@ -478,7 +441,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.delete( @@ -491,7 +453,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.delete( @@ -506,7 +467,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -521,7 +481,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.get( @@ -530,7 +489,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.get( @@ -543,7 +501,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.get( @@ -558,7 +515,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 3fb8cdc6e28..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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 6016d8561c6..d46c4b8884e 100644 --- a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py +++ b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py @@ -21,7 +21,6 @@ class TestProxyEndpoints: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.create( @@ -45,7 +43,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() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.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() @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="Devops team", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.list( @@ -79,7 +74,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.list( @@ -91,7 +85,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(SyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.list( @@ -105,7 +98,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -113,7 +105,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.delete( @@ -122,7 +113,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete( @@ -135,7 +125,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.delete( @@ -150,7 +139,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -165,7 +153,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.edit( @@ -174,7 +161,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.edit( @@ -185,7 +171,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.edit( @@ -198,7 +183,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() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.edit( @@ -213,7 +197,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -228,7 +211,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.get( @@ -237,7 +219,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.get( @@ -250,7 +231,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.get( @@ -265,7 +245,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -284,7 +263,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.create( @@ -294,7 +272,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -308,7 +285,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() @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( @@ -324,7 +300,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -334,7 +309,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="Devops team", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.list( @@ -342,7 +316,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -354,7 +327,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(AsyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -368,7 +340,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -376,7 +347,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.delete( @@ -385,7 +355,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -398,7 +367,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -413,7 +381,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -428,7 +395,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.edit( @@ -437,7 +403,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -448,7 +413,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() @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( @@ -461,7 +425,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() @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( @@ -476,7 +439,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -491,7 +453,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.get( @@ -500,7 +461,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -513,7 +473,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) - @pytest.mark.skip() @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( @@ -528,7 +487,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 3418dc65ca2..b83694ffb9f 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() @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() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.create( @@ -144,7 +142,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.create( @@ -158,7 +155,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.create( @@ -174,7 +170,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -184,7 +179,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.update( @@ -195,7 +189,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.update( @@ -309,7 +302,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.update( @@ -324,7 +316,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.update( @@ -341,7 +332,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -360,7 +350,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.list( @@ -368,7 +357,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.list( @@ -380,7 +368,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.list( @@ -394,7 +381,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -402,7 +388,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.delete( @@ -411,7 +396,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.delete( @@ -424,7 +408,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.delete( @@ -439,7 +422,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -454,7 +436,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.get( @@ -463,7 +444,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.get( @@ -476,7 +456,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.get( @@ -491,7 +470,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -510,7 +488,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.create( @@ -520,7 +497,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.create( @@ -633,7 +609,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.create( @@ -647,7 +622,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.create( @@ -663,7 +637,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -673,7 +646,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.update( @@ -684,7 +656,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.update( @@ -798,7 +769,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.update( @@ -813,7 +783,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() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.update( @@ -830,7 +799,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -849,7 +817,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="block bad websites", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.list( @@ -857,7 +824,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.list( @@ -869,7 +835,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.list( @@ -883,7 +848,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -891,7 +855,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.delete( @@ -900,7 +863,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.delete( @@ -913,7 +875,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.delete( @@ -928,7 +889,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -943,7 +903,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.get( @@ -952,7 +911,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.get( @@ -965,7 +923,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.get( @@ -980,7 +937,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/routes/test_ips.py b/tests/api_resources/zero_trust/networks/routes/test_ips.py index 855684c7b80..c21dd1b14b1 100644 --- a/tests/api_resources/zero_trust/networks/routes/test_ips.py +++ b/tests/api_resources/zero_trust/networks/routes/test_ips.py @@ -17,7 +17,6 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip = client.zero_trust.networks.routes.ips.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Teamnet, ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip = client.zero_trust.networks.routes.ips.get( @@ -36,7 +34,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Teamnet, ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.ips.with_raw_response.get( @@ -49,7 +46,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Teamnet, ip, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.ips.with_streaming_response.get( @@ -64,7 +60,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -83,7 +78,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip = await async_client.zero_trust.networks.routes.ips.get( @@ -92,7 +86,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Teamnet, ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip = await async_client.zero_trust.networks.routes.ips.get( @@ -102,7 +95,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Teamnet, ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.ips.with_raw_response.get( @@ -115,7 +107,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Teamnet, ip, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.ips.with_streaming_response.get( @@ -130,7 +121,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/routes/test_networks.py b/tests/api_resources/zero_trust/networks/routes/test_networks.py index 954d3bfed6f..e00d2809cc0 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() @parametrize def test_method_create(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -80,7 +75,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.delete( @@ -89,7 +83,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.delete( @@ -101,7 +94,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.delete( @@ -114,7 +106,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.delete( @@ -129,7 +120,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -144,7 +134,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.edit( @@ -153,7 +142,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.edit( @@ -166,7 +154,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.edit( @@ -181,7 +168,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -200,7 +186,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.create( @@ -209,7 +194,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.create( @@ -220,7 +204,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @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( @@ -233,7 +216,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() @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( @@ -248,7 +230,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -263,7 +244,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.delete( @@ -272,7 +252,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.delete( @@ -284,7 +263,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @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( @@ -297,7 +275,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() @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( @@ -312,7 +289,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -327,7 +303,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.edit( @@ -336,7 +311,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) - @pytest.mark.skip() @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( @@ -349,7 +323,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() @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( @@ -364,7 +337,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c788dc68199..8406fdd7204 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() @parametrize def test_method_create(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.create( @@ -55,7 +52,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.create( @@ -70,7 +66,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -79,7 +74,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: network="172.16.0.0/16", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.list( @@ -87,7 +81,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.list( @@ -106,7 +99,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.list( @@ -118,7 +110,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.list( @@ -132,7 +123,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -140,7 +130,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.delete( @@ -149,7 +138,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.delete( @@ -162,7 +150,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.delete( @@ -177,7 +164,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -192,7 +178,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.edit( @@ -201,7 +186,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.edit( @@ -213,7 +197,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.edit( @@ -226,7 +209,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.edit( @@ -241,7 +223,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -260,7 +241,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncRoutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.create( @@ -269,7 +249,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.create( @@ -280,7 +259,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.create( @@ -293,7 +271,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.create( @@ -308,7 +285,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -317,7 +293,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: network="172.16.0.0/16", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.list( @@ -325,7 +300,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.list( @@ -344,7 +318,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.list( @@ -356,7 +329,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.list( @@ -370,7 +342,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -378,7 +349,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.delete( @@ -387,7 +357,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.delete( @@ -400,7 +369,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() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.delete( @@ -415,7 +383,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -430,7 +397,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.edit( @@ -439,7 +405,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.edit( @@ -451,7 +416,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Route, route, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.edit( @@ -464,7 +428,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() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.edit( @@ -479,7 +442,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_virtual_networks.py b/tests/api_resources/zero_trust/networks/test_virtual_networks.py index b685bdb4046..3bb59293bd8 100644 --- a/tests/api_resources/zero_trust/networks/test_virtual_networks.py +++ b/tests/api_resources/zero_trust/networks/test_virtual_networks.py @@ -23,7 +23,6 @@ class TestVirtualNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.create( @@ -43,7 +41,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.create( @@ -71,7 +67,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -80,7 +75,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="us-east-1-vpc", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.list( @@ -88,7 +82,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.list( @@ -100,7 +93,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.list( @@ -112,7 +104,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() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.list( @@ -126,7 +117,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -134,7 +124,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.delete( @@ -143,7 +132,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.delete( @@ -156,7 +144,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.delete( @@ -171,7 +158,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -186,7 +172,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.edit( @@ -195,7 +180,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.edit( @@ -207,7 +191,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.edit( @@ -220,7 +203,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.edit( @@ -235,7 +217,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -254,7 +235,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncVirtualNetworks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.create( @@ -263,7 +243,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -274,7 +253,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -287,7 +265,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -302,7 +279,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -311,7 +287,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="us-east-1-vpc", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.list( @@ -319,7 +294,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -331,7 +305,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() @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( @@ -343,7 +316,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() @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( @@ -357,7 +329,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -365,7 +336,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.delete( @@ -374,7 +344,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -387,7 +356,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -402,7 +370,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -417,7 +384,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.edit( @@ -426,7 +392,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -438,7 +403,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -451,7 +415,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) - @pytest.mark.skip() @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( @@ -466,7 +429,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/risk_scoring/test_behaviours.py b/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py index 274bc9a39d4..f9d0bf7503f 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() @parametrize def test_method_update(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.update( @@ -28,7 +27,6 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.update( @@ -42,7 +40,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.behaviours.with_raw_response.update( @@ -54,7 +51,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: behaviour = response.parse() assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.behaviours.with_streaming_response.update( @@ -68,7 +64,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.get( @@ -84,7 +78,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.behaviours.with_raw_response.get( @@ -96,7 +89,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: behaviour = response.parse() assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.behaviours.with_streaming_response.get( @@ -110,7 +102,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -122,7 +113,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.update( @@ -130,7 +120,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.update( @@ -144,7 +133,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) - @pytest.mark.skip() @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( @@ -156,7 +144,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: behaviour = await response.parse() assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) - @pytest.mark.skip() @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( @@ -170,7 +157,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -178,7 +164,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.get( @@ -186,7 +171,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) - @pytest.mark.skip() @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( @@ -198,7 +182,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: behaviour = await response.parse() assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) - @pytest.mark.skip() @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( @@ -212,7 +195,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` 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 37e56ed2449..1ae273a5a8c 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() @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(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.zero_trust.risk_scoring.summary.get( @@ -37,7 +35,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.summary.with_raw_response.get( @@ -49,7 +46,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.summary.with_streaming_response.get( @@ -63,7 +59,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -75,7 +70,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() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.zero_trust.risk_scoring.summary.get( @@ -83,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.zero_trust.risk_scoring.summary.get( @@ -95,7 +88,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @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( @@ -107,7 +99,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) - @pytest.mark.skip() @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( @@ -121,7 +112,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` 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 001080cf070..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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 1beef070418..6b0adb03848 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 27d4193e48e..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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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_identity_providers.py b/tests/api_resources/zero_trust/test_identity_providers.py index 145b69313d1..7204c198113 100644 --- a/tests/api_resources/zero_trust/test_identity_providers.py +++ b/tests/api_resources/zero_trust/test_identity_providers.py @@ -22,7 +22,7 @@ class TestIdentityProviders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -33,7 +33,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -60,7 +60,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -75,7 +75,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -92,7 +92,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -111,7 +111,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -122,7 +122,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -147,7 +147,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -162,7 +162,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -179,7 +179,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -198,7 +198,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -209,7 +209,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -230,7 +230,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -245,7 +245,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -262,7 +262,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -281,7 +281,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -292,7 +292,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -313,7 +313,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -328,7 +328,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -345,7 +345,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -364,7 +364,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -375,7 +375,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -398,7 +398,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -413,7 +413,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -430,7 +430,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -449,7 +449,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -460,7 +460,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -484,7 +484,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -499,7 +499,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -516,7 +516,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -535,7 +535,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -546,7 +546,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -567,7 +567,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -582,7 +582,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -599,7 +599,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -618,7 +618,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -629,7 +629,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -656,7 +656,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -671,7 +671,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -688,7 +688,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -707,7 +707,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -718,7 +718,7 @@ def test_method_create_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -743,7 +743,7 @@ def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -758,7 +758,7 @@ def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -775,7 +775,7 @@ def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -794,7 +794,7 @@ def test_path_params_create_overload_9(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -805,7 +805,7 @@ def test_method_create_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -829,7 +829,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -844,7 +844,7 @@ def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -861,7 +861,7 @@ def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -880,7 +880,7 @@ def test_path_params_create_overload_10(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -891,7 +891,7 @@ def test_method_create_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -915,7 +915,7 @@ def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -930,7 +930,7 @@ def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -947,7 +947,7 @@ def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -966,7 +966,7 @@ def test_path_params_create_overload_11(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -977,7 +977,7 @@ def test_method_create_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1016,7 +1016,7 @@ def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -1031,7 +1031,7 @@ def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -1048,7 +1048,7 @@ def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1067,7 +1067,7 @@ def test_path_params_create_overload_12(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1078,7 +1078,7 @@ def test_method_create_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1099,7 +1099,7 @@ def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -1114,7 +1114,7 @@ def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -1131,7 +1131,7 @@ def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1150,7 +1150,7 @@ def test_path_params_create_overload_13(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1161,7 +1161,7 @@ def test_method_create_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1179,7 +1179,7 @@ def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -1194,7 +1194,7 @@ def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -1211,7 +1211,7 @@ def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_create_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1230,7 +1230,7 @@ def test_path_params_create_overload_14(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1242,7 +1242,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1270,7 +1270,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1286,7 +1286,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1304,7 +1304,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -1334,7 +1334,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1346,7 +1346,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1372,7 +1372,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1388,7 +1388,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1406,7 +1406,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -1436,7 +1436,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1448,7 +1448,7 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1470,7 +1470,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1486,7 +1486,7 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1504,7 +1504,7 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -1534,7 +1534,7 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1546,7 +1546,7 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1568,7 +1568,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1584,7 +1584,7 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1602,7 +1602,7 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1632,7 +1632,7 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1644,7 +1644,7 @@ def test_method_update_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1668,7 +1668,7 @@ def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1684,7 +1684,7 @@ def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1702,7 +1702,7 @@ def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1732,7 +1732,7 @@ def test_path_params_update_overload_5(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1744,7 +1744,7 @@ def test_method_update_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1769,7 +1769,7 @@ def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1785,7 +1785,7 @@ def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1803,7 +1803,7 @@ def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1833,7 +1833,7 @@ def test_path_params_update_overload_6(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1845,7 +1845,7 @@ def test_method_update_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1867,7 +1867,7 @@ def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1883,7 +1883,7 @@ def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1901,7 +1901,7 @@ def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1931,7 +1931,7 @@ def test_path_params_update_overload_7(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1943,7 +1943,7 @@ def test_method_update_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1971,7 +1971,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1987,7 +1987,7 @@ def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2005,7 +2005,7 @@ def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2035,7 +2035,7 @@ def test_path_params_update_overload_8(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2047,7 +2047,7 @@ def test_method_update_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2073,7 +2073,7 @@ def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2089,7 +2089,7 @@ def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2107,7 +2107,7 @@ def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2137,7 +2137,7 @@ def test_path_params_update_overload_9(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2149,7 +2149,7 @@ def test_method_update_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2174,7 +2174,7 @@ def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2190,7 +2190,7 @@ def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2208,7 +2208,7 @@ def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2238,7 +2238,7 @@ def test_path_params_update_overload_10(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2250,7 +2250,7 @@ def test_method_update_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2275,7 +2275,7 @@ def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2291,7 +2291,7 @@ def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2309,7 +2309,7 @@ def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2339,7 +2339,7 @@ def test_path_params_update_overload_11(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2351,7 +2351,7 @@ def test_method_update_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2391,7 +2391,7 @@ def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2407,7 +2407,7 @@ def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2425,7 +2425,7 @@ def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2455,7 +2455,7 @@ def test_path_params_update_overload_12(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2467,7 +2467,7 @@ def test_method_update_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2489,7 +2489,7 @@ def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2505,7 +2505,7 @@ def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2523,7 +2523,7 @@ def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2553,7 +2553,7 @@ def test_path_params_update_overload_13(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2565,7 +2565,7 @@ def test_method_update_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2584,7 +2584,7 @@ def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2600,7 +2600,7 @@ def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2618,7 +2618,7 @@ def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_update_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2648,7 +2648,7 @@ def test_path_params_update_overload_14(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.list( @@ -2656,7 +2656,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.list( @@ -2664,7 +2664,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.list( @@ -2676,7 +2676,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(SyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.list( @@ -2690,7 +2690,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -2703,7 +2703,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.delete( @@ -2712,7 +2712,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.delete( @@ -2721,7 +2721,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.delete( @@ -2734,7 +2734,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.delete( @@ -2749,7 +2749,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -2770,7 +2770,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.get( @@ -2779,7 +2779,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.get( @@ -2788,7 +2788,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.get( @@ -2801,7 +2801,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.get( @@ -2816,7 +2816,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -2841,7 +2841,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIdentityProviders: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -2852,7 +2852,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -2879,7 +2879,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.create( @@ -2894,7 +2894,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.create( @@ -2911,7 +2911,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -2930,7 +2930,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -2941,7 +2941,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -2966,7 +2966,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.create( @@ -2981,7 +2981,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.create( @@ -2998,7 +2998,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -3017,7 +3017,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3028,7 +3028,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3049,7 +3049,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3064,7 +3064,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3081,7 +3081,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3100,7 +3100,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3111,7 +3111,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3132,7 +3132,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3147,7 +3147,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3164,7 +3164,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3183,7 +3183,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3194,7 +3194,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3217,7 +3217,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3232,7 +3232,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3249,7 +3249,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3268,7 +3268,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3279,7 +3279,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3303,7 +3303,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3318,7 +3318,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3335,7 +3335,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3354,7 +3354,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3365,7 +3365,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3386,7 +3386,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3401,7 +3401,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3418,7 +3418,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3437,7 +3437,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3448,7 +3448,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3475,7 +3475,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3490,7 +3490,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3507,7 +3507,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3526,7 +3526,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3537,7 +3537,7 @@ async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3562,7 +3562,7 @@ async def test_method_create_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3577,7 +3577,7 @@ async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3594,7 +3594,7 @@ async def test_streaming_response_create_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3613,7 +3613,7 @@ async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3624,7 +3624,7 @@ async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3648,7 +3648,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3663,7 +3663,7 @@ async def test_raw_response_create_overload_10(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3680,7 +3680,7 @@ async def test_streaming_response_create_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3699,7 +3699,7 @@ async def test_path_params_create_overload_10(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3710,7 +3710,7 @@ async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3734,7 +3734,7 @@ async def test_method_create_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3749,7 +3749,7 @@ async def test_raw_response_create_overload_11(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3766,7 +3766,7 @@ async def test_streaming_response_create_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3785,7 +3785,7 @@ async def test_path_params_create_overload_11(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3796,7 +3796,7 @@ async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3835,7 +3835,7 @@ async def test_method_create_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3850,7 +3850,7 @@ async def test_raw_response_create_overload_12(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3867,7 +3867,7 @@ async def test_streaming_response_create_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3886,7 +3886,7 @@ async def test_path_params_create_overload_12(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3897,7 +3897,7 @@ async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3918,7 +3918,7 @@ async def test_method_create_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3933,7 +3933,7 @@ async def test_raw_response_create_overload_13(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3950,7 +3950,7 @@ async def test_streaming_response_create_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3969,7 +3969,7 @@ async def test_path_params_create_overload_13(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3980,7 +3980,7 @@ async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3998,7 +3998,7 @@ async def test_method_create_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -4013,7 +4013,7 @@ async def test_raw_response_create_overload_14(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -4030,7 +4030,7 @@ async def test_streaming_response_create_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_create_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -4049,7 +4049,7 @@ async def test_path_params_create_overload_14(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4061,7 +4061,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4089,7 +4089,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.update( @@ -4105,7 +4105,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.update( @@ -4123,7 +4123,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -4153,7 +4153,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4165,7 +4165,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4191,7 +4191,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.update( @@ -4207,7 +4207,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.update( @@ -4225,7 +4225,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -4255,7 +4255,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4267,7 +4267,7 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4289,7 +4289,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.update( @@ -4305,7 +4305,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.update( @@ -4323,7 +4323,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -4353,7 +4353,7 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4365,7 +4365,7 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4387,7 +4387,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4403,7 +4403,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4421,7 +4421,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4451,7 +4451,7 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4463,7 +4463,7 @@ async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4487,7 +4487,7 @@ async def test_method_update_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4503,7 +4503,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4521,7 +4521,7 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4551,7 +4551,7 @@ async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4563,7 +4563,7 @@ async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4588,7 +4588,7 @@ async def test_method_update_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4604,7 +4604,7 @@ async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4622,7 +4622,7 @@ async def test_streaming_response_update_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4652,7 +4652,7 @@ async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4664,7 +4664,7 @@ async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4686,7 +4686,7 @@ async def test_method_update_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4702,7 +4702,7 @@ async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4720,7 +4720,7 @@ async def test_streaming_response_update_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4750,7 +4750,7 @@ async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4762,7 +4762,7 @@ async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4790,7 +4790,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4806,7 +4806,7 @@ async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4824,7 +4824,7 @@ async def test_streaming_response_update_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4854,7 +4854,7 @@ async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4866,7 +4866,7 @@ async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4892,7 +4892,7 @@ async def test_method_update_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4908,7 +4908,7 @@ async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4926,7 +4926,7 @@ async def test_streaming_response_update_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4956,7 +4956,7 @@ async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4968,7 +4968,7 @@ async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4993,7 +4993,7 @@ async def test_method_update_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5009,7 +5009,7 @@ async def test_raw_response_update_overload_10(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5027,7 +5027,7 @@ async def test_streaming_response_update_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5057,7 +5057,7 @@ async def test_path_params_update_overload_10(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5069,7 +5069,7 @@ async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5094,7 +5094,7 @@ async def test_method_update_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5110,7 +5110,7 @@ async def test_raw_response_update_overload_11(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5128,7 +5128,7 @@ async def test_streaming_response_update_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5158,7 +5158,7 @@ async def test_path_params_update_overload_11(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5170,7 +5170,7 @@ async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5210,7 +5210,7 @@ async def test_method_update_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5226,7 +5226,7 @@ async def test_raw_response_update_overload_12(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5244,7 +5244,7 @@ async def test_streaming_response_update_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5274,7 +5274,7 @@ async def test_path_params_update_overload_12(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5286,7 +5286,7 @@ async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5308,7 +5308,7 @@ async def test_method_update_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5324,7 +5324,7 @@ async def test_raw_response_update_overload_13(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5342,7 +5342,7 @@ async def test_streaming_response_update_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5372,7 +5372,7 @@ async def test_path_params_update_overload_13(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5384,7 +5384,7 @@ async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5403,7 +5403,7 @@ async def test_method_update_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5419,7 +5419,7 @@ async def test_raw_response_update_overload_14(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5437,7 +5437,7 @@ async def test_streaming_response_update_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_update_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5467,7 +5467,7 @@ async def test_path_params_update_overload_14(self, async_client: AsyncCloudflar account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.list( @@ -5475,7 +5475,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.list( @@ -5483,7 +5483,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.list( @@ -5495,7 +5495,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: identity_provider = await response.parse() assert_matches_type(AsyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.list( @@ -5509,7 +5509,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -5522,7 +5522,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.delete( @@ -5531,7 +5531,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.delete( @@ -5540,7 +5540,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.delete( @@ -5553,7 +5553,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: identity_provider = await response.parse() assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.delete( @@ -5568,7 +5568,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): @@ -5589,7 +5589,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.get( @@ -5598,7 +5598,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.get( @@ -5607,7 +5607,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_raw_response.get( @@ -5620,7 +5620,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) - @pytest.mark.skip() + @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.identity_providers.with_streaming_response.get( @@ -5635,7 +5635,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `uuid` but received ''"): diff --git a/tests/api_resources/zero_trust/test_organizations.py b/tests/api_resources/zero_trust/test_organizations.py index 9aed3a85eec..ef9c6c862c3 100644 --- a/tests/api_resources/zero_trust/test_organizations.py +++ b/tests/api_resources/zero_trust/test_organizations.py @@ -20,7 +20,7 @@ class TestOrganizations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.create( @@ -30,7 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.create( @@ -54,7 +54,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.create( @@ -68,7 +68,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.create( @@ -84,7 +84,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -101,7 +101,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.update( @@ -109,7 +109,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.update( @@ -137,7 +137,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.update( @@ -149,7 +149,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.update( @@ -163,7 +163,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 +176,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.list( @@ -184,7 +184,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.list( @@ -192,7 +192,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.list( @@ -204,7 +204,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.list( @@ -218,7 +218,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -231,7 +231,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_revoke_users(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.revoke_users( @@ -240,7 +240,7 @@ def test_method_revoke_users(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_revoke_users_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.revoke_users( @@ -249,7 +249,7 @@ def test_method_revoke_users_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_revoke_users(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.revoke_users( @@ -262,7 +262,7 @@ def test_raw_response_revoke_users(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_revoke_users(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.revoke_users( @@ -277,7 +277,7 @@ def test_streaming_response_revoke_users(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_path_params_revoke_users(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -296,7 +296,7 @@ def test_path_params_revoke_users(self, client: Cloudflare) -> None: class TestAsyncOrganizations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.create( @@ -306,7 +306,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.create( @@ -330,7 +330,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @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.organizations.with_raw_response.create( @@ -344,7 +344,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @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.organizations.with_streaming_response.create( @@ -360,7 +360,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -377,7 +377,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.update( @@ -385,7 +385,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.update( @@ -413,7 +413,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @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.with_raw_response.update( @@ -425,7 +425,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @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.with_streaming_response.update( @@ -439,7 +439,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -452,7 +452,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.list( @@ -460,7 +460,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.list( @@ -468,7 +468,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @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.organizations.with_raw_response.list( @@ -480,7 +480,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) - @pytest.mark.skip() + @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.organizations.with_streaming_response.list( @@ -494,7 +494,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 ''"): @@ -507,7 +507,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="string", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_revoke_users(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.revoke_users( @@ -516,7 +516,7 @@ async def test_method_revoke_users(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_revoke_users_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.revoke_users( @@ -525,7 +525,7 @@ async def test_method_revoke_users_with_all_params(self, async_client: AsyncClou ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_raw_response_revoke_users(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.organizations.with_raw_response.revoke_users( @@ -538,7 +538,7 @@ async def test_raw_response_revoke_users(self, async_client: AsyncCloudflare) -> organization = await response.parse() assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_streaming_response_revoke_users(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.organizations.with_streaming_response.revoke_users( @@ -553,7 +553,7 @@ async def test_streaming_response_revoke_users(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_path_params_revoke_users(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 a6b124a3dc7..7e5ce3f6646 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() @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(RiskScoringGetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: risk_scoring = client.zero_trust.risk_scoring.get( @@ -39,7 +37,6 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.with_raw_response.get( @@ -52,7 +49,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: risk_scoring = response.parse() assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.with_streaming_response.get( @@ -67,7 +63,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -82,7 +77,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize def test_method_reset(self, client: Cloudflare) -> None: risk_scoring = client.zero_trust.risk_scoring.reset( @@ -91,7 +85,6 @@ def test_method_reset(self, client: Cloudflare) -> None: ) assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_reset(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.with_raw_response.reset( @@ -104,7 +97,6 @@ def test_raw_response_reset(self, client: Cloudflare) -> None: risk_scoring = response.parse() assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_reset(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.with_streaming_response.reset( @@ -119,7 +111,6 @@ def test_streaming_response_reset(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_reset(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -138,7 +129,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() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.get( @@ -147,7 +137,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.get( @@ -160,7 +149,6 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.with_raw_response.get( @@ -173,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: risk_scoring = await response.parse() assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.with_streaming_response.get( @@ -188,7 +175,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -203,7 +189,6 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) - @pytest.mark.skip() @parametrize async def test_method_reset(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.reset( @@ -212,7 +197,6 @@ async def test_method_reset(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_reset(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.with_raw_response.reset( @@ -225,7 +209,6 @@ async def test_raw_response_reset(self, async_client: AsyncCloudflare) -> None: risk_scoring = await response.parse() assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_reset(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.with_streaming_response.reset( @@ -240,7 +223,6 @@ async def test_streaming_response_reset(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/test_seats.py b/tests/api_resources/zero_trust/test_seats.py index f1b797fd45a..c609d0ab5a2 100644 --- a/tests/api_resources/zero_trust/test_seats.py +++ b/tests/api_resources/zero_trust/test_seats.py @@ -17,7 +17,7 @@ class TestSeats: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_method_edit(self, client: Cloudflare) -> None: seat = client.zero_trust.seats.edit( @@ -39,7 +39,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.seats.with_raw_response.edit( @@ -65,7 +65,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: seat = response.parse() assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.seats.with_streaming_response.edit( @@ -93,7 +93,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `identifier` but received ''"): @@ -119,7 +119,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncSeats: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: seat = await async_client.zero_trust.seats.edit( @@ -141,7 +141,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) - @pytest.mark.skip() + @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.seats.with_raw_response.edit( @@ -167,7 +167,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: seat = await response.parse() assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) - @pytest.mark.skip() + @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.seats.with_streaming_response.edit( @@ -195,7 +195,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @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 `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/test_tunnels.py b/tests/api_resources/zero_trust/test_tunnels.py index e2f9ec7b52c..ee77b47c681 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() @parametrize def test_method_create(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.create( @@ -49,7 +47,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.create( @@ -65,7 +62,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -75,7 +71,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: tunnel_secret="AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.list( @@ -83,7 +78,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.list( @@ -102,7 +96,6 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.list( @@ -114,7 +107,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.list( @@ -128,7 +120,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -136,7 +127,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.delete( @@ -145,7 +135,6 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.delete( @@ -158,7 +147,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.delete( @@ -173,7 +161,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -188,7 +175,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.edit( @@ -197,7 +183,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.edit( @@ -208,7 +193,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.edit( @@ -221,7 +205,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.edit( @@ -236,7 +219,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -251,7 +233,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.get( @@ -260,7 +241,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.get( @@ -273,7 +253,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.get( @@ -288,7 +267,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -307,7 +285,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.create( @@ -317,7 +294,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.create( @@ -331,7 +307,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.create( @@ -347,7 +322,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -357,7 +331,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: tunnel_secret="AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.list( @@ -365,7 +338,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.list( @@ -384,7 +356,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.list( @@ -396,7 +367,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() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.list( @@ -410,7 +380,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -418,7 +387,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.delete( @@ -427,7 +395,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.delete( @@ -440,7 +407,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() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.delete( @@ -455,7 +421,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -470,7 +435,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.edit( @@ -479,7 +443,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.edit( @@ -490,7 +453,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.edit( @@ -503,7 +465,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() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.edit( @@ -518,7 +479,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -533,7 +493,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.get( @@ -542,7 +501,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.get( @@ -555,7 +513,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.get( @@ -570,7 +527,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 13e89aa70ac..66e8d63db41 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() @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(ConfigurationUpdateResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.update( @@ -138,7 +136,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.configurations.with_raw_response.update( @@ -151,7 +148,6 @@ def test_raw_response_update(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.configurations.with_streaming_response.update( @@ -166,7 +162,6 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -181,7 +176,6 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.get( @@ -190,7 +184,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.configurations.with_raw_response.get( @@ -203,7 +196,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.configurations.with_streaming_response.get( @@ -218,7 +210,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -237,7 +228,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() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.update( @@ -246,7 +236,6 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.update( @@ -355,7 +344,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.configurations.with_raw_response.update( @@ -368,7 +356,6 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.configurations.with_streaming_response.update( @@ -383,7 +370,6 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -398,7 +384,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.get( @@ -407,7 +392,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.configurations.with_raw_response.get( @@ -420,7 +404,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.configurations.with_streaming_response.get( @@ -435,7 +418,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 62f103bd601..fd71588c59b 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() @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(ConnectionDeleteResponse, connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connections.with_raw_response.delete( @@ -39,7 +37,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(ConnectionDeleteResponse, connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connections.with_streaming_response.delete( @@ -54,7 +51,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -69,7 +65,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: connection = client.zero_trust.tunnels.connections.get( @@ -78,7 +73,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connections.with_raw_response.get( @@ -91,7 +85,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connections.with_streaming_response.get( @@ -106,7 +99,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 +117,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() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: connection = await async_client.zero_trust.tunnels.connections.delete( @@ -134,7 +125,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConnectionDeleteResponse, connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connections.with_raw_response.delete( @@ -147,7 +137,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(ConnectionDeleteResponse, connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connections.with_streaming_response.delete( @@ -162,7 +151,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -177,7 +165,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connection = await async_client.zero_trust.tunnels.connections.get( @@ -186,7 +173,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connections.with_raw_response.get( @@ -199,7 +185,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connections.with_streaming_response.get( @@ -214,7 +199,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 6c9843d9e52..ffd3b01b23b 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() @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() @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() @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() @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() @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() @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() @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() @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 4fe9fafa2bf..7679e42dcb8 100644 --- a/tests/api_resources/zero_trust/tunnels/test_management.py +++ b/tests/api_resources/zero_trust/tunnels/test_management.py @@ -17,7 +17,6 @@ class TestManagement: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: management = client.zero_trust.tunnels.management.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ManagementCreateResponse, management, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.management.with_raw_response.create( @@ -41,7 +39,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: management = response.parse() assert_matches_type(ManagementCreateResponse, management, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.management.with_streaming_response.create( @@ -57,7 +54,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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: class TestAsyncManagement: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: management = await async_client.zero_trust.tunnels.management.create( @@ -88,7 +83,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ManagementCreateResponse, management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.management.with_raw_response.create( @@ -102,7 +96,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: management = await response.parse() assert_matches_type(ManagementCreateResponse, management, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.management.with_streaming_response.create( @@ -118,7 +111,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c4535952c3f..4a4ecd88189 100644 --- a/tests/api_resources/zero_trust/tunnels/test_token.py +++ b/tests/api_resources/zero_trust/tunnels/test_token.py @@ -17,7 +17,6 @@ class TestToken: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: token = client.zero_trust.tunnels.token.get( @@ -26,7 +25,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.token.with_raw_response.get( @@ -39,7 +37,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.token.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() @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 TestAsyncToken: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: token = await async_client.zero_trust.tunnels.token.get( @@ -82,7 +77,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.token.with_raw_response.get( @@ -95,7 +89,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.token.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() @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/zones/settings/test_advanced_ddos.py b/tests/api_resources/zones/settings/test_advanced_ddos.py index 6866ae5e9fc..0a02d5d3923 100644 --- a/tests/api_resources/zones/settings/test_advanced_ddos.py +++ b/tests/api_resources/zones/settings/test_advanced_ddos.py @@ -17,7 +17,6 @@ class TestAdvancedDDoS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: advanced_ddos = client.zones.settings.advanced_ddos.get( @@ -25,7 +24,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.advanced_ddos.with_raw_response.get( @@ -37,7 +35,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: advanced_ddos = response.parse() assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.advanced_ddos.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() @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 TestAsyncAdvancedDDoS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: advanced_ddos = await async_client.zones.settings.advanced_ddos.get( @@ -71,7 +66,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.advanced_ddos.with_raw_response.get( @@ -83,7 +77,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: advanced_ddos = await response.parse() assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.advanced_ddos.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() @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/settings/test_always_online.py b/tests/api_resources/zones/settings/test_always_online.py index 8773d50c892..3f2165813c2 100644 --- a/tests/api_resources/zones/settings/test_always_online.py +++ b/tests/api_resources/zones/settings/test_always_online.py @@ -17,7 +17,6 @@ class TestAlwaysOnline: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: always_online = client.zones.settings.always_online.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.always_online.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: always_online = response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.always_online.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: always_online = client.zones.settings.always_online.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.always_online.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: always_online = response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.always_online.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAlwaysOnline: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: always_online = await async_client.zones.settings.always_online.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_online.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: always_online = await response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_online.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: always_online = await async_client.zones.settings.always_online.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_online.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: always_online = await response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_online.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_always_use_https.py b/tests/api_resources/zones/settings/test_always_use_https.py index 31a42cb7de7..3f800f69e91 100644 --- a/tests/api_resources/zones/settings/test_always_use_https.py +++ b/tests/api_resources/zones/settings/test_always_use_https.py @@ -17,7 +17,6 @@ class TestAlwaysUseHTTPS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: always_use_https = client.zones.settings.always_use_https.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.always_use_https.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: always_use_https = response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.always_use_https.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: always_use_https = client.zones.settings.always_use_https.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.always_use_https.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: always_use_https = response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.always_use_https.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAlwaysUseHTTPS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: always_use_https = await async_client.zones.settings.always_use_https.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_use_https.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: always_use_https = await response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_use_https.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: always_use_https = await async_client.zones.settings.always_use_https.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_use_https.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: always_use_https = await response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_use_https.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_automatic_https_rewrites.py b/tests/api_resources/zones/settings/test_automatic_https_rewrites.py index 4601468bab3..727e05ba67a 100644 --- a/tests/api_resources/zones/settings/test_automatic_https_rewrites.py +++ b/tests/api_resources/zones/settings/test_automatic_https_rewrites.py @@ -17,7 +17,6 @@ class TestAutomaticHTTPSRewrites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: automatic_https_rewrite = client.zones.settings.automatic_https_rewrites.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_https_rewrites.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: automatic_https_rewrite = response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.automatic_https_rewrites.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: automatic_https_rewrite = client.zones.settings.automatic_https_rewrites.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_https_rewrites.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: automatic_https_rewrite = response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.automatic_https_rewrites.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAutomaticHTTPSRewrites: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await async_client.zones.settings.automatic_https_rewrites.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_https_rewrites.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_https_rewrites.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await async_client.zones.settings.automatic_https_rewrites.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_https_rewrites.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_https_rewrites.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_automatic_platform_optimization.py b/tests/api_resources/zones/settings/test_automatic_platform_optimization.py index d9b945e5762..f642c020a35 100644 --- a/tests/api_resources/zones/settings/test_automatic_platform_optimization.py +++ b/tests/api_resources/zones/settings/test_automatic_platform_optimization.py @@ -17,7 +17,6 @@ class TestAutomaticPlatformOptimization: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: automatic_platform_optimization = client.zones.settings.automatic_platform_optimization.edit( @@ -33,7 +32,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_platform_optimization.with_raw_response.edit( @@ -53,7 +51,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: automatic_platform_optimization = response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.automatic_platform_optimization.with_streaming_response.edit( @@ -77,7 +74,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -93,7 +89,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: automatic_platform_optimization = client.zones.settings.automatic_platform_optimization.get( @@ -101,7 +96,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_platform_optimization.with_raw_response.get( @@ -113,7 +107,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: automatic_platform_optimization = response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.automatic_platform_optimization.with_streaming_response.get( @@ -129,7 +122,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -141,7 +133,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAutomaticPlatformOptimization: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await async_client.zones.settings.automatic_platform_optimization.edit( @@ -157,7 +148,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_platform_optimization.with_raw_response.edit( @@ -177,7 +167,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_platform_optimization.with_streaming_response.edit( @@ -201,7 +190,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -217,7 +205,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await async_client.zones.settings.automatic_platform_optimization.get( @@ -225,7 +212,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_platform_optimization.with_raw_response.get( @@ -237,7 +223,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_platform_optimization.with_streaming_response.get( @@ -253,7 +238,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_brotli.py b/tests/api_resources/zones/settings/test_brotli.py index 98ac6368896..692acd2ff7f 100644 --- a/tests/api_resources/zones/settings/test_brotli.py +++ b/tests/api_resources/zones/settings/test_brotli.py @@ -17,7 +17,6 @@ class TestBrotli: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: brotli = client.zones.settings.brotli.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.brotli.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: brotli = response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.brotli.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: brotli = client.zones.settings.brotli.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.brotli.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: brotli = response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.brotli.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBrotli: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: brotli = await async_client.zones.settings.brotli.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.brotli.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: brotli = await response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.brotli.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: brotli = await async_client.zones.settings.brotli.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.brotli.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: brotli = await response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.brotli.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_browser_cache_ttl.py b/tests/api_resources/zones/settings/test_browser_cache_ttl.py index c971841241f..b8bdfd7d4f3 100644 --- a/tests/api_resources/zones/settings/test_browser_cache_ttl.py +++ b/tests/api_resources/zones/settings/test_browser_cache_ttl.py @@ -17,7 +17,6 @@ class TestBrowserCacheTTL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: browser_cache_ttl = client.zones.settings.browser_cache_ttl.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.browser_cache_ttl.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: browser_cache_ttl = response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.browser_cache_ttl.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value=0, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: browser_cache_ttl = client.zones.settings.browser_cache_ttl.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.browser_cache_ttl.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: browser_cache_ttl = response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.browser_cache_ttl.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBrowserCacheTTL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await async_client.zones.settings.browser_cache_ttl.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_cache_ttl.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_cache_ttl.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value=0, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await async_client.zones.settings.browser_cache_ttl.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_cache_ttl.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_cache_ttl.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_browser_check.py b/tests/api_resources/zones/settings/test_browser_check.py index e025959af30..4f783e9ffb4 100644 --- a/tests/api_resources/zones/settings/test_browser_check.py +++ b/tests/api_resources/zones/settings/test_browser_check.py @@ -17,7 +17,6 @@ class TestBrowserCheck: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: browser_check = client.zones.settings.browser_check.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.browser_check.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: browser_check = response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.browser_check.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: browser_check = client.zones.settings.browser_check.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.browser_check.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: browser_check = response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.browser_check.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBrowserCheck: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: browser_check = await async_client.zones.settings.browser_check.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_check.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: browser_check = await response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_check.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: browser_check = await async_client.zones.settings.browser_check.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_check.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: browser_check = await response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_check.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_cache_level.py b/tests/api_resources/zones/settings/test_cache_level.py index cc8808120e4..e9b5c0b6674 100644 --- a/tests/api_resources/zones/settings/test_cache_level.py +++ b/tests/api_resources/zones/settings/test_cache_level.py @@ -17,7 +17,6 @@ class TestCacheLevel: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: cache_level = client.zones.settings.cache_level.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.cache_level.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: cache_level = response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.cache_level.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="aggressive", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cache_level = client.zones.settings.cache_level.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.cache_level.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cache_level = response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.cache_level.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCacheLevel: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: cache_level = await async_client.zones.settings.cache_level.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.cache_level.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: cache_level = await response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.cache_level.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="aggressive", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cache_level = await async_client.zones.settings.cache_level.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.cache_level.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cache_level = await response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.cache_level.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_challenge_ttl.py b/tests/api_resources/zones/settings/test_challenge_ttl.py index b5074a454b7..2a1b284b755 100644 --- a/tests/api_resources/zones/settings/test_challenge_ttl.py +++ b/tests/api_resources/zones/settings/test_challenge_ttl.py @@ -17,7 +17,6 @@ class TestChallengeTTL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: challenge_ttl = client.zones.settings.challenge_ttl.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.challenge_ttl.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: challenge_ttl = response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.challenge_ttl.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value=300, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: challenge_ttl = client.zones.settings.challenge_ttl.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.challenge_ttl.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: challenge_ttl = response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.challenge_ttl.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncChallengeTTL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await async_client.zones.settings.challenge_ttl.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.challenge_ttl.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.challenge_ttl.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value=300, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await async_client.zones.settings.challenge_ttl.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.challenge_ttl.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.challenge_ttl.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_ciphers.py b/tests/api_resources/zones/settings/test_ciphers.py index 5faf738d89c..369f2870999 100644 --- a/tests/api_resources/zones/settings/test_ciphers.py +++ b/tests/api_resources/zones/settings/test_ciphers.py @@ -17,7 +17,6 @@ class TestCiphers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: cipher = client.zones.settings.ciphers.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ciphers.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: cipher = response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ciphers.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"], ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cipher = client.zones.settings.ciphers.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ciphers.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cipher = response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ciphers.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCiphers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: cipher = await async_client.zones.settings.ciphers.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ciphers.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: cipher = await response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ciphers.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"], ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cipher = await async_client.zones.settings.ciphers.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ciphers.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cipher = await response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ciphers.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_development_mode.py b/tests/api_resources/zones/settings/test_development_mode.py index 3255e5c314b..c0dcd89d40f 100644 --- a/tests/api_resources/zones/settings/test_development_mode.py +++ b/tests/api_resources/zones/settings/test_development_mode.py @@ -17,7 +17,6 @@ class TestDevelopmentMode: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: development_mode = client.zones.settings.development_mode.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.development_mode.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: development_mode = response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.development_mode.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: development_mode = client.zones.settings.development_mode.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.development_mode.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: development_mode = response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.development_mode.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDevelopmentMode: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: development_mode = await async_client.zones.settings.development_mode.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.development_mode.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: development_mode = await response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.development_mode.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: development_mode = await async_client.zones.settings.development_mode.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.development_mode.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: development_mode = await response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.development_mode.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_early_hints.py b/tests/api_resources/zones/settings/test_early_hints.py index 201428cdcc3..a7979ce0e77 100644 --- a/tests/api_resources/zones/settings/test_early_hints.py +++ b/tests/api_resources/zones/settings/test_early_hints.py @@ -17,7 +17,6 @@ class TestEarlyHints: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: early_hint = client.zones.settings.early_hints.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.early_hints.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: early_hint = response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.early_hints.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: early_hint = client.zones.settings.early_hints.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.early_hints.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: early_hint = response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.early_hints.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEarlyHints: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: early_hint = await async_client.zones.settings.early_hints.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.early_hints.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: early_hint = await response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.early_hints.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: early_hint = await async_client.zones.settings.early_hints.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.early_hints.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: early_hint = await response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.early_hints.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_email_obfuscation.py b/tests/api_resources/zones/settings/test_email_obfuscation.py index da0b23d3c3f..c9ef6769ae1 100644 --- a/tests/api_resources/zones/settings/test_email_obfuscation.py +++ b/tests/api_resources/zones/settings/test_email_obfuscation.py @@ -17,7 +17,6 @@ class TestEmailObfuscation: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: email_obfuscation = client.zones.settings.email_obfuscation.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.email_obfuscation.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: email_obfuscation = response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.email_obfuscation.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: email_obfuscation = client.zones.settings.email_obfuscation.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.email_obfuscation.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: email_obfuscation = response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.email_obfuscation.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEmailObfuscation: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await async_client.zones.settings.email_obfuscation.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.email_obfuscation.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.email_obfuscation.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await async_client.zones.settings.email_obfuscation.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.email_obfuscation.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.email_obfuscation.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_font_settings.py b/tests/api_resources/zones/settings/test_font_settings.py index 962ef1d1ef2..d80ff7b61db 100644 --- a/tests/api_resources/zones/settings/test_font_settings.py +++ b/tests/api_resources/zones/settings/test_font_settings.py @@ -17,7 +17,6 @@ class TestFontSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: font_setting = client.zones.settings.font_settings.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.font_settings.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: font_setting = response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.font_settings.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: font_setting = client.zones.settings.font_settings.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.font_settings.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: font_setting = response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.font_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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFontSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: font_setting = await async_client.zones.settings.font_settings.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.font_settings.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: font_setting = await response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.font_settings.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: font_setting = await async_client.zones.settings.font_settings.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.font_settings.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: font_setting = await response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.font_settings.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_h2_prioritization.py b/tests/api_resources/zones/settings/test_h2_prioritization.py index ec70ca9633e..2500447e342 100644 --- a/tests/api_resources/zones/settings/test_h2_prioritization.py +++ b/tests/api_resources/zones/settings/test_h2_prioritization.py @@ -17,7 +17,6 @@ class TestH2Prioritization: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: h2_prioritization = client.zones.settings.h2_prioritization.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: h2_prioritization = client.zones.settings.h2_prioritization.edit( @@ -41,7 +39,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.h2_prioritization.with_raw_response.edit( @@ -57,7 +54,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: h2_prioritization = response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.h2_prioritization.with_streaming_response.edit( @@ -75,7 +71,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: h2_prioritization = client.zones.settings.h2_prioritization.get( @@ -95,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.h2_prioritization.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: h2_prioritization = response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.h2_prioritization.with_streaming_response.get( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncH2Prioritization: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await async_client.zones.settings.h2_prioritization.edit( @@ -145,7 +135,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await async_client.zones.settings.h2_prioritization.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.h2_prioritization.with_raw_response.edit( @@ -173,7 +161,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.h2_prioritization.with_streaming_response.edit( @@ -191,7 +178,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await async_client.zones.settings.h2_prioritization.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.h2_prioritization.with_raw_response.get( @@ -223,7 +207,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.h2_prioritization.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_hotlink_protection.py b/tests/api_resources/zones/settings/test_hotlink_protection.py index 59aafb76c7c..8c077ae9b8f 100644 --- a/tests/api_resources/zones/settings/test_hotlink_protection.py +++ b/tests/api_resources/zones/settings/test_hotlink_protection.py @@ -17,7 +17,6 @@ class TestHotlinkProtection: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: hotlink_protection = client.zones.settings.hotlink_protection.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.hotlink_protection.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: hotlink_protection = response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.hotlink_protection.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hotlink_protection = client.zones.settings.hotlink_protection.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.hotlink_protection.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hotlink_protection = response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.hotlink_protection.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHotlinkProtection: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await async_client.zones.settings.hotlink_protection.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.hotlink_protection.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.hotlink_protection.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await async_client.zones.settings.hotlink_protection.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.hotlink_protection.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.hotlink_protection.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_http2.py b/tests/api_resources/zones/settings/test_http2.py index 6a0f922bd20..26aa47b9428 100644 --- a/tests/api_resources/zones/settings/test_http2.py +++ b/tests/api_resources/zones/settings/test_http2.py @@ -17,7 +17,6 @@ class TestHTTP2: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: http2 = client.zones.settings.http2.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.http2.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: http2 = response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.http2.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http2 = client.zones.settings.http2.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.http2.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http2 = response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.http2.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHTTP2: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: http2 = await async_client.zones.settings.http2.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http2.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: http2 = await response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http2.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http2 = await async_client.zones.settings.http2.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http2.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http2 = await response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http2.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_http3.py b/tests/api_resources/zones/settings/test_http3.py index 258a55d1365..e30a60a4181 100644 --- a/tests/api_resources/zones/settings/test_http3.py +++ b/tests/api_resources/zones/settings/test_http3.py @@ -17,7 +17,6 @@ class TestHTTP3: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: http3 = client.zones.settings.http3.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.http3.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: http3 = response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.http3.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http3 = client.zones.settings.http3.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.http3.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http3 = response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.http3.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHTTP3: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: http3 = await async_client.zones.settings.http3.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http3.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: http3 = await response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http3.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http3 = await async_client.zones.settings.http3.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http3.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http3 = await response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http3.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_image_resizing.py b/tests/api_resources/zones/settings/test_image_resizing.py index c87a4190713..6d81d767869 100644 --- a/tests/api_resources/zones/settings/test_image_resizing.py +++ b/tests/api_resources/zones/settings/test_image_resizing.py @@ -17,7 +17,6 @@ class TestImageResizing: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: image_resizing = client.zones.settings.image_resizing.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: image_resizing = client.zones.settings.image_resizing.edit( @@ -41,7 +39,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.image_resizing.with_raw_response.edit( @@ -57,7 +54,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: image_resizing = response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.image_resizing.with_streaming_response.edit( @@ -75,7 +71,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: image_resizing = client.zones.settings.image_resizing.get( @@ -95,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.image_resizing.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: image_resizing = response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.image_resizing.with_streaming_response.get( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncImageResizing: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: image_resizing = await async_client.zones.settings.image_resizing.edit( @@ -145,7 +135,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: image_resizing = await async_client.zones.settings.image_resizing.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.image_resizing.with_raw_response.edit( @@ -173,7 +161,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: image_resizing = await response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.image_resizing.with_streaming_response.edit( @@ -191,7 +178,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: image_resizing = await async_client.zones.settings.image_resizing.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.image_resizing.with_raw_response.get( @@ -223,7 +207,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: image_resizing = await response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.image_resizing.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_ip_geolocation.py b/tests/api_resources/zones/settings/test_ip_geolocation.py index 090494ed084..20ff1c44111 100644 --- a/tests/api_resources/zones/settings/test_ip_geolocation.py +++ b/tests/api_resources/zones/settings/test_ip_geolocation.py @@ -17,7 +17,6 @@ class TestIPGeolocation: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ip_geolocation = client.zones.settings.ip_geolocation.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ip_geolocation.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ip_geolocation = response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ip_geolocation.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_geolocation = client.zones.settings.ip_geolocation.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ip_geolocation.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_geolocation = response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ip_geolocation.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPGeolocation: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await async_client.zones.settings.ip_geolocation.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ip_geolocation.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ip_geolocation.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await async_client.zones.settings.ip_geolocation.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ip_geolocation.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ip_geolocation.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_ipv6.py b/tests/api_resources/zones/settings/test_ipv6.py index 9e5c0651d2c..f2733ddfc77 100644 --- a/tests/api_resources/zones/settings/test_ipv6.py +++ b/tests/api_resources/zones/settings/test_ipv6.py @@ -17,7 +17,6 @@ class TestIPV6: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ipv6 = client.zones.settings.ipv6.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ipv6.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ipv6 = response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ipv6.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ipv6 = client.zones.settings.ipv6.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ipv6.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ipv6 = response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ipv6.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPV6: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ipv6 = await async_client.zones.settings.ipv6.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ipv6.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ipv6 = await response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ipv6.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ipv6 = await async_client.zones.settings.ipv6.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ipv6.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ipv6 = await response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ipv6.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_min_tls_version.py b/tests/api_resources/zones/settings/test_min_tls_version.py index e9667e3d696..043a46e0660 100644 --- a/tests/api_resources/zones/settings/test_min_tls_version.py +++ b/tests/api_resources/zones/settings/test_min_tls_version.py @@ -17,7 +17,6 @@ class TestMinTLSVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: min_tls_version = client.zones.settings.min_tls_version.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.min_tls_version.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: min_tls_version = response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.min_tls_version.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="1.0", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: min_tls_version = client.zones.settings.min_tls_version.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.min_tls_version.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: min_tls_version = response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.min_tls_version.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMinTLSVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: min_tls_version = await async_client.zones.settings.min_tls_version.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.min_tls_version.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: min_tls_version = await response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.min_tls_version.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="1.0", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: min_tls_version = await async_client.zones.settings.min_tls_version.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.min_tls_version.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: min_tls_version = await response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.min_tls_version.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_minify.py b/tests/api_resources/zones/settings/test_minify.py index fbfdffb16a7..fc2feb6e152 100644 --- a/tests/api_resources/zones/settings/test_minify.py +++ b/tests/api_resources/zones/settings/test_minify.py @@ -17,7 +17,6 @@ class TestMinify: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: minify = client.zones.settings.minify.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: minify = client.zones.settings.minify.edit( @@ -39,7 +37,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.minify.with_raw_response.edit( @@ -52,7 +49,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: minify = response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.minify.with_streaming_response.edit( @@ -67,7 +63,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -76,7 +71,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: minify = client.zones.settings.minify.get( @@ -84,7 +78,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.minify.with_raw_response.get( @@ -96,7 +89,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: minify = response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.minify.with_streaming_response.get( @@ -110,7 +102,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -122,7 +113,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMinify: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: minify = await async_client.zones.settings.minify.edit( @@ -131,7 +121,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: minify = await async_client.zones.settings.minify.edit( @@ -144,7 +133,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.minify.with_raw_response.edit( @@ -157,7 +145,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: minify = await response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.minify.with_streaming_response.edit( @@ -172,7 +159,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -181,7 +167,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: minify = await async_client.zones.settings.minify.get( @@ -189,7 +174,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.minify.with_raw_response.get( @@ -201,7 +185,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: minify = await response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.minify.with_streaming_response.get( @@ -215,7 +198,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_mirage.py b/tests/api_resources/zones/settings/test_mirage.py index 54af1256547..57f995c5ca0 100644 --- a/tests/api_resources/zones/settings/test_mirage.py +++ b/tests/api_resources/zones/settings/test_mirage.py @@ -17,7 +17,6 @@ class TestMirage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: mirage = client.zones.settings.mirage.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.mirage.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: mirage = response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.mirage.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: mirage = client.zones.settings.mirage.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.mirage.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: mirage = response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.mirage.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMirage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: mirage = await async_client.zones.settings.mirage.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mirage.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: mirage = await response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mirage.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: mirage = await async_client.zones.settings.mirage.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mirage.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: mirage = await response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mirage.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_mobile_redirect.py b/tests/api_resources/zones/settings/test_mobile_redirect.py index da662f3d23f..b405bcd0582 100644 --- a/tests/api_resources/zones/settings/test_mobile_redirect.py +++ b/tests/api_resources/zones/settings/test_mobile_redirect.py @@ -17,7 +17,6 @@ class TestMobileRedirect: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: mobile_redirect = client.zones.settings.mobile_redirect.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: mobile_redirect = client.zones.settings.mobile_redirect.edit( @@ -39,7 +37,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.mobile_redirect.with_raw_response.edit( @@ -52,7 +49,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: mobile_redirect = response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.mobile_redirect.with_streaming_response.edit( @@ -67,7 +63,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -76,7 +71,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: mobile_redirect = client.zones.settings.mobile_redirect.get( @@ -84,7 +78,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.mobile_redirect.with_raw_response.get( @@ -96,7 +89,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: mobile_redirect = response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.mobile_redirect.with_streaming_response.get( @@ -110,7 +102,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -122,7 +113,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMobileRedirect: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await async_client.zones.settings.mobile_redirect.edit( @@ -131,7 +121,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await async_client.zones.settings.mobile_redirect.edit( @@ -144,7 +133,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mobile_redirect.with_raw_response.edit( @@ -157,7 +145,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mobile_redirect.with_streaming_response.edit( @@ -172,7 +159,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -181,7 +167,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await async_client.zones.settings.mobile_redirect.get( @@ -189,7 +174,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mobile_redirect.with_raw_response.get( @@ -201,7 +185,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mobile_redirect.with_streaming_response.get( @@ -215,7 +198,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_nel.py b/tests/api_resources/zones/settings/test_nel.py index 06df1c52474..e0e5f831a8f 100644 --- a/tests/api_resources/zones/settings/test_nel.py +++ b/tests/api_resources/zones/settings/test_nel.py @@ -17,7 +17,6 @@ class TestNEL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: nel = client.zones.settings.nel.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: nel = client.zones.settings.nel.edit( @@ -41,7 +39,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.nel.with_raw_response.edit( @@ -57,7 +54,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: nel = response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.nel.with_streaming_response.edit( @@ -75,7 +71,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: nel = client.zones.settings.nel.get( @@ -95,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.nel.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: nel = response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.nel.with_streaming_response.get( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncNEL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: nel = await async_client.zones.settings.nel.edit( @@ -145,7 +135,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: nel = await async_client.zones.settings.nel.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.nel.with_raw_response.edit( @@ -173,7 +161,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: nel = await response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.nel.with_streaming_response.edit( @@ -191,7 +178,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: nel = await async_client.zones.settings.nel.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.nel.with_raw_response.get( @@ -223,7 +207,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: nel = await response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.nel.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_opportunistic_encryption.py b/tests/api_resources/zones/settings/test_opportunistic_encryption.py index de0952f3313..41f4ff13934 100644 --- a/tests/api_resources/zones/settings/test_opportunistic_encryption.py +++ b/tests/api_resources/zones/settings/test_opportunistic_encryption.py @@ -17,7 +17,6 @@ class TestOpportunisticEncryption: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: opportunistic_encryption = client.zones.settings.opportunistic_encryption.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_encryption.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: opportunistic_encryption = response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_encryption.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: opportunistic_encryption = client.zones.settings.opportunistic_encryption.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_encryption.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: opportunistic_encryption = response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_encryption.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOpportunisticEncryption: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await async_client.zones.settings.opportunistic_encryption.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_encryption.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_encryption.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await async_client.zones.settings.opportunistic_encryption.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_encryption.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_encryption.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_opportunistic_onion.py b/tests/api_resources/zones/settings/test_opportunistic_onion.py index 95d177adbc8..726c7245b59 100644 --- a/tests/api_resources/zones/settings/test_opportunistic_onion.py +++ b/tests/api_resources/zones/settings/test_opportunistic_onion.py @@ -17,7 +17,6 @@ class TestOpportunisticOnion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: opportunistic_onion = client.zones.settings.opportunistic_onion.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_onion.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: opportunistic_onion = response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_onion.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: opportunistic_onion = client.zones.settings.opportunistic_onion.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_onion.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: opportunistic_onion = response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_onion.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOpportunisticOnion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await async_client.zones.settings.opportunistic_onion.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_onion.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_onion.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await async_client.zones.settings.opportunistic_onion.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_onion.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_onion.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_orange_to_orange.py b/tests/api_resources/zones/settings/test_orange_to_orange.py index 641ff393897..c96a6653f98 100644 --- a/tests/api_resources/zones/settings/test_orange_to_orange.py +++ b/tests/api_resources/zones/settings/test_orange_to_orange.py @@ -17,7 +17,6 @@ class TestOrangeToOrange: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: orange_to_orange = client.zones.settings.orange_to_orange.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: orange_to_orange = client.zones.settings.orange_to_orange.edit( @@ -41,7 +39,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.orange_to_orange.with_raw_response.edit( @@ -57,7 +54,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: orange_to_orange = response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.orange_to_orange.with_streaming_response.edit( @@ -75,7 +71,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: orange_to_orange = client.zones.settings.orange_to_orange.get( @@ -95,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.orange_to_orange.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: orange_to_orange = response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.orange_to_orange.with_streaming_response.get( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOrangeToOrange: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await async_client.zones.settings.orange_to_orange.edit( @@ -145,7 +135,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await async_client.zones.settings.orange_to_orange.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.orange_to_orange.with_raw_response.edit( @@ -173,7 +161,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.orange_to_orange.with_streaming_response.edit( @@ -191,7 +178,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await async_client.zones.settings.orange_to_orange.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.orange_to_orange.with_raw_response.get( @@ -223,7 +207,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.orange_to_orange.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_origin_error_page_pass_thru.py b/tests/api_resources/zones/settings/test_origin_error_page_pass_thru.py index 0f8db392e89..2b239031bc4 100644 --- a/tests/api_resources/zones/settings/test_origin_error_page_pass_thru.py +++ b/tests/api_resources/zones/settings/test_origin_error_page_pass_thru.py @@ -17,7 +17,6 @@ class TestOriginErrorPagePassThru: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: origin_error_page_pass_thru = client.zones.settings.origin_error_page_pass_thru.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.origin_error_page_pass_thru.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: origin_error_page_pass_thru = response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.origin_error_page_pass_thru.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_error_page_pass_thru = client.zones.settings.origin_error_page_pass_thru.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.origin_error_page_pass_thru.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_error_page_pass_thru = response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.origin_error_page_pass_thru.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginErrorPagePassThru: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await async_client.zones.settings.origin_error_page_pass_thru.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_error_page_pass_thru.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_error_page_pass_thru.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await async_client.zones.settings.origin_error_page_pass_thru.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_error_page_pass_thru.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_error_page_pass_thru.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_origin_max_http_version.py b/tests/api_resources/zones/settings/test_origin_max_http_version.py index 68024c905a6..d8f14784104 100644 --- a/tests/api_resources/zones/settings/test_origin_max_http_version.py +++ b/tests/api_resources/zones/settings/test_origin_max_http_version.py @@ -20,7 +20,6 @@ class TestOriginMaxHTTPVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: origin_max_http_version = client.zones.settings.origin_max_http_version.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.origin_max_http_version.with_raw_response.edit( @@ -42,7 +40,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: origin_max_http_version = response.parse() assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.origin_max_http_version.with_streaming_response.edit( @@ -57,7 +54,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -66,7 +62,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="2", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_max_http_version = client.zones.settings.origin_max_http_version.get( @@ -74,7 +69,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.origin_max_http_version.with_raw_response.get( @@ -86,7 +80,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_max_http_version = response.parse() assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.origin_max_http_version.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() @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 ''"): @@ -112,7 +104,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginMaxHTTPVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await async_client.zones.settings.origin_max_http_version.edit( @@ -121,7 +112,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_max_http_version.with_raw_response.edit( @@ -134,7 +124,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await response.parse() assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_max_http_version.with_streaming_response.edit( @@ -149,7 +138,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -158,7 +146,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="2", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await async_client.zones.settings.origin_max_http_version.get( @@ -166,7 +153,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_max_http_version.with_raw_response.get( @@ -178,7 +164,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await response.parse() assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_max_http_version.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() @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/settings/test_polish.py b/tests/api_resources/zones/settings/test_polish.py index e2fc5942cb9..8b465821171 100644 --- a/tests/api_resources/zones/settings/test_polish.py +++ b/tests/api_resources/zones/settings/test_polish.py @@ -17,7 +17,6 @@ class TestPolish: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: polish = client.zones.settings.polish.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: polish = client.zones.settings.polish.edit( @@ -41,7 +39,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.polish.with_raw_response.edit( @@ -57,7 +54,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: polish = response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.polish.with_streaming_response.edit( @@ -75,7 +71,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: polish = client.zones.settings.polish.get( @@ -95,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.polish.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: polish = response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.polish.with_streaming_response.get( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolish: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: polish = await async_client.zones.settings.polish.edit( @@ -145,7 +135,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: polish = await async_client.zones.settings.polish.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.polish.with_raw_response.edit( @@ -173,7 +161,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: polish = await response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.polish.with_streaming_response.edit( @@ -191,7 +178,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: polish = await async_client.zones.settings.polish.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.polish.with_raw_response.get( @@ -223,7 +207,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: polish = await response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.polish.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_prefetch_preload.py b/tests/api_resources/zones/settings/test_prefetch_preload.py index ad818f62ba6..274077451cc 100644 --- a/tests/api_resources/zones/settings/test_prefetch_preload.py +++ b/tests/api_resources/zones/settings/test_prefetch_preload.py @@ -17,7 +17,6 @@ class TestPrefetchPreload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: prefetch_preload = client.zones.settings.prefetch_preload.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.prefetch_preload.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: prefetch_preload = response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.prefetch_preload.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: prefetch_preload = client.zones.settings.prefetch_preload.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.prefetch_preload.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: prefetch_preload = response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.prefetch_preload.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPrefetchPreload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await async_client.zones.settings.prefetch_preload.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.prefetch_preload.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.prefetch_preload.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await async_client.zones.settings.prefetch_preload.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.prefetch_preload.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.prefetch_preload.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_proxy_read_timeout.py b/tests/api_resources/zones/settings/test_proxy_read_timeout.py index 04f4c151d2e..0d77c45109d 100644 --- a/tests/api_resources/zones/settings/test_proxy_read_timeout.py +++ b/tests/api_resources/zones/settings/test_proxy_read_timeout.py @@ -17,7 +17,6 @@ class TestProxyReadTimeout: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: proxy_read_timeout = client.zones.settings.proxy_read_timeout.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: proxy_read_timeout = client.zones.settings.proxy_read_timeout.edit( @@ -41,7 +39,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.proxy_read_timeout.with_raw_response.edit( @@ -57,7 +54,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: proxy_read_timeout = response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.proxy_read_timeout.with_streaming_response.edit( @@ -75,7 +71,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: proxy_read_timeout = client.zones.settings.proxy_read_timeout.get( @@ -95,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.proxy_read_timeout.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: proxy_read_timeout = response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.proxy_read_timeout.with_streaming_response.get( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncProxyReadTimeout: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await async_client.zones.settings.proxy_read_timeout.edit( @@ -145,7 +135,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await async_client.zones.settings.proxy_read_timeout.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.proxy_read_timeout.with_raw_response.edit( @@ -173,7 +161,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.proxy_read_timeout.with_streaming_response.edit( @@ -191,7 +178,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await async_client.zones.settings.proxy_read_timeout.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.proxy_read_timeout.with_raw_response.get( @@ -223,7 +207,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.proxy_read_timeout.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_pseudo_ipv4.py b/tests/api_resources/zones/settings/test_pseudo_ipv4.py index a777c5c3bd7..cec2b5def7d 100644 --- a/tests/api_resources/zones/settings/test_pseudo_ipv4.py +++ b/tests/api_resources/zones/settings/test_pseudo_ipv4.py @@ -17,7 +17,6 @@ class TestPseudoIPV4: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: pseudo_ipv4 = client.zones.settings.pseudo_ipv4.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.pseudo_ipv4.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: pseudo_ipv4 = response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.pseudo_ipv4.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pseudo_ipv4 = client.zones.settings.pseudo_ipv4.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.pseudo_ipv4.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pseudo_ipv4 = response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.pseudo_ipv4.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPseudoIPV4: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await async_client.zones.settings.pseudo_ipv4.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.pseudo_ipv4.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.pseudo_ipv4.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await async_client.zones.settings.pseudo_ipv4.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.pseudo_ipv4.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.pseudo_ipv4.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_response_buffering.py b/tests/api_resources/zones/settings/test_response_buffering.py index c41a364275a..9fd7a863594 100644 --- a/tests/api_resources/zones/settings/test_response_buffering.py +++ b/tests/api_resources/zones/settings/test_response_buffering.py @@ -17,7 +17,6 @@ class TestResponseBuffering: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: response_buffering = client.zones.settings.response_buffering.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.response_buffering.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: response_buffering = response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.response_buffering.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: response_buffering = client.zones.settings.response_buffering.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.response_buffering.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: response_buffering = response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.response_buffering.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncResponseBuffering: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: response_buffering = await async_client.zones.settings.response_buffering.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.response_buffering.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response_buffering = await response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.response_buffering.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: response_buffering = await async_client.zones.settings.response_buffering.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.response_buffering.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response_buffering = await response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.response_buffering.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_rocket_loader.py b/tests/api_resources/zones/settings/test_rocket_loader.py index 353098a9e62..1cf85e80da2 100644 --- a/tests/api_resources/zones/settings/test_rocket_loader.py +++ b/tests/api_resources/zones/settings/test_rocket_loader.py @@ -17,7 +17,6 @@ class TestRocketLoader: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rocket_loader = client.zones.settings.rocket_loader.edit( @@ -29,7 +28,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: rocket_loader = client.zones.settings.rocket_loader.edit( @@ -41,7 +39,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.rocket_loader.with_raw_response.edit( @@ -57,7 +54,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rocket_loader = response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.rocket_loader.with_streaming_response.edit( @@ -75,7 +71,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -87,7 +82,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rocket_loader = client.zones.settings.rocket_loader.get( @@ -95,7 +89,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.rocket_loader.with_raw_response.get( @@ -107,7 +100,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rocket_loader = response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.rocket_loader.with_streaming_response.get( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -133,7 +124,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRocketLoader: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rocket_loader = await async_client.zones.settings.rocket_loader.edit( @@ -145,7 +135,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: rocket_loader = await async_client.zones.settings.rocket_loader.edit( @@ -157,7 +146,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.rocket_loader.with_raw_response.edit( @@ -173,7 +161,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rocket_loader = await response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.rocket_loader.with_streaming_response.edit( @@ -191,7 +178,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rocket_loader = await async_client.zones.settings.rocket_loader.get( @@ -211,7 +196,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.rocket_loader.with_raw_response.get( @@ -223,7 +207,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rocket_loader = await response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.rocket_loader.with_streaming_response.get( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_security_headers.py b/tests/api_resources/zones/settings/test_security_headers.py index 48477c873b9..c6b2a4ca32d 100644 --- a/tests/api_resources/zones/settings/test_security_headers.py +++ b/tests/api_resources/zones/settings/test_security_headers.py @@ -17,7 +17,6 @@ class TestSecurityHeaders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: security_header = client.zones.settings.security_headers.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: security_header = client.zones.settings.security_headers.edit( @@ -42,7 +40,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.security_headers.with_raw_response.edit( @@ -55,7 +52,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: security_header = response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.security_headers.with_streaming_response.edit( @@ -70,7 +66,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -79,7 +74,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: security_header = client.zones.settings.security_headers.get( @@ -87,7 +81,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.security_headers.with_raw_response.get( @@ -99,7 +92,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: security_header = response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.security_headers.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() @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 ''"): @@ -125,7 +116,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSecurityHeaders: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: security_header = await async_client.zones.settings.security_headers.edit( @@ -134,7 +124,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: security_header = await async_client.zones.settings.security_headers.edit( @@ -150,7 +139,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_headers.with_raw_response.edit( @@ -163,7 +151,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: security_header = await response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_headers.with_streaming_response.edit( @@ -178,7 +165,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -187,7 +173,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: security_header = await async_client.zones.settings.security_headers.get( @@ -195,7 +180,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_headers.with_raw_response.get( @@ -207,7 +191,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: security_header = await response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_headers.with_streaming_response.get( @@ -221,7 +204,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_security_level.py b/tests/api_resources/zones/settings/test_security_level.py index 2ea94451ba1..4fcd8c7f760 100644 --- a/tests/api_resources/zones/settings/test_security_level.py +++ b/tests/api_resources/zones/settings/test_security_level.py @@ -17,7 +17,6 @@ class TestSecurityLevel: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: security_level = client.zones.settings.security_level.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.security_level.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: security_level = response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.security_level.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: security_level = client.zones.settings.security_level.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.security_level.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: security_level = response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.security_level.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSecurityLevel: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: security_level = await async_client.zones.settings.security_level.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_level.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: security_level = await response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_level.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: security_level = await async_client.zones.settings.security_level.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_level.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: security_level = await response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_level.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_server_side_excludes.py b/tests/api_resources/zones/settings/test_server_side_excludes.py index ee818f4662b..f57a4aa6685 100644 --- a/tests/api_resources/zones/settings/test_server_side_excludes.py +++ b/tests/api_resources/zones/settings/test_server_side_excludes.py @@ -17,7 +17,6 @@ class TestServerSideExcludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: server_side_exclude = client.zones.settings.server_side_excludes.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.server_side_excludes.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: server_side_exclude = response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.server_side_excludes.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: server_side_exclude = client.zones.settings.server_side_excludes.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.server_side_excludes.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: server_side_exclude = response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.server_side_excludes.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncServerSideExcludes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await async_client.zones.settings.server_side_excludes.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.server_side_excludes.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.server_side_excludes.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await async_client.zones.settings.server_side_excludes.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.server_side_excludes.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.server_side_excludes.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_sort_query_string_for_cache.py b/tests/api_resources/zones/settings/test_sort_query_string_for_cache.py index b91c19c9e30..99e3d2e9bcf 100644 --- a/tests/api_resources/zones/settings/test_sort_query_string_for_cache.py +++ b/tests/api_resources/zones/settings/test_sort_query_string_for_cache.py @@ -17,7 +17,6 @@ class TestSortQueryStringForCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: sort_query_string_for_cache = client.zones.settings.sort_query_string_for_cache.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.sort_query_string_for_cache.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: sort_query_string_for_cache = response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.sort_query_string_for_cache.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: sort_query_string_for_cache = client.zones.settings.sort_query_string_for_cache.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.sort_query_string_for_cache.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: sort_query_string_for_cache = response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.sort_query_string_for_cache.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSortQueryStringForCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await async_client.zones.settings.sort_query_string_for_cache.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.sort_query_string_for_cache.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.sort_query_string_for_cache.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await async_client.zones.settings.sort_query_string_for_cache.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.sort_query_string_for_cache.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.sort_query_string_for_cache.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_ssl.py b/tests/api_resources/zones/settings/test_ssl.py index e749d573b71..812f91087f4 100644 --- a/tests/api_resources/zones/settings/test_ssl.py +++ b/tests/api_resources/zones/settings/test_ssl.py @@ -17,7 +17,6 @@ class TestSSL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ssl = client.zones.settings.ssl.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ssl.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ssl = response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ssl.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ssl = client.zones.settings.ssl.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ssl.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ssl = response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ssl.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSSL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ssl = await async_client.zones.settings.ssl.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ssl = await response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ssl = await async_client.zones.settings.ssl.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ssl = await response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_ssl_recommender.py b/tests/api_resources/zones/settings/test_ssl_recommender.py index 908b7e922cc..ecda7d7ddff 100644 --- a/tests/api_resources/zones/settings/test_ssl_recommender.py +++ b/tests/api_resources/zones/settings/test_ssl_recommender.py @@ -17,7 +17,6 @@ class TestSSLRecommender: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ssl_recommender = client.zones.settings.ssl_recommender.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ssl_recommender = client.zones.settings.ssl_recommender.edit( @@ -38,7 +36,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ssl_recommender.with_raw_response.edit( @@ -51,7 +48,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ssl_recommender = response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ssl_recommender.with_streaming_response.edit( @@ -66,7 +62,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -75,7 +70,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ssl_recommender = client.zones.settings.ssl_recommender.get( @@ -83,7 +77,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ssl_recommender.with_raw_response.get( @@ -95,7 +88,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ssl_recommender = response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ssl_recommender.with_streaming_response.get( @@ -109,7 +101,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -121,7 +112,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSSLRecommender: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await async_client.zones.settings.ssl_recommender.edit( @@ -130,7 +120,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await async_client.zones.settings.ssl_recommender.edit( @@ -142,7 +131,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl_recommender.with_raw_response.edit( @@ -155,7 +143,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl_recommender.with_streaming_response.edit( @@ -170,7 +157,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -179,7 +165,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await async_client.zones.settings.ssl_recommender.get( @@ -187,7 +172,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl_recommender.with_raw_response.get( @@ -199,7 +183,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl_recommender.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() @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/settings/test_tls_1_3.py b/tests/api_resources/zones/settings/test_tls_1_3.py index 439a0d44ddb..1b0d4be49cf 100644 --- a/tests/api_resources/zones/settings/test_tls_1_3.py +++ b/tests/api_resources/zones/settings/test_tls_1_3.py @@ -17,7 +17,6 @@ class TestTLS1_3: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tls_1_3 = client.zones.settings.tls_1_3.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.tls_1_3.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tls_1_3 = response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.tls_1_3.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_1_3 = client.zones.settings.tls_1_3.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.tls_1_3.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_1_3 = response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.tls_1_3.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTLS1_3: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await async_client.zones.settings.tls_1_3.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_1_3.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_1_3.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await async_client.zones.settings.tls_1_3.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_1_3.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_1_3.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_tls_client_auth.py b/tests/api_resources/zones/settings/test_tls_client_auth.py index 6f8c2f04967..bb46f15a6cb 100644 --- a/tests/api_resources/zones/settings/test_tls_client_auth.py +++ b/tests/api_resources/zones/settings/test_tls_client_auth.py @@ -17,7 +17,6 @@ class TestTLSClientAuth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tls_client_auth = client.zones.settings.tls_client_auth.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.tls_client_auth.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tls_client_auth = response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.tls_client_auth.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_client_auth = client.zones.settings.tls_client_auth.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.tls_client_auth.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_client_auth = response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.tls_client_auth.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTLSClientAuth: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await async_client.zones.settings.tls_client_auth.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_client_auth.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_client_auth.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await async_client.zones.settings.tls_client_auth.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_client_auth.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_client_auth.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_true_client_ip_header.py b/tests/api_resources/zones/settings/test_true_client_ip_header.py index ea3d3532e9c..0f412bb997c 100644 --- a/tests/api_resources/zones/settings/test_true_client_ip_header.py +++ b/tests/api_resources/zones/settings/test_true_client_ip_header.py @@ -17,7 +17,6 @@ class TestTrueClientIPHeader: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: true_client_ip_header = client.zones.settings.true_client_ip_header.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.true_client_ip_header.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: true_client_ip_header = response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.true_client_ip_header.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: true_client_ip_header = client.zones.settings.true_client_ip_header.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.true_client_ip_header.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: true_client_ip_header = response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.true_client_ip_header.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTrueClientIPHeader: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await async_client.zones.settings.true_client_ip_header.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.true_client_ip_header.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.true_client_ip_header.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await async_client.zones.settings.true_client_ip_header.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.true_client_ip_header.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.true_client_ip_header.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_waf.py b/tests/api_resources/zones/settings/test_waf.py index 16008e3b625..954a0f04228 100644 --- a/tests/api_resources/zones/settings/test_waf.py +++ b/tests/api_resources/zones/settings/test_waf.py @@ -17,7 +17,6 @@ class TestWAF: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: waf = client.zones.settings.waf.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.waf.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: waf = response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.waf.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: waf = client.zones.settings.waf.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.waf.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: waf = response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.waf.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWAF: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: waf = await async_client.zones.settings.waf.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.waf.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: waf = await response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.waf.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: waf = await async_client.zones.settings.waf.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.waf.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: waf = await response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.waf.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_webp.py b/tests/api_resources/zones/settings/test_webp.py index dfa41054305..9595a35a1d0 100644 --- a/tests/api_resources/zones/settings/test_webp.py +++ b/tests/api_resources/zones/settings/test_webp.py @@ -17,7 +17,6 @@ class TestWebP: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: webp = client.zones.settings.webp.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.webp.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: webp = response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.webp.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: webp = client.zones.settings.webp.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.webp.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: webp = response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.webp.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebP: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: webp = await async_client.zones.settings.webp.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.webp.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: webp = await response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.webp.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: webp = await async_client.zones.settings.webp.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.webp.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: webp = await response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.webp.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_websocket.py b/tests/api_resources/zones/settings/test_websocket.py index 69d4236b897..6d51c9b1673 100644 --- a/tests/api_resources/zones/settings/test_websocket.py +++ b/tests/api_resources/zones/settings/test_websocket.py @@ -17,7 +17,6 @@ class TestWebsocket: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: websocket = client.zones.settings.websocket.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.websocket.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: websocket = response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.websocket.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: websocket = client.zones.settings.websocket.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.websocket.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: websocket = response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.websocket.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebsocket: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: websocket = await async_client.zones.settings.websocket.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.websocket.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: websocket = await response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.websocket.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: websocket = await async_client.zones.settings.websocket.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.websocket.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: websocket = await response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.websocket.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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/settings/test_zero_rtt.py b/tests/api_resources/zones/settings/test_zero_rtt.py index e2f1c0decff..2901897e0d8 100644 --- a/tests/api_resources/zones/settings/test_zero_rtt.py +++ b/tests/api_resources/zones/settings/test_zero_rtt.py @@ -17,7 +17,6 @@ class TestZeroRTT: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: zero_rtt = client.zones.settings.zero_rtt.edit( @@ -26,7 +25,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.zero_rtt.with_raw_response.edit( @@ -39,7 +37,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: zero_rtt = response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.zero_rtt.with_streaming_response.edit( @@ -54,7 +51,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -63,7 +59,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: zero_rtt = client.zones.settings.zero_rtt.get( @@ -71,7 +66,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.zero_rtt.with_raw_response.get( @@ -83,7 +77,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: zero_rtt = response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.zero_rtt.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() @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 ''"): @@ -109,7 +101,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncZeroRTT: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: zero_rtt = await async_client.zones.settings.zero_rtt.edit( @@ -118,7 +109,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.zero_rtt.with_raw_response.edit( @@ -131,7 +121,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: zero_rtt = await response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.zero_rtt.with_streaming_response.edit( @@ -146,7 +135,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -155,7 +143,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: zero_rtt = await async_client.zones.settings.zero_rtt.get( @@ -163,7 +150,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.zero_rtt.with_raw_response.get( @@ -175,7 +161,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: zero_rtt = await response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.zero_rtt.with_streaming_response.get( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_activation_check.py b/tests/api_resources/zones/test_activation_check.py index 67f56ba83eb..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() @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() @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() @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() @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() @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() @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() @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() @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 0d059a2b75b..8e213481da5 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() @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() @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() @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() @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() @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() @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(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @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(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @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() @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() @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() @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() @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() @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() @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() @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(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @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(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) - @pytest.mark.skip() @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() @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_dns_settings.py b/tests/api_resources/zones/test_dns_settings.py index 8072f04cc44..d9df4b018c9 100644 --- a/tests/api_resources/zones/test_dns_settings.py +++ b/tests/api_resources/zones/test_dns_settings.py @@ -17,7 +17,6 @@ class TestDNSSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: dns_setting = client.zones.dns_settings.edit( @@ -25,7 +24,6 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: dns_setting = client.zones.dns_settings.edit( @@ -37,7 +35,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.dns_settings.with_raw_response.edit( @@ -49,7 +46,6 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: dns_setting = response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.dns_settings.with_streaming_response.edit( @@ -63,7 +59,6 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -71,7 +66,6 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dns_setting = client.zones.dns_settings.get( @@ -79,7 +73,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.dns_settings.with_raw_response.get( @@ -91,7 +84,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dns_setting = response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.dns_settings.with_streaming_response.get( @@ -105,7 +97,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -117,7 +108,6 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDNSSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: dns_setting = await async_client.zones.dns_settings.edit( @@ -125,7 +115,6 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: dns_setting = await async_client.zones.dns_settings.edit( @@ -137,7 +126,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.dns_settings.with_raw_response.edit( @@ -149,7 +137,6 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: dns_setting = await response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.dns_settings.with_streaming_response.edit( @@ -163,7 +150,6 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -171,7 +157,6 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dns_setting = await async_client.zones.dns_settings.get( @@ -179,7 +164,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.dns_settings.with_raw_response.get( @@ -191,7 +175,6 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dns_setting = await response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.dns_settings.with_streaming_response.get( @@ -205,7 +188,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5c9c3e04182..cd4b3671938 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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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() @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 7a2c16b5aee..2c194b3fb30 100644 --- a/tests/api_resources/zones/test_subscriptions.py +++ b/tests/api_resources/zones/test_subscriptions.py @@ -19,7 +19,6 @@ class TestSubscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.create( @@ -67,7 +65,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.create( @@ -79,7 +76,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.create( @@ -93,7 +89,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -101,7 +96,6 @@ def test_path_params_create(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.list( @@ -109,7 +103,6 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.list( @@ -121,7 +114,6 @@ def test_raw_response_list(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.list( @@ -135,7 +127,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -143,7 +134,6 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.get( @@ -151,7 +141,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.get( @@ -163,7 +152,6 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.get( @@ -177,7 +165,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -189,7 +176,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() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.create( @@ -197,7 +183,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.create( @@ -237,7 +222,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.create( @@ -249,7 +233,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() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.create( @@ -263,7 +246,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -271,7 +253,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.list( @@ -279,7 +260,6 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.list( @@ -291,7 +271,6 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.list( @@ -305,7 +284,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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_identifier` but received ''"): @@ -313,7 +291,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) - @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.get( @@ -321,7 +298,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) - @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.get( @@ -333,7 +309,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() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.get( @@ -347,7 +322,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"):