Invert blocklist scheduler dependency to task callback

This commit is contained in:
2026-04-15 21:31:08 +02:00
parent a5e95e2061
commit 73cc212e28
6 changed files with 25 additions and 4 deletions

View File

@@ -380,12 +380,15 @@ class TestSchedule:
minute=15,
)
run_import_callback = AsyncMock(return_value=None)
info = await blocklist_service.update_schedule(
db,
scheduler,
http_session,
settings,
config,
run_import_callback,
)
assert info.config.frequency == ScheduleFrequency.daily