Ejemplo n.º 1
0
 def test_post_live_migration_at_source(self, mock_post_live_migration):
     driver = self._get_driver()
     driver.post_live_migration_at_source('fake_context', 'fake_instance',
                                          'fake_network_info')
     mock_post_live_migration.assert_called_once_with(
         'fake_context', 'fake_instance', 'fake_network_info')
Ejemplo n.º 2
0
 def test_post_live_migration_at_source(self, mock_post_live_migration):
     driver = self._get_driver()
     driver.post_live_migration_at_source('fake_context', 'fake_instance',
                                          'fake_network_info')
     mock_post_live_migration.assert_called_once_with(
         'fake_context', 'fake_instance', 'fake_network_info')