[config] fix using same key multiple times with 'apply' (#7127)

This commit is contained in:
Mike Fährmann
2025-03-16 19:37:04 +01:00
parent 063bf06a64
commit bf927cbd4f
3 changed files with 3 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ class TestConfig(unittest.TestCase):
options = (
(("b",) , "c", [1, 2, 3]),
(("e", "f"), "g", 234),
(("e", "f"), "g", 234),
)
self.assertEqual(config.get(("b",) , "c"), "text")