vorta/tests
yfprojects 93307d278d
Add default `unset` value to repo combobox. By @real-yfprojects (#1429)
First element with index 0 is always the 'unset' option with data `None`.

* src/vorta/views/repo_tab.py (RepoTab.set_repos): Add element.

* src/vorta/views/repo_tab.py (RepoTab.repo_unlink_action): Handle the first element as unset.

* src/vorta/views/repo_tab.py (RepoTab.copy_URL_action): Handle unset state.

* tests/test_repo.py (test_repo_unlink): Fix test.

Co-authored-by: real-yfprojects <real-yfprojects@users.noreply.github.com>
2022-10-13 13:12:20 +02:00
..
borg_json_output Use new treemodel for extract dialog. 2022-07-25 16:15:45 +02:00
network_manager Run hooks on the code base. 2022-08-16 18:20:34 +02:00
profile_exports Remove APScheduler dependency, Python 3.10 support (#1086) 2021-10-27 08:37:28 +04:00
__init__.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
conftest.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_archives.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_borg.py Refactor: Split up vorta/models.py (#1112) 2021-11-17 13:14:11 +04:00
test_diff.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_extract.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
test_import_export.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_lock.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
test_misc.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_notifications.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
test_profile.py Remove unnecessary qtbot.wait (#1172) 2022-01-24 17:05:57 +04:00
test_repo.py Add default `unset` value to repo combobox. By @real-yfprojects (#1429) 2022-10-13 13:12:20 +02:00
test_schedule.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_scheduler.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_source.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_treemodel.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_utils.py More test fixes, avoid segfault when quitting (#877) 2021-02-22 09:45:43 +08:00