From 44db828e8c7bd5a0cdb794d35234d824261a4644 Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Mon, 4 Jun 2012 16:08:21 +0000 Subject: Split xenapi agent code out to nova.virt.xenapi.agent This refactoring makes the split between driver methods and internal methods clearer. It also makes all agent methods private instead of making some private, some public and some both. Change-Id: I6c6b405942e47a85816e10224d4e6d986a8b06dc --- nova/tests/test_xenapi.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nova/tests') diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index 301c78d69..b7caf63ba 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -40,6 +40,7 @@ from nova.tests import fake_network from nova.tests import fake_utils import nova.tests.image.fake as fake_image from nova.tests.xenapi import stubs +from nova.virt.xenapi import agent from nova.virt.xenapi import driver as xenapi_conn from nova.virt.xenapi import fake as xenapi_fake from nova.virt.xenapi import vm_utils @@ -862,8 +863,8 @@ class XenAPIDiffieHellmanTestCase(test.TestCase): """Unit tests for Diffie-Hellman code.""" def setUp(self): super(XenAPIDiffieHellmanTestCase, self).setUp() - self.alice = vmops.SimpleDH() - self.bob = vmops.SimpleDH() + self.alice = agent.SimpleDH() + self.bob = agent.SimpleDH() def test_shared(self): alice_pub = self.alice.get_public() -- cgit