1717class TestFraud :
1818 parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
1919
20+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
2021 @parametrize
2122 def test_method_update (self , client : Cloudflare ) -> None :
2223 fraud = client .fraud .update (
2324 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
2425 )
2526 assert_matches_type (Optional [FraudSettings ], fraud , path = ["response" ])
2627
28+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
2729 @parametrize
2830 def test_method_update_with_all_params (self , client : Cloudflare ) -> None :
2931 fraud = client .fraud .update (
@@ -43,6 +45,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
4345 )
4446 assert_matches_type (Optional [FraudSettings ], fraud , path = ["response" ])
4547
48+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
4649 @parametrize
4750 def test_raw_response_update (self , client : Cloudflare ) -> None :
4851 response = client .fraud .with_raw_response .update (
@@ -54,6 +57,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
5457 fraud = response .parse ()
5558 assert_matches_type (Optional [FraudSettings ], fraud , path = ["response" ])
5659
60+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
5761 @parametrize
5862 def test_streaming_response_update (self , client : Cloudflare ) -> None :
5963 with client .fraud .with_streaming_response .update (
@@ -67,6 +71,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
6771
6872 assert cast (Any , response .is_closed ) is True
6973
74+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
7075 @parametrize
7176 def test_path_params_update (self , client : Cloudflare ) -> None :
7277 with pytest .raises (ValueError , match = r"Expected a non-empty value for `zone_id` but received ''" ):
@@ -118,13 +123,15 @@ class TestAsyncFraud:
118123 "async_client" , [False , True , {"http_client" : "aiohttp" }], indirect = True , ids = ["loose" , "strict" , "aiohttp" ]
119124 )
120125
126+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
121127 @parametrize
122128 async def test_method_update (self , async_client : AsyncCloudflare ) -> None :
123129 fraud = await async_client .fraud .update (
124130 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
125131 )
126132 assert_matches_type (Optional [FraudSettings ], fraud , path = ["response" ])
127133
134+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
128135 @parametrize
129136 async def test_method_update_with_all_params (self , async_client : AsyncCloudflare ) -> None :
130137 fraud = await async_client .fraud .update (
@@ -144,6 +151,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
144151 )
145152 assert_matches_type (Optional [FraudSettings ], fraud , path = ["response" ])
146153
154+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
147155 @parametrize
148156 async def test_raw_response_update (self , async_client : AsyncCloudflare ) -> None :
149157 response = await async_client .fraud .with_raw_response .update (
@@ -155,6 +163,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
155163 fraud = await response .parse ()
156164 assert_matches_type (Optional [FraudSettings ], fraud , path = ["response" ])
157165
166+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
158167 @parametrize
159168 async def test_streaming_response_update (self , async_client : AsyncCloudflare ) -> None :
160169 async with async_client .fraud .with_streaming_response .update (
@@ -168,6 +177,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
168177
169178 assert cast (Any , response .is_closed ) is True
170179
180+ @pytest .mark .skip (reason = "HTTP 422 error from prism" )
171181 @parametrize
172182 async def test_path_params_update (self , async_client : AsyncCloudflare ) -> None :
173183 with pytest .raises (ValueError , match = r"Expected a non-empty value for `zone_id` but received ''" ):
0 commit comments