From db2481f6786aedeaa44ce1924ac471e8612203a5 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Fri, 31 Jan 2020 13:12:34 +0100 Subject: [PATCH] Improved tests coverage. --- tests/test_keypath_dict.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_keypath_dict.py b/tests/test_keypath_dict.py index aa2d05c..1f385cf 100644 --- a/tests/test_keypath_dict.py +++ b/tests/test_keypath_dict.py @@ -273,6 +273,7 @@ class keypath_dict_test_case(unittest.TestCase): }, } b = KeypathDict(d) + self.assertEqual(b.get([]), None) self.assertEqual(b.get(['a']), {'b': {'c': 1,'d': 2,},}) self.assertEqual(b.get(['a', 'b.c']), 1) self.assertEqual(b.get(['a', 'b', 'c']), 1)