Use assertEqual() instead of assertDictEqual()

In unittesttools, assertDictEqual() and assertEqual()
are implemented by using '!=' operator. But assertEqual()
can handle dict, list, set and so on. So we just call
assertEqual() to make the tests simpler.

Change-Id: Id4ae796feed69fb30409ac4c46eabadcbe47b47b
This commit is contained in:
Cao Xuan Hoang 2016-09-26 11:34:25 +07:00
parent e117ef1c3f
commit 2b9fe25cab
1 changed files with 1 additions and 1 deletions

View File

@ -197,4 +197,4 @@ class KeystoneAuthTestCase(test_base.BaseTestCase):
'path': '/test',
'body_hash': 'e3b0c44298fc1c149afbf4c8996fb924'
'27ae41e4649b934ca495991b7852b855'}}
self.assertDictEqual(expected_data, data)
self.assertEqual(expected_data, data)