#NEWLINE# def test_runs_migration_for_nova( self ) : #NEWLINE# #INDENT# nova_client = mock . Mock ( ) #NEWLINE# config = mock . Mock ( ) #NEWLINE# config . migrate . incloud_live_migration = 'nova' #NEWLINE# vm_id = 'some-id' #NEWLINE# dest_host = 'dest-host' #NEWLINE# instances . incloud_live_migrate ( nova_client , config , vm_id , dest_host )