コード例 #1
0
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)
コード例 #2
0
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)
コード例 #3
0
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'], {})
コード例 #4
0
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'], {})