diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-07-27 17:19:59 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-07-27 17:19:59 -0400 |
| commit | 22f502cdca94a20ebb061f434a9a78789a3b165d (patch) | |
| tree | f130b61488736713bd4b11f1efbc425e02fc8138 | |
| parent | 5800a84f113e7b0748f93143a1c00d1658388bc3 (diff) | |
move viewbuilder and serializer tests into their own test cases
| -rw-r--r-- | nova/tests/api/openstack/test_versions.py | 4 |
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': [ |
