Supplement:use assertEqual() instead of assertDictEqual()

we can use assertEqual() instead of assertDictEqual().
This will make the unit test code more consistent,
and will also simplify the development of unit tests.
This patch is left by the patch above of mine.

Change-Id: I05cdbb3fde2476f0e92dd0aca1d44d21a4f2af69
This commit is contained in:
shizhihui 2016-07-27 09:47:29 +08:00
parent 072944d91d
commit f6cf44c9a8

View File

@ -47,7 +47,7 @@ class TemplateAPITest(functional_base.FunctionalTestsBase):
template=self.template
)
template_from_client = self.client.stacks.template(stack_identifier)
self.assertDictEqual(self.template, template_from_client)
self.assertEqual(self.template, template_from_client)
def test_template_version(self):
template_versions = self.client.template_versions.list()