We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d844e5 commit cdf0b53Copy full SHA for cdf0b53
1 file changed
tests/core/test_context.py
@@ -1207,11 +1207,17 @@ def test_plan_seed_model_excluded_from_default_end(copy_to_temp_path: t.Callable
1207
assert max_ends[seed_fqns[0]] == to_timestamp("2024-06-01")
1208
1209
# the plan start date 2025-01-01 is after the seeds end date but shouldnt cause the plan to fail
1210
- context.plan(
+ plan = context.plan(
1211
"dev",
1212
start="2025-01-01",
1213
no_prompts=True,
1214
)
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")
1221
context.close()
1222
1223
0 commit comments