def when_i_create_voicemails_with_the_following_parameters(step): for row in step.hashes: voicemail = _extract_voicemail_info_to_restapi(row) world.response = voicemail_action_restapi.create_voicemail(voicemail)
def when_i_create_voicemails_with_the_following_parameters(step): for row in step.hashes: voicemail = _extract_voicemail_info_to_restapi(row) world.response = voicemail_action_restapi.create_voicemail(voicemail)
def when_i_create_an_empty_voicemail(step): world.response = voicemail_action_restapi.create_voicemail({})
def when_i_create_an_empty_voicemail(step): world.response = voicemail_action_restapi.create_voicemail({})