File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1207,11 +1207,17 @@ def test_plan_seed_model_excluded_from_default_end(copy_to_temp_path: t.Callable
12071207 assert max_ends [seed_fqns [0 ]] == to_timestamp ("2024-06-01" )
12081208
12091209 # the plan start date 2025-01-01 is after the seeds end date but shouldnt cause the plan to fail
1210- context .plan (
1210+ plan = context .plan (
12111211 "dev" ,
12121212 start = "2025-01-01" ,
12131213 no_prompts = True ,
12141214 )
1215+
1216+ # the end should fall back to execution_time rather than seeds end
1217+ assert plan .provided_end is None
1218+ assert plan .provided_start == "2025-01-01"
1219+ assert to_timestamp (plan .end ) == to_timestamp ("2026-03-01" )
1220+ assert to_timestamp (plan .start ) == to_timestamp ("2025-01-01" )
12151221 context .close ()
12161222
12171223
You can’t perform that action at this time.
0 commit comments