vorta/tests/borg_json_output
Robert Blenis 61326e1814
Fix issue #940 - KeyError in get_dict_from_list. By @rblenis (#947)
* fix issue #940 - KeyError in get_dict_from_list
- cause of error : defaultdict added more defaultdict while attempting to traverse the tree, but once a 'potential leaf' node was added, it was added as a dict, not a defaultdict.
- two possible solutions:
    - 1 - change everywhere that adds a 'potential' leaf node to add a defaultdict (ie nested_dict()) - this occurs in several places, but not many.
    - 2 - change get_dict_from_list to add a default dict (not defaultdict) when traversing the tree, for the case where a multi-level node is added on top of an existing node. This requires only changing a single location, and means that the dictionaries returned by accessing the tree will behave like normal dict (ie, won't by default add missing keys).
* Add test case for issues #940 and #925
2021-04-12 22:54:32 +08:00
..
check_stderr.json v0.5.1 (#63) 2018-11-30 08:40:18 +08:00
check_stdout.json v0.5.1 (#63) 2018-11-30 08:40:18 +08:00
create_break_stderr.json Give option to break repository lock. By @samuel-w (#863) 2021-02-17 09:58:42 +08:00
create_break_stdout.json Give option to break repository lock. By @samuel-w (#863) 2021-02-17 09:58:42 +08:00
create_lock_stderr.json Give option to break repository lock. By @samuel-w (#863) 2021-02-17 09:58:42 +08:00
create_lock_stdout.json Give option to break repository lock. By @samuel-w (#863) 2021-02-17 09:58:42 +08:00
create_perm_stderr.json Give option to break repository lock. By @samuel-w (#863) 2021-02-17 09:58:42 +08:00
create_perm_stdout.json Give option to break repository lock. By @samuel-w (#863) 2021-02-17 09:58:42 +08:00
create_stderr.json Add more tests and sample borg output. 2018-11-06 14:47:04 +08:00
create_stdout.json Add more tests and sample borg output. 2018-11-06 14:47:04 +08:00
delete_stderr.json Refactoring: remove last exec_, add tests, retain archive deletion message. By @samuel-w (#722) 2020-11-20 08:46:09 +08:00
delete_stdout.json Refactoring: remove last exec_, add tests, retain archive deletion message. By @samuel-w (#722) 2020-11-20 08:46:09 +08:00
diff_archives_dict_issue_stderr.json Fix issue #940 - KeyError in get_dict_from_list. By @rblenis (#947) 2021-04-12 22:54:32 +08:00
diff_archives_dict_issue_stdout.json Fix issue #940 - KeyError in get_dict_from_list. By @rblenis (#947) 2021-04-12 22:54:32 +08:00
diff_archives_stderr.json Rewrite of borg diff core (#373) 2020-03-23 14:20:09 +08:00
diff_archives_stdout.json Rewrite of borg diff core (#373) 2020-03-23 14:20:09 +08:00
info_stderr.json Add more tests and sample borg output. 2018-11-06 14:47:04 +08:00
info_stdout.json Add more tests and sample borg output. 2018-11-06 14:47:04 +08:00
list_archive_stderr.json v0.5.1 (#63) 2018-11-30 08:40:18 +08:00
list_archive_stdout.json Use json mode to list archive files. By @rblenis (#885) 2021-03-01 16:49:49 +08:00
list_stderr.json Add more tests and sample borg output. 2018-11-06 14:47:04 +08:00
list_stdout.json Add more tests and sample borg output. 2018-11-06 14:47:04 +08:00
prune_stderr.json v0.5.1 (#63) 2018-11-30 08:40:18 +08:00
prune_stdout.json i18n infrastructure and policy (#134) 2019-01-20 11:50:10 +08:00
rename_stderr.json Add rename action. By @samuel-w and @m3nu (#864) 2021-02-18 09:44:10 +08:00
rename_stdout.json Add rename action. By @samuel-w and @m3nu (#864) 2021-02-18 09:44:10 +08:00