vorta/tests/unit
TW 675010e401
Random cleanups by @ThomasWaldmann (#1879)
* fix PEP8 E721

do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`

* remove redundant parentheses

* fix SiteWorker.run for empty job queue

local variable job is not assigned if queue was empty
when calling .run(), but it is used in exception handler.

* remove unreachable code in parse_diff_lines

* bug fix for unreachable code in is_worker_running

the code intended to check if *any* worker is running for
any site was *unreachable*.

this caused false negative results for site=None.

* check_failed_response: remove outdated part of docstring

* pull request template: fix relative path to LICENSE.txt

* fix typos

* use logger.warning, .warn is deprecated
2024-01-09 08:06:48 +00:00
..
borg_json_output Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
profile_exports Exclude GUI. By @diivi (#1846) 2023-11-24 21:19:28 +00:00
__init__.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
conftest.py DRY tests, increase coverage. By @bigtedde (#1769) 2023-08-17 11:05:52 +01:00
test_archives.py Unit test improvements and coverage increase. By @bigtedde (#1787) 2023-10-01 09:19:39 +01:00
test_borg.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_create.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_diff.py Unit test improvements and coverage increase. By @bigtedde (#1787) 2023-10-01 09:19:39 +01:00
test_extract.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_import_export.py Improve import/export feature test coverage. By @bigtedde (#1774) 2023-08-17 18:05:42 +01:00
test_lock.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_misc.py Profile sidebar and new setting interface. By @bigtedde (#1809) 2023-10-24 09:36:50 +01:00
test_notifications.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_password_input.py Repo test improvements. By @bigtedde (#1771) 2023-08-17 11:08:03 +01:00
test_profile.py Profile sidebar and new setting interface. By @bigtedde (#1809) 2023-10-24 09:36:50 +01:00
test_repo.py Unit test improvements and coverage increase. By @bigtedde (#1787) 2023-10-01 09:19:39 +01:00
test_schedule.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_scheduler.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_source.py Unit test improvements and coverage increase. By @bigtedde (#1787) 2023-10-01 09:19:39 +01:00
test_treemodel.py Random cleanups by @ThomasWaldmann (#1879) 2024-01-09 08:06:48 +00:00
test_utils.py Unit test improvements and coverage increase. By @bigtedde (#1787) 2023-10-01 09:19:39 +01:00