#NEWLINE# def test_node_set_boot_device_non_existent_device( self ) : #NEWLINE# #INDENT# mgr_utils . mock_the_extension_manager ( driver = 'fake_ipmitool' ) #NEWLINE# self . driver = driver_factory . get_driver ( 'fake_ipmitool' ) #NEWLINE# ipmi_info = utils . get_test_ipmi_info ( ) #NEWLINE# node = obj_utils . create_test_node ( self . context , uuid = uuidutils . generate_uuid ( ) , driver = 'fake_ipmitool' , driver_info = ipmi_info ) #NEWLINE# task = task_manager . TaskManager ( self . context , node . uuid ) #NEWLINE# self . assertRaises ( exception . InvalidParameterValue , conductor_utils . node_set_boot_device , task , device = 'fake' )