#NEWLINE# def test_pre_live_migration_clustered( self ) : #NEWLINE# #INDENT# self . livemigrops . pre_live_migration ( self . _fake_context , mock . sentinel . fake_instance , mock . sentinel . bdi , mock . sentinel . network_info ) #NEWLINE# fake_conn_vol = self . livemigrops . _volumeops . connect_volumes #NEWLINE# fake_conn_vol . assert_called_once_with ( mock . sentinel . bdi )