summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-07-20 12:22:02 -0700
committerChris Behrens <cbehrens@codestud.com>2011-07-20 12:22:02 -0700
commit11101dfb47a7c3a37d3d3ec04f36e33fff9f59e2 (patch)
tree6e4b1450c3ed63da2d16b5337f70fe2f117b0403
parenta1cb17bf98359fae760800f8467c897d859b6994 (diff)
test fixes after unknown option string changes
-rw-r--r--nova/tests/api/openstack/test_servers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/api/openstack/test_servers.py b/nova/tests/api/openstack/test_servers.py
index 0ca42a0b5..df951c5a0 100644
--- a/nova/tests/api/openstack/test_servers.py
+++ b/nova/tests/api/openstack/test_servers.py
@@ -743,7 +743,7 @@ class ServersTest(test.TestCase):
res = req.get_response(fakes.wsgi_app())
self.assertEqual(res.status_int, 400)
self.assertTrue(res.body.find(
- "Unknown options specified: unknownoption") > -1)
+ "unknown options 'unknownoption'") > -1)
def test_get_servers_allows_image_v1_1(self):
def fake_get_all(compute_self, context, search_opts=None):
@@ -828,7 +828,7 @@ class ServersTest(test.TestCase):
res = req.get_response(fakes.wsgi_app())
self.assertEqual(res.status_int, 400)
self.assertTrue(res.body.find(
- "Unknown options specified: instance_name") > -1)
+ "unknown options 'instance_name'") > -1)
def test_get_servers_allows_instance_name2_v1_1(self):
"""Test getting servers by instance_name with admin_api