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
-13
View File
@@ -13,7 +13,6 @@ from unshackle.core.mux_step import hybrid_source_tracks
from unshackle.core.tracks import Video
from unshackle.core.tracks import dv_fixup as dv_fixup_mod
from unshackle.core.tracks.dv_fixup import apply_dv_fixup
from unshackle.core.tracks.selection import select_hybrid_bases
pytestmark = pytest.mark.unit
@@ -72,15 +71,3 @@ def test_hybrid_step_reads_the_container_after_the_fixup(fake_demux: None, tmp_p
assert base.path == tmp_path / "base.dv.hevc"
assert hybrid_base.path == tmp_path / "base.mp4"
assert hybrid_dv.path == dv.path
def test_one_hybrid_base_for_each_height(tmp_path: Path) -> None:
videos = [
fake_video(tmp_path, "sdr", Video.Range.SDR, 1080),
fake_video(tmp_path, "low", Video.Range.HDR10, 1080),
fake_video(tmp_path, "high", Video.Range.HDR10P, 2160),
fake_video(tmp_path, "high2", Video.Range.HDR10, 2160),
fake_video(tmp_path, "dv", Video.Range.DV, 2160),
]
assert [v.id for v in select_hybrid_bases(videos)] == ["high", "low"]