Merge "Use assertEqual() instead of assertDictEqual()"
This commit is contained in:
commit
0181709222
@ -49,7 +49,7 @@ class TestKeyValueAction(utils.TestCase):
|
|||||||
actual = getattr(results, 'property', {})
|
actual = getattr(results, 'property', {})
|
||||||
# All should pass through unmolested
|
# All should pass through unmolested
|
||||||
expect = {'red': '', 'green': '100%', 'blue': '50%', 'format': '#rgb'}
|
expect = {'red': '', 'green': '100%', 'blue': '50%', 'format': '#rgb'}
|
||||||
self.assertDictEqual(expect, actual)
|
self.assertEqual(expect, actual)
|
||||||
|
|
||||||
def test_error_values(self):
|
def test_error_values(self):
|
||||||
self.assertRaises(
|
self.assertRaises(
|
||||||
|
@ -1793,4 +1793,4 @@ class TestServerGeneral(TestServer):
|
|||||||
server_detail.pop('networks')
|
server_detail.pop('networks')
|
||||||
|
|
||||||
# Check the results.
|
# Check the results.
|
||||||
self.assertDictEqual(info, server_detail)
|
self.assertEqual(info, server_detail)
|
||||||
|
Loading…
Reference in New Issue
Block a user