summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-09-13 18:33:09 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-09-13 18:33:09 +0000
commit2b8463b664d450af045c1bd01accce4126933755 (patch)
tree68862f7912869d4628cacd57705ee2d5d5650b67 /nova
parent7d76c99526271077420e3f6a03e14bf1e037a3eb (diff)
Actually test expected matches received
Diffstat (limited to 'nova')
-rw-r--r--nova/tests/api/openstack/test_versions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/api/openstack/test_versions.py b/nova/tests/api/openstack/test_versions.py
index 1269f13c9..b3412f97c 100644
--- a/nova/tests/api/openstack/test_versions.py
+++ b/nova/tests/api/openstack/test_versions.py
@@ -534,6 +534,8 @@ class VersionsTest(test.TestCase):
</choices>""".replace(" ", "").replace("\n", "") % (wsgi.XMLNS_V11,
wsgi.XMLNS_ATOM)
+ self.assertEqual(expected, res.body)
+
def test_multi_choice_server_atom(self):
"""
Make sure multi choice responses do not have content-type