diff options
author | xudan <xudan16@huawei.com> | 2019-09-09 05:35:27 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2019-09-10 02:31:13 -0400 |
commit | 369a1fb6e32496ef53e37717de31265f5d4d7074 (patch) | |
tree | df6d24215cf5458ebaa7031b7c64164b91adc69c /dovetail/tests/unit/utils/test_dovetail_config.py | |
parent | 6d33ad294d6bc56226c86604cded0b70a6952661 (diff) |
Use assertEqual instead of assertEquals
DeprecationWarning: Please use assertEqual instead
Change-Id: I84db84e85a8a43486109bb948258e57c8b86fdfb
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/tests/unit/utils/test_dovetail_config.py')
-rw-r--r-- | dovetail/tests/unit/utils/test_dovetail_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/tests/unit/utils/test_dovetail_config.py b/dovetail/tests/unit/utils/test_dovetail_config.py index c7ac5b96..8e835f49 100644 --- a/dovetail/tests/unit/utils/test_dovetail_config.py +++ b/dovetail/tests/unit/utils/test_dovetail_config.py @@ -39,7 +39,7 @@ class DovetailConfigTesting(unittest.TestCase): dovetail_cfg.set_leaf_dict(dict_to_test, ['aa', 'bb', 'cc'], 'val') - self.assertEquals({'aa': {'bb': {'cc': 'val'}}}, dict_to_test) + self.assertEqual({'aa': {'bb': {'cc': 'val'}}}, dict_to_test) @patch.object(DovetailConfig, 'set_leaf_dict') @patch.object(DovetailConfig, 'dovetail_config') |