From b70bd00cf84fb1c78037efcea030df313ff1f923 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Fri, 10 Feb 2012 11:59:36 +1100 Subject: Log instance id consistently inside the firewall code. This brings this code inline with the way connection.py does instance logging now. Change-Id: I3a9b256cb87bc273352f4b9338ae32dbc1faa6f6 --- nova/tests/test_virt_drivers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nova/tests') diff --git a/nova/tests/test_virt_drivers.py b/nova/tests/test_virt_drivers.py index 58d295a6f..3ec2155cf 100644 --- a/nova/tests/test_virt_drivers.py +++ b/nova/tests/test_virt_drivers.py @@ -211,7 +211,8 @@ class _VirtDriverTestCase(test.TestCase): @catch_notimplementederror def test_destroy_instance_nonexistant(self): - fake_instance = {'id': 42, 'name': 'I just made this up!'} + fake_instance = {'id': 42, 'name': 'I just made this up!', + 'uuid': 'bda5fb9e-b347-40e8-8256-42397848cb00'} network_info = test_utils.get_test_network_info() self.connection.destroy(fake_instance, network_info) -- cgit