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 fd9ed0af7d
commit 0dfa28f40c
2 changed files with 2 additions and 1 deletions

View File

@@ -33,5 +33,6 @@
import gettext
from nova import test
gettext.install("nova", unicode=1)

View File

@@ -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.