Skip to content

Commit 349c578

Browse files
committed
Add a test
1 parent 0c7ac56 commit 349c578

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_task_instances.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,14 @@ class TestGetTaskInstances(TestTaskInstanceEndpoint):
990990
4,
991991
id="test null states with no filter",
992992
),
993+
pytest.param(
994+
[{"start_date": None, "end_date": None}],
995+
True,
996+
"/dags/example_python_operator/dagRuns/TEST_DAG_RUN_ID/taskInstances",
997+
{"start_date_gte": DEFAULT_DATETIME_STR_1},
998+
1,
999+
id="test start_date coalesce with null",
1000+
),
9931001
pytest.param(
9941002
[
9951003
{"pool": "test_pool_1"},

0 commit comments

Comments
 (0)