summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-07-27 17:19:59 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-07-27 17:19:59 -0400
commit22f502cdca94a20ebb061f434a9a78789a3b165d (patch)
treef130b61488736713bd4b11f1efbc425e02fc8138
parent5800a84f113e7b0748f93143a1c00d1658388bc3 (diff)
move viewbuilder and serializer tests into their own test cases
-rw-r--r--nova/tests/api/openstack/test_versions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/tests/api/openstack/test_versions.py b/nova/tests/api/openstack/test_versions.py
index 63bca7066..7bb762c71 100644
--- a/nova/tests/api/openstack/test_versions.py
+++ b/nova/tests/api/openstack/test_versions.py
@@ -535,6 +535,8 @@ class VersionsTest(test.TestCase):
self.assertDictMatch(expected, json.loads(res.body))
+
+class VersionsViewBuilderTests(VersionsTest):
def test_view_builder(self):
base_url = "http://example.org/"
@@ -580,6 +582,8 @@ class VersionsTest(test.TestCase):
self.assertEqual(actual, expected)
+
+class VersionsSerializerTests(VersionsTest):
def test_versions_list_xml_serializer(self):
versions_data = {
'versions': [