test: delete slow, timing-based and redundant tests

This commit is contained in:
imSp4rky
2026-12-05 15:20:05 -07:00
parent 783a2fc185
commit 3a0a74e694
292 changed files with 153 additions and 15174 deletions
@@ -12,7 +12,6 @@ from unshackle.core.api import download_manager as dm
from unshackle.core.api import download_worker
from unshackle.core.api.job_channel import WorkerResult
from unshackle.core.config import config
from unshackle.core.dl_options import DEFAULT_DOWNLOAD_PARAMS
PRESENT = [
{
@@ -56,11 +55,6 @@ def test_worker_takes_the_payload_scope_and_reports_already_present(monkeypatch,
assert json.loads(progress.read_text())["already_present"] == PRESENT
def test_api_options_default_off():
assert DEFAULT_DOWNLOAD_PARAMS["skip_existing"] is False
assert DEFAULT_DOWNLOAD_PARAMS["force"] is False
def test_manager_uses_owner_scope_and_keeps_already_present_in_history(monkeypatch, tmp_path):
payloads = []