#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( BaseTrackerTestCase , self ) . setUp ( ) #NEWLINE# self . tracker = self . _tracker ( ) #NEWLINE# self . _migrations = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . stub_out ( 'nova.db.service_get_by_compute_host' , self . _fake_service_get_by_compute_host ) #NEWLINE# self . stub_out ( 'nova.db.compute_node_get_by_host_and_nodename' , self . _fake_compute_node_get_by_host_and_nodename ) #NEWLINE# self . stub_out ( 'nova.db.compute_node_update' , patcher . _fake_compute_node_update ) #NEWLINE# self . stub_out ( 'nova.db.compute_node_delete' , self . _fake_compute_node_delete ) #NEWLINE# self . stub_out ( 'nova.db.migration_update' , self . _fake_migration_update ) #NEWLINE# self . stub_out ( 'nova.db.migration_get_in_progress_by_host_and_node' , self . _fake_migration_get_in_progress_by_host_and_node ) #NEWLINE# patcher = pci_fakes . fake_pci_whitelist ( ) #NEWLINE# self . addCleanup ( patcher . stop ) #NEWLINE# self . _init_tracker ( ) #NEWLINE# self . limits = self . _limits ( )