diff options
| author | Ewan Mellor <ewan.mellor@citrix.com> | 2010-12-29 02:24:08 +0000 |
|---|---|---|
| committer | Tarmac <> | 2010-12-29 02:24:08 +0000 |
| commit | 71be236ef4a1fd956f7462ff236ff53d93fef2dc (patch) | |
| tree | f54907e49a47442084a3109001a051817d3a875e /nova/tests | |
| parent | b7b2760cd7cf74fde8ff48bbfefe64c53c3d149c (diff) | |
| parent | 380b28f89481c52dbcda0b54fd7409b6bc72bb56 (diff) | |
Bug #694880: nova-compute now depends upon Cheetah even when not using libvirt
Only import Cheetah when needed, as we do already with libvirt and libxml2. This ensures that users of other virt backends don't need Cheetah to run nova-compute.
Resubmitted with pep8 violations fixed.
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_virt.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/tests/test_virt.py b/nova/tests/test_virt.py index 1c155abe4..4aa489d08 100644 --- a/nova/tests/test_virt.py +++ b/nova/tests/test_virt.py @@ -33,6 +33,7 @@ flags.DECLARE('instances_path', 'nova.compute.manager') class LibvirtConnTestCase(test.TestCase): def setUp(self): super(LibvirtConnTestCase, self).setUp() + libvirt_conn._late_load_cheetah() self.flags(fake_call=True) self.manager = manager.AuthManager() self.user = self.manager.create_user('fake', 'fake', 'fake', |
