def i_receive_a_response_of_type_with_the_previous_tiers_and_data( step, response_type): status_code = http.status_codes[response_type] data = dataset_utils.prepare_data(step.hashes[0]) environment_instance_request.check_get_instance_response( world.response, status_code, data.get(NAME), data.get(DESCRIPTION), world.tiers)
def i_receive_a_response_of_type(step, response_type): status_code = http.status_codes[response_type] environment_instance_request.check_get_instance_response(world.response, status_code)
def i_receive_a_response_of_type(step, response_type): status_code = http.status_codes[response_type] environment_instance_request.check_get_instance_response( world.response, status_code)
def i_receive_a_response_of_type_with_the_previous_tiers_and_data(step, response_type): status_code = http.status_codes[response_type] data = dataset_utils.prepare_data(step.hashes[0]) environment_instance_request.check_get_instance_response(world.response, status_code, data.get(NAME), data.get(DESCRIPTION), world.tiers)