@@ -29,6 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None:
29
29
bucket_name = "example-bucket" ,
30
30
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
31
31
domain = "prefix.example-domain.com" ,
32
+ enabled = True ,
32
33
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
33
34
)
34
35
assert_matches_type (CustomCreateResponse , custom , path = ["response" ])
@@ -39,8 +40,8 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
39
40
bucket_name = "example-bucket" ,
40
41
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
41
42
domain = "prefix.example-domain.com" ,
42
- zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
43
43
enabled = True ,
44
+ zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
44
45
min_tls = "1.0" ,
45
46
cf_r2_jurisdiction = "default" ,
46
47
)
@@ -52,6 +53,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
52
53
bucket_name = "example-bucket" ,
53
54
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
54
55
domain = "prefix.example-domain.com" ,
56
+ enabled = True ,
55
57
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
56
58
)
57
59
@@ -66,6 +68,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
66
68
bucket_name = "example-bucket" ,
67
69
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
68
70
domain = "prefix.example-domain.com" ,
71
+ enabled = True ,
69
72
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
70
73
) as response :
71
74
assert not response .is_closed
@@ -83,6 +86,7 @@ def test_path_params_create(self, client: Cloudflare) -> None:
83
86
bucket_name = "example-bucket" ,
84
87
account_id = "" ,
85
88
domain = "prefix.example-domain.com" ,
89
+ enabled = True ,
86
90
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
87
91
)
88
92
@@ -91,6 +95,7 @@ def test_path_params_create(self, client: Cloudflare) -> None:
91
95
bucket_name = "" ,
92
96
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
93
97
domain = "prefix.example-domain.com" ,
98
+ enabled = True ,
94
99
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
95
100
)
96
101
@@ -373,6 +378,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
373
378
bucket_name = "example-bucket" ,
374
379
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
375
380
domain = "prefix.example-domain.com" ,
381
+ enabled = True ,
376
382
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
377
383
)
378
384
assert_matches_type (CustomCreateResponse , custom , path = ["response" ])
@@ -383,8 +389,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
383
389
bucket_name = "example-bucket" ,
384
390
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
385
391
domain = "prefix.example-domain.com" ,
386
- zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
387
392
enabled = True ,
393
+ zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
388
394
min_tls = "1.0" ,
389
395
cf_r2_jurisdiction = "default" ,
390
396
)
@@ -396,6 +402,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
396
402
bucket_name = "example-bucket" ,
397
403
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
398
404
domain = "prefix.example-domain.com" ,
405
+ enabled = True ,
399
406
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
400
407
)
401
408
@@ -410,6 +417,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
410
417
bucket_name = "example-bucket" ,
411
418
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
412
419
domain = "prefix.example-domain.com" ,
420
+ enabled = True ,
413
421
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
414
422
) as response :
415
423
assert not response .is_closed
@@ -427,6 +435,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
427
435
bucket_name = "example-bucket" ,
428
436
account_id = "" ,
429
437
domain = "prefix.example-domain.com" ,
438
+ enabled = True ,
430
439
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
431
440
)
432
441
@@ -435,6 +444,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
435
444
bucket_name = "" ,
436
445
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
437
446
domain = "prefix.example-domain.com" ,
447
+ enabled = True ,
438
448
zone_id = "36ca64a6d92827b8a6b90be344bb1bfd" ,
439
449
)
440
450
0 commit comments