Remove test_pre_live_migration_instance_has_no_fixed_ip

Remove the following unit test
because it is not useful any more.

* test_pre_live_migration_instance_has_no_fixed_ip
  in nova/tests/unit/compute/test_compute.py

Change-Id: I9edd70d36e7a8f40501ace574d5ae4b576a3e0ff
Closes-Bug: #1836692
This commit is contained in:
Takashi NATSUME 2019-07-16 13:57:08 +09:00
parent ab34c941be
commit cdb752f3d3
1 changed files with 0 additions and 9 deletions

View File

@ -6147,15 +6147,6 @@ class ComputeTestCase(BaseTestCase,
self.assertEqual(instance.vm_state, vm_states.ERROR)
self.compute.terminate_instance(self.context, instance, [])
def test_pre_live_migration_instance_has_no_fixed_ip(self):
# Confirm that no exception is raised if there is no fixed ip on
# pre_live_migration
self.compute.driver.pre_live_migration(
test.MatchType(nova.context.RequestContext),
test.MatchType(objects.Instance),
{'block_device_mapping': []},
mock.ANY, mock.ANY, mock.ANY)
@mock.patch.object(fake.FakeDriver, 'ensure_filtering_rules_for_instance')
@mock.patch.object(fake.FakeDriver, 'pre_live_migration')
@mock.patch('nova.compute.utils.notify_about_instance_action')