ephraimbuddy commented on code in PR #27056:
URL: https://github.com/apache/airflow/pull/27056#discussion_r996678474


##########
tests/sensors/test_external_task_sensor.py:
##########
@@ -576,6 +576,19 @@ 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_maker):
+    with dag_maker(dag_id="external_task_sensor_dag"):
+        op = ExternalTaskSensor(
+            task_id="external_task_sensor",
+            external_dag_id="test_zip_dag",
+            external_task_id="dummy",
+            check_existence=True
+        )
+
+    with create_session() as session:
+        op._check_for_existence(session)

Review Comment:
   We will need a real zipped dag to test this. You can create one at 
`tests/dags`



-- 
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]

Reply via email to