summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/compute/contrib/test_floating_ips.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/compute/contrib/test_floating_ips.py b/nova/tests/api/openstack/compute/contrib/test_floating_ips.py
index 6ce0daa05..e1a5593d3 100644
--- a/nova/tests/api/openstack/compute/contrib/test_floating_ips.py
+++ b/nova/tests/api/openstack/compute/contrib/test_floating_ips.py
@@ -228,7 +228,8 @@ class FloatingIpTest(test.TestCase):
self.stubs.Set(rpc, "call", fake_call)
req = fakes.HTTPRequest.blank('/v2/fake/os-floating-ips')
- self.assertRaises(webob.exc.HTTPBadRequest, self.controller.create,
+ self.assertRaises(webob.exc.HTTPRequestEntityTooLarge,
+ self.controller.create,
req)
def test_floating_ip_allocate(self):