1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 07:43:09 +00:00
vorta/tests
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
..
integration DRY tests, increase coverage. By @bigtedde (#1769) 2023-08-17 11:05:52 +01:00
network_manager Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
unit Random cleanups by @ThomasWaldmann (#1879) 2024-01-09 08:06:48 +00:00
__init__.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
conftest.py Integration Tests for Borg (#1716) 2023-08-05 13:49:45 +00:00
test_excludes.py Exclude GUI. By @diivi (#1846) 2023-11-24 21:19:28 +00:00