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:
@@ -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()]
|
||||
|
||||
Reference in New Issue
Block a user