Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jx2lee committed Dec 23, 2024
1 parent fcaec08 commit 336824a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/timetables/test_continuous_timetable.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,15 @@ def test_no_runs_after_end_date(timetable, restriction):
)

assert next_info is None


@time_machine.travel(DURING_DATE)
def test_no_false_triggering_with_future_start_date_after_run(timetable, restriction):
FUTURE_DATE = DURING_DATE.add(days=1)

next_info = timetable.next_dagrun_info(
last_automated_data_interval=DataInterval(START_DATE, FUTURE_DATE),
restriction=restriction,
)

assert next_info is None

0 comments on commit 336824a

Please sign in to comment.