@@ -65,6 +65,10 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
65
65
"upload" : "enabled" ,
66
66
"version" : "v1" ,
67
67
},
68
+ "block_page" : {
69
+ "target_uri" : "https://example.com" ,
70
+ "include_context" : True ,
71
+ },
68
72
"block_page_enabled" : True ,
69
73
"block_reason" : "This website is a security risk" ,
70
74
"bypass_parent_rule" : False ,
@@ -105,6 +109,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
105
109
},
106
110
"notification_settings" : {
107
111
"enabled" : True ,
112
+ "include_context" : True ,
108
113
"msg" : "msg" ,
109
114
"support_url" : "support_url" ,
110
115
},
@@ -221,6 +226,10 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
221
226
"upload" : "enabled" ,
222
227
"version" : "v1" ,
223
228
},
229
+ "block_page" : {
230
+ "target_uri" : "https://example.com" ,
231
+ "include_context" : True ,
232
+ },
224
233
"block_page_enabled" : True ,
225
234
"block_reason" : "This website is a security risk" ,
226
235
"bypass_parent_rule" : False ,
@@ -261,6 +270,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
261
270
},
262
271
"notification_settings" : {
263
272
"enabled" : True ,
273
+ "include_context" : True ,
264
274
"msg" : "msg" ,
265
275
"support_url" : "support_url" ,
266
276
},
@@ -572,6 +582,10 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
572
582
"upload" : "enabled" ,
573
583
"version" : "v1" ,
574
584
},
585
+ "block_page" : {
586
+ "target_uri" : "https://example.com" ,
587
+ "include_context" : True ,
588
+ },
575
589
"block_page_enabled" : True ,
576
590
"block_reason" : "This website is a security risk" ,
577
591
"bypass_parent_rule" : False ,
@@ -612,6 +626,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
612
626
},
613
627
"notification_settings" : {
614
628
"enabled" : True ,
629
+ "include_context" : True ,
615
630
"msg" : "msg" ,
616
631
"support_url" : "support_url" ,
617
632
},
@@ -728,6 +743,10 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
728
743
"upload" : "enabled" ,
729
744
"version" : "v1" ,
730
745
},
746
+ "block_page" : {
747
+ "target_uri" : "https://example.com" ,
748
+ "include_context" : True ,
749
+ },
731
750
"block_page_enabled" : True ,
732
751
"block_reason" : "This website is a security risk" ,
733
752
"bypass_parent_rule" : False ,
@@ -768,6 +787,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
768
787
},
769
788
"notification_settings" : {
770
789
"enabled" : True ,
790
+ "include_context" : True ,
771
791
"msg" : "msg" ,
772
792
"support_url" : "support_url" ,
773
793
},
0 commit comments