summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/compute/test_servers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/compute/test_servers.py b/nova/tests/api/openstack/compute/test_servers.py
index f9e815c20..44741596b 100644
--- a/nova/tests/api/openstack/compute/test_servers.py
+++ b/nova/tests/api/openstack/compute/test_servers.py
@@ -2348,7 +2348,8 @@ class ServersControllerCreateTest(test.TestCase):
self.fail('expected quota to be exceeded')
except webob.exc.HTTPRequestEntityTooLarge as e:
self.assertEquals(e.explanation,
- _('Quota exceeded: already used 1 of 1 instances'))
+ _('Quota exceeded for instances: Requested 1, but'
+ ' already used 0 of 0 instances'))
class TestServerCreateRequestXMLDeserializer(test.TestCase):