diff --git a/tests/api_resources/zero_trust/access/test_applications.py b/tests/api_resources/zero_trust/access/test_applications.py index 43ae1e761bb..b753cb5e62e 100644 --- a/tests/api_resources/zero_trust/access/test_applications.py +++ b/tests/api_resources/zero_trust/access/test_applications.py @@ -210,12 +210,11 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: account_id="", ) - with pytest.raises(ValueError, match=r"You must provide either account_id or zone_id"): - client.zero_trust.access.applications.with_raw_response.create( - domain="test.example.com/admin", - type="self_hosted", - account_id="account_id", - ) + client.zero_trust.access.applications.with_raw_response.create( + domain="test.example.com/admin", + type="self_hosted", + account_id="account_id", + ) @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @@ -3745,10 +3744,9 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) - with pytest.raises(ValueError, match=r"You must provide either account_id or zone_id"): - client.zero_trust.access.applications.with_raw_response.list( - account_id="account_id", - ) + client.zero_trust.access.applications.with_raw_response.list( + account_id="account_id", + ) @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize @@ -7678,10 +7676,9 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) - with pytest.raises(ValueError, match=r"You must provide either account_id or zone_id"): - await async_client.zero_trust.access.applications.with_raw_response.list( - account_id="account_id", - ) + await async_client.zero_trust.access.applications.with_raw_response.list( + account_id="account_id", + ) @pytest.mark.skip(reason="TODO: investigate broken test") @parametrize