harjeevanmaan commented on code in PR #41384:
URL: https://github.com/apache/airflow/pull/41384#discussion_r1729202429
##########
tests/models/test_taskinstance.py:
##########
@@ -5290,3 +5290,70 @@ def
test_swallow_mini_scheduler_exceptions(_schedule_downstream_mock, create_tas
ti.schedule_downstream_tasks()
assert "Error scheduling downstream tasks." in caplog.text
assert "To be swallowed" in caplog.text
+
+
+def test_ti_selector_condition():
+ from airflow.decorators import dag, task_group
+ from airflow.models.taskinstance import TaskInstance
+ from airflow.operators.empty import EmptyOperator
+ from airflow.utils.session import create_session
+ from airflow.utils.state import State
+ from airflow.utils.timezone import datetime
+ from airflow.utils.types import DagRunType
+ from tests.test_utils.db import clear_db_runs
Review Comment:
I used `dag_maker` as you suggested
--
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]