Skip to content

Commit 0c39090

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove test_pre_live_migration_instance_has_no_fixed_ip"
2 parents a3a8e89 + cdb752f commit 0c39090

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)