def when_i_edit_the_device_with_mac_group1_using_the_following_parameters( step, mac): device = provd_helper.find_by_mac(mac) parameters = step.hashes[0] world.response = device_action_restapi.edit_device(device['id'], parameters)
def when_i_edit_the_device_with_mac_group1_using_the_following_parameters(step, mac): device = provd_helper.find_by_mac(mac) parameters = step.hashes[0] world.response = device_action_restapi.edit_device(device['id'], parameters)
def when_i_edit_the_device_with_mac_group1_using_no_parameters(step, mac): device = provd_helper.find_by_mac(mac) world.response = device_action_restapi.edit_device(device['id'], {})
def when_i_edit_the_device_with_mac_group1_using_no_parameters(step, mac): device = provd_helper.find_by_mac(mac) world.response = device_action_restapi.edit_device(device['id'], {})