1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 07:43:09 +00:00
vorta/tests/borg_json_output
real-yfprojects 71af54f59b
Use new treemodel for extract dialog.
* src/vorta/views/extract_dialog.py: Add `ParseThread`, `ExtractTree` and `parse_json_lines`.

* src/vorta/views/extract_dialog.py (ExtractTree.__init__): Adjust signature.

* src/vorta/borg/list_archive.py (BorgListArchiveJob.prepare): Adjust format to
	include additional attributes.

* src/vorta/views/archive_tab.py (ArchiveTab): Parse extract data using `ParseThread` and
	open `ExtractDialog` afterwards.

* tests/test_archives.py (test_archive_extract): Update tests.

* src/vorta/borg/extract.py (BorgExtractJob.prepare): Adjust signature.
	Handling of the data isn't implemented yet.

* tests/test_extract.py
2022-07-25 16:15:45 +02: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
compact_stderr.json Support new borg compact command (#1205) 2022-02-21 21:23:56 +04:00
compact_stdout.json Support new borg compact command (#1205) 2022-02-21 21:23:56 +04: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 new treemodel for extract dialog. 2022-07-25 16:15:45 +02: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