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
-8
View File
@@ -494,11 +494,3 @@ def test_trim_overlaps_bounds_the_sample_count(tmp_path: Path) -> None:
path = tmp_path / "audio.mp4"
path.write_bytes(init_segment(48000) + huge + audio_fragment(100, 2))
assert trim_overlaps(path, {100}) == 0
def test_trim_overlaps_logs_a_fragment_it_cannot_rewrite(tmp_path: Path, caplog: pytest.LogCaptureFixture) -> None:
path = tmp_path / "audio.mp4"
path.write_bytes(init_segment(48000) + overlapping(extra=box(b"sdtp", b"\0" * 4)))
with caplog.at_level("DEBUG", logger="DASH"):
assert trim_overlaps(path, {JOIN}) == 0
assert "1 overlapping audio fragments" in caplog.text