1010from cloudflare import Cloudflare , AsyncCloudflare
1111from tests .utils import assert_matches_type
1212from cloudflare .pagination import SyncSinglePage , AsyncSinglePage
13- from cloudflare .types .stream import Watermaks , WatermarkDeleteResponse
13+ from cloudflare .types .stream import Watermark , WatermarkDeleteResponse
1414
1515base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
1616
@@ -25,7 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None:
2525 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
2626 file = "@/Users/rchen/Downloads/watermark.png" ,
2727 )
28- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
28+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
2929
3030 @pytest .mark .skip ()
3131 @parametrize
@@ -39,7 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
3939 position = "center" ,
4040 scale = 0.1 ,
4141 )
42- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
42+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
4343
4444 @pytest .mark .skip ()
4545 @parametrize
@@ -52,7 +52,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
5252 assert response .is_closed is True
5353 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
5454 watermark = response .parse ()
55- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
55+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
5656
5757 @pytest .mark .skip ()
5858 @parametrize
@@ -65,7 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
6565 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
6666
6767 watermark = response .parse ()
68- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
68+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
6969
7070 assert cast (Any , response .is_closed ) is True
7171
@@ -84,7 +84,7 @@ def test_method_list(self, client: Cloudflare) -> None:
8484 watermark = client .stream .watermarks .list (
8585 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
8686 )
87- assert_matches_type (SyncSinglePage [Watermaks ], watermark , path = ["response" ])
87+ assert_matches_type (SyncSinglePage [Watermark ], watermark , path = ["response" ])
8888
8989 @pytest .mark .skip ()
9090 @parametrize
@@ -96,7 +96,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
9696 assert response .is_closed is True
9797 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
9898 watermark = response .parse ()
99- assert_matches_type (SyncSinglePage [Watermaks ], watermark , path = ["response" ])
99+ assert_matches_type (SyncSinglePage [Watermark ], watermark , path = ["response" ])
100100
101101 @pytest .mark .skip ()
102102 @parametrize
@@ -108,7 +108,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
108108 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
109109
110110 watermark = response .parse ()
111- assert_matches_type (SyncSinglePage [Watermaks ], watermark , path = ["response" ])
111+ assert_matches_type (SyncSinglePage [Watermark ], watermark , path = ["response" ])
112112
113113 assert cast (Any , response .is_closed ) is True
114114
@@ -184,7 +184,7 @@ def test_method_get(self, client: Cloudflare) -> None:
184184 "ea95132c15732412d22c1476fa83f27a" ,
185185 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
186186 )
187- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
187+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
188188
189189 @pytest .mark .skip ()
190190 @parametrize
@@ -197,7 +197,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
197197 assert response .is_closed is True
198198 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
199199 watermark = response .parse ()
200- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
200+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
201201
202202 @pytest .mark .skip ()
203203 @parametrize
@@ -210,7 +210,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
210210 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
211211
212212 watermark = response .parse ()
213- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
213+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
214214
215215 assert cast (Any , response .is_closed ) is True
216216
@@ -240,7 +240,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
240240 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
241241 file = "@/Users/rchen/Downloads/watermark.png" ,
242242 )
243- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
243+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
244244
245245 @pytest .mark .skip ()
246246 @parametrize
@@ -254,7 +254,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
254254 position = "center" ,
255255 scale = 0.1 ,
256256 )
257- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
257+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
258258
259259 @pytest .mark .skip ()
260260 @parametrize
@@ -267,7 +267,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
267267 assert response .is_closed is True
268268 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
269269 watermark = await response .parse ()
270- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
270+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
271271
272272 @pytest .mark .skip ()
273273 @parametrize
@@ -280,7 +280,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
280280 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
281281
282282 watermark = await response .parse ()
283- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
283+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
284284
285285 assert cast (Any , response .is_closed ) is True
286286
@@ -299,7 +299,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None:
299299 watermark = await async_client .stream .watermarks .list (
300300 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
301301 )
302- assert_matches_type (AsyncSinglePage [Watermaks ], watermark , path = ["response" ])
302+ assert_matches_type (AsyncSinglePage [Watermark ], watermark , path = ["response" ])
303303
304304 @pytest .mark .skip ()
305305 @parametrize
@@ -311,7 +311,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
311311 assert response .is_closed is True
312312 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
313313 watermark = await response .parse ()
314- assert_matches_type (AsyncSinglePage [Watermaks ], watermark , path = ["response" ])
314+ assert_matches_type (AsyncSinglePage [Watermark ], watermark , path = ["response" ])
315315
316316 @pytest .mark .skip ()
317317 @parametrize
@@ -323,7 +323,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
323323 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
324324
325325 watermark = await response .parse ()
326- assert_matches_type (AsyncSinglePage [Watermaks ], watermark , path = ["response" ])
326+ assert_matches_type (AsyncSinglePage [Watermark ], watermark , path = ["response" ])
327327
328328 assert cast (Any , response .is_closed ) is True
329329
@@ -399,7 +399,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
399399 "ea95132c15732412d22c1476fa83f27a" ,
400400 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
401401 )
402- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
402+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
403403
404404 @pytest .mark .skip ()
405405 @parametrize
@@ -412,7 +412,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
412412 assert response .is_closed is True
413413 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
414414 watermark = await response .parse ()
415- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
415+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
416416
417417 @pytest .mark .skip ()
418418 @parametrize
@@ -425,7 +425,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
425425 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
426426
427427 watermark = await response .parse ()
428- assert_matches_type (Optional [Watermaks ], watermark , path = ["response" ])
428+ assert_matches_type (Optional [Watermark ], watermark , path = ["response" ])
429429
430430 assert cast (Any , response .is_closed ) is True
431431
0 commit comments