@@ -1145,20 +1145,6 @@ def test_1_dns_customresolvers(self):
1145
1145
assert resp is not None
1146
1146
assert resp .status_code == 200
1147
1147
1148
- """ add,update,Custom Resolver Locations """
1149
- # Add Custom Resolver Locations
1150
- resp = self .cr .add_custom_resolver_location (instance_id = self .instance_id , resolver_id = resolver_id ,
1151
- subnet_crn = self .subnet_crn_location ,enable = True )
1152
- assert resp is not None
1153
- assert resp .status_code == 200
1154
- location_id = resp .get_result ().get ("id" )
1155
-
1156
- # Update Custom Resolver Locations
1157
- resp = self .cr .update_custom_resolver_location (instance_id = self .instance_id , resolver_id = resolver_id ,
1158
- location_id = location_id , enable = True )
1159
- assert resp is not None
1160
- assert resp .status_code == 200
1161
-
1162
1148
""" create,get,update,list Forwarding rules """
1163
1149
# Create Forwarding rules
1164
1150
type1 = 'zone'
@@ -1194,12 +1180,6 @@ def test_1_dns_customresolvers(self):
1194
1180
# Delete Forwarding rules
1195
1181
resp = self .cr .delete_forwarding_rule (instance_id = self .instance_id , resolver_id = resolver_id , rule_id = rule_id )
1196
1182
assert resp is not None
1197
- assert resp .status_code == 204
1198
-
1199
- # Delete Custom resolver locations
1200
- resp = self .cr .delete_custom_resolver_location (instance_id = self .instance_id , resolver_id = resolver_id ,
1201
- location_id = location_id )
1202
- assert resp is not None
1203
1183
assert resp .status_code == 204
1204
1184
1205
1185
# Delete Custom Resolver
0 commit comments