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
@@ -74,11 +74,6 @@ def test_ado_keeps_the_descriptive_track_and_the_other_types() -> None:
assert kept(sel.select(standard(ad=True, forced=True), False)) == {"video": ["v"], "audio": ["ad"], "subs": ["s"]}
def test_fso_keeps_the_forced_track_and_the_other_types() -> None:
sel = selection(forced_subs=True, forced_subs_only=True)
assert kept(sel.select(standard(ad=True, forced=True), False)) == {"video": ["v"], "audio": ["a"], "subs": ["sf"]}
def test_only_flags_with_their_type_flags_give_a_single_kind() -> None:
sel = selection(audio_description=True, audio_description_only=True, audio_only=True)
assert kept(sel.select(standard(ad=True, forced=True), False)) == {"video": [], "audio": ["ad"], "subs": []}
@@ -101,12 +96,6 @@ def test_a_kind_only_miss_is_a_kind_only_skip(flags: dict[str, Any], reason: str
assert selection(**flags).select(standard(), False) == Skip(reason, kind_only=True)
def test_ado_runs_when_the_title_has_no_separate_audio() -> None:
title = episode(video(data={"audio_language": "en"}))
sel = selection(audio_description=True, audio_description_only=True)
assert sel.select(title, False) == Skip("There's no audio description track.", kind_only=True)
def test_ado_does_not_count_audio_embedded_in_the_video() -> None:
def title() -> Episode:
return episode(video(data={"audio_language": "ko"}), audio("ad", bitrate=1, descriptive=True))