salt/tests/unit/pillar
Brandon Ewing 9931a41955
Fix last key detection in pepa key_value_to_tree
pepa.key_value_to_tree only checks the name of the key when attempting
to identify the last key in a flattened key.  This can lead to strange
behavior when the final key name also occurs earlier in the flatkey.

This change explicitly checks that we are the final key in flatkey
prior to setting value.  Test included.

Also see mickep76/pepa#11 and mickep76/pepa#12
2018-12-04 20:35:34 -06:00
..
__init__.py Test cases 2014-02-06 05:14:52 +00:00
test_consul.py Proper mocking. 2017-04-01 14:22:59 +01:00
test_git.py Add optimization_order to mocking 2018-08-08 11:22:52 -05:00
test_hg.py Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
test_mysql.py Fix linter warnings 2018-04-27 09:04:01 -07:00
test_nodegroups.py Drop @patch usage 2017-04-28 13:36:42 +01:00
test_pepa.py Fix last key detection in pepa key_value_to_tree 2018-12-04 20:35:34 -06:00
test_sqlcipher.py Import the full module namespace to avoid import shadowing. 2017-03-28 19:02:47 +01:00
test_sqlite3.py Import the full module namespace to avoid import shadowing. 2017-03-28 19:02:47 +01:00