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
+1 -6
View File
@@ -6,7 +6,7 @@ from datetime import date
import pytest
from unshackle.core.config import Config, config
from unshackle.core.config import config
from unshackle.core.titles.episode import Episode
from unshackle.core.wire import build_title, serialize_title, title_to_meta
@@ -95,8 +95,3 @@ def test_the_sport_flag_survives_the_export_round_trip():
def test_a_non_sport_episode_sends_no_sport_key():
assert "sport" not in serialize_title(make_episode(sport=False), None)
def test_sports_templates_validate_without_warnings(recwarn):
Config(output_template={"sports": SPORTS, "folder": {"sports": "{title}.{year?}.{date?}"}})
assert not [str(w.message) for w in recwarn if "template" in str(w.message).lower()]