@@ -29,7 +29,6 @@ def test_method_create(self, client: Cloudflare) -> None:
2929 custom_hostname = client .custom_hostnames .create (
3030 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
3131 hostname = "app.example.com" ,
32- ssl = {},
3332 )
3433 assert_matches_type (Optional [CustomHostnameCreateResponse ], custom_hostname , path = ["response" ])
3534
@@ -38,6 +37,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
3837 custom_hostname = client .custom_hostnames .create (
3938 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
4039 hostname = "app.example.com" ,
40+ custom_metadata = {"foo" : "string" },
4141 ssl = {
4242 "bundle_method" : "ubiquitous" ,
4343 "certificate_authority" : "google" ,
@@ -61,7 +61,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
6161 "type" : "dv" ,
6262 "wildcard" : False ,
6363 },
64- custom_metadata = {"foo" : "string" },
6564 )
6665 assert_matches_type (Optional [CustomHostnameCreateResponse ], custom_hostname , path = ["response" ])
6766
@@ -70,7 +69,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
7069 response = client .custom_hostnames .with_raw_response .create (
7170 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
7271 hostname = "app.example.com" ,
73- ssl = {},
7472 )
7573
7674 assert response .is_closed is True
@@ -83,7 +81,6 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
8381 with client .custom_hostnames .with_streaming_response .create (
8482 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
8583 hostname = "app.example.com" ,
86- ssl = {},
8784 ) as response :
8885 assert not response .is_closed
8986 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -99,7 +96,6 @@ def test_path_params_create(self, client: Cloudflare) -> None:
9996 client .custom_hostnames .with_raw_response .create (
10097 zone_id = "" ,
10198 hostname = "app.example.com" ,
102- ssl = {},
10399 )
104100
105101 @parametrize
@@ -345,7 +341,6 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
345341 custom_hostname = await async_client .custom_hostnames .create (
346342 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
347343 hostname = "app.example.com" ,
348- ssl = {},
349344 )
350345 assert_matches_type (Optional [CustomHostnameCreateResponse ], custom_hostname , path = ["response" ])
351346
@@ -354,6 +349,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
354349 custom_hostname = await async_client .custom_hostnames .create (
355350 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
356351 hostname = "app.example.com" ,
352+ custom_metadata = {"foo" : "string" },
357353 ssl = {
358354 "bundle_method" : "ubiquitous" ,
359355 "certificate_authority" : "google" ,
@@ -377,7 +373,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
377373 "type" : "dv" ,
378374 "wildcard" : False ,
379375 },
380- custom_metadata = {"foo" : "string" },
381376 )
382377 assert_matches_type (Optional [CustomHostnameCreateResponse ], custom_hostname , path = ["response" ])
383378
@@ -386,7 +381,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
386381 response = await async_client .custom_hostnames .with_raw_response .create (
387382 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
388383 hostname = "app.example.com" ,
389- ssl = {},
390384 )
391385
392386 assert response .is_closed is True
@@ -399,7 +393,6 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
399393 async with async_client .custom_hostnames .with_streaming_response .create (
400394 zone_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
401395 hostname = "app.example.com" ,
402- ssl = {},
403396 ) as response :
404397 assert not response .is_closed
405398 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -415,7 +408,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
415408 await async_client .custom_hostnames .with_raw_response .create (
416409 zone_id = "" ,
417410 hostname = "app.example.com" ,
418- ssl = {},
419411 )
420412
421413 @parametrize
0 commit comments