Skip to content

Commit cf7c5cc

Browse files
authored
feat(Context-Based Restrictions): add enforcement_modes to operations response (#227)
Signed-off-by: Matthew Brandyberry <[email protected]>
1 parent 06c2781 commit cf7c5cc

File tree

3 files changed

+200
-177
lines changed

3 files changed

+200
-177
lines changed

examples/test_context_based_restrictions_v1_examples.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,18 @@ def test_create_zone_example(self):
108108
'type': 'ipAddress',
109109
'value': '169.23.56.234',
110110
}
111+
ip_address_v6_model = {
112+
'type': 'ipAddress',
113+
'value': '3ffe:1900:fe21:4545::',
114+
}
111115
ip_range_address_model = {
112116
'type': 'ipRange',
113117
'value': '169.23.22.0-169.23.22.255',
114118
}
119+
ip_range_address_v6_model = {
120+
'type': 'ipRange',
121+
'value': '3ffe:1900:fe21:4545::-3ffe:1900:fe21:6767::',
122+
}
115123
subnet_address_model = {
116124
'type': 'subnet',
117125
'value': '192.0.2.0/24',
@@ -137,7 +145,9 @@ def test_create_zone_example(self):
137145
account_id=account_id,
138146
addresses=[
139147
ip_address_model,
148+
ip_address_v6_model,
140149
ip_range_address_model,
150+
ip_range_address_v6_model,
141151
subnet_address_model,
142152
vpc_address_model,
143153
service_ref_address_model,

0 commit comments

Comments
 (0)