diff options
author | xudan <xudan16@huawei.com> | 2019-10-24 04:04:10 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2019-10-25 03:46:11 -0400 |
commit | 01bca75cc4af1665918a04c2a9a8c36dfb473d77 (patch) | |
tree | ce63f67cc0fda2ab726db432d086394d137a03c4 /dovetail/tests/unit | |
parent | bfc54b0a88126c51b667fcd83d56233009c5d07e (diff) |
Update API to python3 and add some addtional APIs
Update the unit test case to fix the py27 failure.
Change-Id: Ic75b8fc037c320ec5599eb007dcee43788e32807
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/tests/unit')
-rw-r--r-- | dovetail/tests/unit/utils/test_dovetail_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/tests/unit/utils/test_dovetail_utils.py b/dovetail/tests/unit/utils/test_dovetail_utils.py index 2d2cdb0d..7ec177d1 100644 --- a/dovetail/tests/unit/utils/test_dovetail_utils.py +++ b/dovetail/tests/unit/utils/test_dovetail_utils.py @@ -511,7 +511,7 @@ class DovetailUtilsTesting(unittest.TestCase): hosts_obj.write.assert_called_once() def test_get_obj_by_path(self): - obj = {'name': 'name', 'validate': {'testcase': 'testcase'}} + obj = {'list': ['a', 'b'], 'name': 'name'} dst_path = ('name',) expected = 'name' |