summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_xenapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py
index 2cacd2364..ec0104783 100644
--- a/nova/tests/test_xenapi.py
+++ b/nova/tests/test_xenapi.py
@@ -413,7 +413,7 @@ class XenAPIVMTestCase(test.TestCase):
self.check_vm_params_for_linux()
def test_spawn_not_enough_memory(self):
- self.assertRaises(Exception,
+ self.assertRaises(exception.InsufficientFreeMemory,
self._test_spawn,
1, 2, 3, "4") # m1.xlarge