mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-06 07:55:10 +00:00
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user