uranusjr commented on code in PR #65998:
URL: https://github.com/apache/airflow/pull/65998#discussion_r3159063149
##########
airflow-core/tests/unit/models/test_backfill.py:
##########
@@ -285,6 +285,9 @@ def test_create_backfill_partitioned(reverse, existing,
start_date, dag_maker, s
assert partition_keys == expected_dates
assert all(x.state == DagRunState.QUEUED for x in dag_runs)
assert all(x.conf == expected_run_conf for x in dag_runs)
+ # Calendar view filters partitioned Dags by partition_date, so the backfill
+ # path must populate it alongside partition_key.
+ assert all(x.partition_date is not None for x in dag_runs)
Review Comment:
Is it possible to check the actual values here? (Instead of just “not None”)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]