ramitkataria commented on code in PR #53650:
URL: https://github.com/apache/airflow/pull/53650#discussion_r2224028079


##########
airflow-core/tests/unit/models/test_deadline.py:
##########
@@ -231,10 +265,13 @@ def test_handle_callback_event(self, dagrun, session, 
event, none_trigger_id_exp
 
         deadline_orm.handle_callback_event(event, session)
         session.flush()
-        if none_trigger_id_expected:
-            assert deadline_orm.trigger_id is None
+
+        if none_trigger_expected:
+            assert deadline_orm.trigger is None
         else:
-            assert deadline_orm.trigger_id is not None
+            assert deadline_orm.trigger is not None

Review Comment:
   Thanks for catching that!



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to