#NEWLINE# def test_raises_error_for_unknown_migration_tool( self ) : #NEWLINE# #INDENT# nova_client = mock . Mock ( ) #NEWLINE# config = mock . Mock ( ) #NEWLINE# config . migrate . incloud_live_migration = 'not-existing-migration-type' #NEWLINE# vm_id = 'some-id' #NEWLINE# dest_host = 'some-host' #NEWLINE# self . assertRaises ( NotImplementedError , instances . incloud_live_migrate , nova_client , config , vm_id , self )