Merge "Use assertEqual() instead of assertDictEqual()"

This commit is contained in:
Jenkins 2016-07-26 12:51:06 +00:00 committed by Gerrit Code Review
commit 0181709222
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class TestKeyValueAction(utils.TestCase):
actual = getattr(results, 'property', {})
# All should pass through unmolested
expect = {'red': '', 'green': '100%', 'blue': '50%', 'format': '#rgb'}
self.assertDictEqual(expect, actual)
self.assertEqual(expect, actual)
def test_error_values(self):
self.assertRaises(

View File

@ -1793,4 +1793,4 @@ class TestServerGeneral(TestServer):
server_detail.pop('networks')
# Check the results.
self.assertDictEqual(info, server_detail)
self.assertEqual(info, server_detail)