diff options
| author | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2011-07-04 17:02:50 +0100 |
|---|---|---|
| committer | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2011-07-04 17:02:50 +0100 |
| commit | 33ee3015e28e23e2d875d6467215fd7e0071f7e4 (patch) | |
| tree | dcc3ac7309fa9f07b2438f5c1f323daecf3f877d | |
| parent | f09ca2b453f40f992697015d555a779e9bbe4b7b (diff) | |
| download | nova-33ee3015e28e23e2d875d6467215fd7e0071f7e4.tar.gz nova-33ee3015e28e23e2d875d6467215fd7e0071f7e4.tar.xz nova-33ee3015e28e23e2d875d6467215fd7e0071f7e4.zip | |
Fixing weird error while running tests.
Fix required patching nova/tests/___init__.py explictly importing nova.test
| -rw-r--r-- | nova/__init__.py | 1 | ||||
| -rw-r--r-- | nova/tests/test_xenapi.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nova/__init__.py b/nova/__init__.py index 884c4a713..92516f48b 100644 --- a/nova/__init__.py +++ b/nova/__init__.py @@ -33,5 +33,6 @@ import gettext +from nova import test gettext.install("nova", unicode=1) diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index 3302bd095..4cb7447d3 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -450,7 +450,7 @@ class XenAPIVMTestCase(test.TestCase): self._check_vdis(vdi_recs_start, vdi_recs_end) def test_spawn_fail_cleanup_2(self): - """Simulates an error while creating VM record. + """Simulates an error while creating VM record. It verifies that VDIs created are properly cleaned up. |
