SurfSense/surfsense_backend/tests/unit/automations/triggers
CREDO23 2a76f43387 test(automations/triggers): lock schedule cron + params
Cover the cron + IANA timezone + UTC normalization contract for the
schedule trigger: next-match strictly-after, DST offset shift across
spring-forward, malformed cron / unknown timezone rejection, and the
ScheduleTriggerParams Pydantic gate that surfaces InvalidCronError as
ValidationError at the API boundary.

8 tests, pure unit (no DB, no mocks).
2026-05-28 19:02:52 +02:00
..
schedule test(automations/triggers): lock schedule cron + params 2026-05-28 19:02:52 +02:00
__init__.py test(automations/triggers): lock schedule cron + params 2026-05-28 19:02:52 +02:00