def conditions(self, request, appliance):
     num_conditions = 2
     response = _conditions(request, appliance, num=num_conditions)
     assert_response(appliance)
     assert len(response) == num_conditions
     return response
 def conditions(self, request, appliance):
     num_conditions = 2
     response = _conditions(request, appliance, num=num_conditions)
     assert_response(appliance)
     assert len(response) == num_conditions
     return response
Beispiel #3
0
 def conditions(self, request, appliance):
     num_conditions = 2
     response = _conditions(request, appliance.rest_api, num=num_conditions)
     assert appliance.rest_api.response.status_code == 200
     assert len(response) == num_conditions
     return response
 def conditions(self, request, appliance):
     num_conditions = 2
     response = _conditions(request, appliance.rest_api, num=num_conditions)
     assert appliance.rest_api.response.status_code == 200
     assert len(response) == num_conditions
     return response