In ConfigTreePatser.postParse(), where the value is put to the resulting dict, the key was not split. Thus, ConfigTree.put() was overwriting any values.
Changes
Added tests for that case
ConfigTreePatser.postParse() now splits the key before calling ConfigTree.put()
Coverage decreased (-1.7%) to 94.413% when pulling de87e8db9ddcc5a73b12ceef725a8e7391d9039b on USSX-Hares:bug/272-dict-substitution-fix into be660deb6d6a5a175d384792e208fd39986758ea on chimpler:master.
Coverage decreased (-1.7%) to 94.413% when pulling de87e8db9ddcc5a73b12ceef725a8e7391d9039b on USSX-Hares:bug/272-dict-substitution-fix into be660deb6d6a5a175d384792e208fd39986758ea on chimpler:master.
Closes #272
Root Cause
In
ConfigTreePatser.postParse()
, where the value is put to the resulting dict, the key was not split. Thus,ConfigTree.put()
was overwriting any values.Changes
ConfigTreePatser.postParse()
now splits the key before callingConfigTree.put()