summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorMichael Still <mikal@stillhq.com>2012-02-10 11:59:36 +1100
committerMichael Still <mikal@stillhq.com>2012-02-10 18:27:23 +1100
commitb70bd00cf84fb1c78037efcea030df313ff1f923 (patch)
tree6cd51a0ab30c8a8e32af8a9f4554854dcb4fcde8 /nova/tests
parent5ad971810aaedcf5c9efd1b56add0e23921899ae (diff)
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
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_virt_drivers.py3
1 files changed, 2 insertions, 1 deletions
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)