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
-11
View File
@@ -194,17 +194,6 @@ def test_flag_off_stashes_nothing(temp_root, monkeypatch):
assert not (temp_root / RESUME_STASH).exists()
def test_partials_are_not_stashed(temp_root, monkeypatch):
monkeypatch.setattr(config, "continue_downloads", True)
with task_temp_dir():
with pytest.raises(RuntimeError):
run_download(monkeypatch, failing_parser)
assert (temp_root / RESUME_STASH / SEG_NAME / "0.mp4").exists()
assert not list((temp_root / RESUME_STASH).rglob("*.!dev"))
def test_a_checkpointed_output_is_stashed_beside_its_segments(temp_root, monkeypatch):
monkeypatch.setattr(config, "continue_downloads", True)
with task_temp_dir() as task_dir: