Example #1
0
 def arbitration_rules(self, request, appliance):
     num_rules = 2
     response = _arbitration_rules(request,
                                   appliance.rest_api,
                                   num=num_rules)
     assert_response(appliance)
     assert len(response) == num_rules
     return response
Example #2
0
 def arbitration_rules(self, request, appliance):
     num_rules = 2
     response = _arbitration_rules(request, appliance.rest_api, num=num_rules)
     assert_response(appliance)
     assert len(response) == num_rules
     return response
Example #3
0
 def arbitration_rules(self, request, rest_api):
     num_rules = 2
     response = _arbitration_rules(request, rest_api, num=num_rules)
     assert rest_api.response.status_code == 200
     assert len(response) == num_rules
     return response