#NEWLINE# def test_set_boot_device_bad_device( self ) : #NEWLINE# #INDENT# with task_manager . acquire ( self . context , self . node . uuid ) as task : #NEWLINE# #INDENT# self . assertRaises ( exception . InvalidParameterValue , self . driver . management . set_boot_device , task , 'invalid-device' )