mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(automations): move schedule trigger into builtin package
This commit is contained in:
parent
acd673023a
commit
f293aa6bdf
13 changed files with 14 additions and 263 deletions
|
|
@ -6,7 +6,7 @@ from datetime import UTC, datetime
|
|||
|
||||
import pytest
|
||||
|
||||
from app.automations.triggers.schedule.cron import (
|
||||
from app.automations.triggers.builtin.schedule.cron import (
|
||||
InvalidCronError,
|
||||
compute_next_fire_at,
|
||||
validate_cron,
|
||||
|
|
@ -5,7 +5,7 @@ from __future__ import annotations
|
|||
import pytest
|
||||
from pydantic import ValidationError
|
||||
|
||||
from app.automations.triggers.schedule.params import ScheduleTriggerParams
|
||||
from app.automations.triggers.builtin.schedule.params import ScheduleTriggerParams
|
||||
|
||||
pytestmark = pytest.mark.unit
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue