From 5e09136303b06b241d4e28ef6bc3cc9cb01ea4ad Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Thu, 5 Apr 2012 16:05:06 +0000 Subject: Remove unused xenstore methods Since we're in there, fix a TODO to use helper method instead of session directly and simplify a couple of methods that don't need to be so complicated Change-Id: I6eeb290e4112844381ebe0c710e54f67ca61596e --- nova/tests/test_xenapi.py | 1 + 1 file changed, 1 insertion(+) (limited to 'nova/tests') diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index 581f833fc..b15daa7e6 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -366,6 +366,7 @@ class XenAPIVMTestCase(test.TestCase): if check_injection: xenstore_data = self.vm['xenstore_data'] + self.assertEquals(xenstore_data['vm-data/hostname'], 'test') key = 'vm-data/networking/DEADBEEF0000' xenstore_value = xenstore_data[key] tcpip_data = ast.literal_eval(xenstore_value) -- cgit