Skip to content

Commit cdb752f

Browse files
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
1 parent ab34c94 commit cdb752f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

nova/tests/unit/compute/test_compute.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6147,15 +6147,6 @@ def raise_migration_failure(*args):
61476147
self.assertEqual(instance.vm_state, vm_states.ERROR)
61486148
self.compute.terminate_instance(self.context, instance, [])
61496149

6150-
def test_pre_live_migration_instance_has_no_fixed_ip(self):
6151-
# Confirm that no exception is raised if there is no fixed ip on
6152-
# pre_live_migration
6153-
self.compute.driver.pre_live_migration(
6154-
test.MatchType(nova.context.RequestContext),
6155-
test.MatchType(objects.Instance),
6156-
{'block_device_mapping': []},
6157-
mock.ANY, mock.ANY, mock.ANY)
6158-
61596150
@mock.patch.object(fake.FakeDriver, 'ensure_filtering_rules_for_instance')
61606151
@mock.patch.object(fake.FakeDriver, 'pre_live_migration')
61616152
@mock.patch('nova.compute.utils.notify_about_instance_action')

0 commit comments

Comments
 (0)