uranusjr commented on code in PR #51638:
URL: https://github.com/apache/airflow/pull/51638#discussion_r2162861960


##########
airflow-core/tests/unit/models/test_deadline.py:
##########
@@ -91,7 +91,8 @@ def test_add_deadline(self, dagrun, session):
             dagrun_id=dagrun.id,
         )
 
-        Deadline.add_deadline(deadline_orm)
+        session.add(deadline_orm)
+        session.flush()

Review Comment:
   This test is probably not needed anymore.



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