From cb70b64a70d9dc2aa54f96cdf12175fd31ac7ad3 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Tue, 16 Jun 2026 23:38:28 +0200 Subject: [PATCH] test(podcasts): update unit fixtures for second-based duration --- surfsense_backend/tests/unit/podcasts/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/surfsense_backend/tests/unit/podcasts/conftest.py b/surfsense_backend/tests/unit/podcasts/conftest.py index 5eb4d8457..c77eb1cc6 100644 --- a/surfsense_backend/tests/unit/podcasts/conftest.py +++ b/surfsense_backend/tests/unit/podcasts/conftest.py @@ -31,8 +31,8 @@ def make_spec(): language: str = "en", style: PodcastStyle = PodcastStyle.CONVERSATIONAL, speakers: list[SpeakerSpec] | None = None, - min_minutes: int = 10, - max_minutes: int = 20, + min_seconds: int = 600, + max_seconds: int = 1200, focus: str | None = None, ) -> PodcastSpec: if speakers is None: @@ -54,7 +54,7 @@ def make_spec(): language=language, style=style, speakers=speakers, - duration=DurationTarget(min_minutes=min_minutes, max_minutes=max_minutes), + duration=DurationTarget(min_seconds=min_seconds, max_seconds=max_seconds), focus=focus, )