def when_i_send_a_request_for_the_voicemail_with_number_group1_using_its_id(step, extension): number, context = func.extract_number_and_context_from_extension(extension) voicemail_id = voicemail_helper.find_voicemail_id_with_number(number, context) world.response = voicemail_action_restapi.get_voicemail(voicemail_id)
def when_i_send_a_request_for_the_voicemail_with_number_group1_using_its_id( step, extension): number, context = func.extract_number_and_context_from_extension(extension) voicemail_id = voicemail_helper.find_voicemail_id_with_number( number, context) world.response = voicemail_action_restapi.get_voicemail(voicemail_id)
def when_i_request_voicemail_with_id_group1(step, voicemail_id): world.response = voicemail_action_restapi.get_voicemail(voicemail_id)