uranusjr commented on code in PR #27056:
URL: https://github.com/apache/airflow/pull/27056#discussion_r1020041916
##########
tests/sensors/test_external_task_sensor.py:
##########
@@ -576,6 +610,14 @@ def
test_external_task_sensor_waits_for_dag_check_existence(self):
op.run(start_date=DEFAULT_DATE, end_date=DEFAULT_DATE,
ignore_ti_state=True)
+def test_external_task_sensor_check_zipped_dag_existence(dag_zip_maker):
+ with dag_zip_maker("test_external_task_sensor_check_existense.py") as
dagbag:
+ with create_session() as session:
+ dag = dagbag.dags['test_external_task_sensor_check_existence']
+ op = dag.tasks[0]
+ op._check_for_existence(session)
Review Comment:
Did you miss an `assert` here?
--
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]