Fixing weird error while running tests.

Fix required patching nova/tests/___init__.py explictly importing nova.test
This commit is contained in:
Salvatore Orlando
2011-07-04 17:02:50 +01:00
parent 9c0e0c6e2c
commit 52bc92e07c

View File

@@ -450,7 +450,7 @@ class XenAPIVMTestCase(test.TestCase):
self._check_vdis(vdi_recs_start, vdi_recs_end) self._check_vdis(vdi_recs_start, vdi_recs_end)
def test_spawn_fail_cleanup_2(self): 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. It verifies that VDIs created are properly cleaned up.