1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 15:57:34 +00:00
vorta/tests
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
..
borg_json_output Fix issue #940 - KeyError in get_dict_from_list. By @rblenis (#947) 2021-04-12 22:54:32 +08:00
network_manager Handle DBusException in NetworkManagerMonitor (#636) 2020-09-09 08:32:26 +08:00
__init__.py Start adding tests. Work on scheduler-tab. (both WIP) 2018-10-31 01:46:37 +08:00
conftest.py Allow to fully disable using the system keychain. (#898) 2021-03-01 15:25:31 +08:00
test_archives.py Add support for 'diff --json-lines'. By @rblenis (#909) 2021-03-30 07:47:27 +08:00
test_borg.py Fix flaky tests (#788) 2021-02-17 10:14:58 +08:00
test_diff.py Fix issue #940 - KeyError in get_dict_from_list. By @rblenis (#947) 2021-04-12 22:54:32 +08:00
test_lock.py Fix flaky tests (#788) 2021-02-17 10:14:58 +08:00
test_misc.py Fix flaky tests (#788) 2021-02-17 10:14:58 +08:00
test_notifications.py Add macOS notarization, use Github Workflows for testing (#407) 2020-03-03 13:19:36 +08:00
test_profile.py Fix flaky tests (#788) 2021-02-17 10:14:58 +08:00
test_repo.py Add mount option override checkbox. By @samuel-w (#682) 2021-02-18 15:01:32 +08:00
test_schedule.py Add macOS notarization, use Github Workflows for testing (#407) 2020-03-03 13:19:36 +08:00
test_scheduler.py Fix flaky tests (#788) 2021-02-17 10:14:58 +08:00
test_source.py More test fixes, avoid segfault when quitting (#877) 2021-02-22 09:45:43 +08:00
test_utils.py More test fixes, avoid segfault when quitting (#877) 2021-02-22 09:45:43 +08:00