ephraimbuddy commented on a change in pull request #16581:
URL: https://github.com/apache/airflow/pull/16581#discussion_r656100253



##########
File path: tests/jobs/test_scheduler_job.py
##########
@@ -3051,7 +2367,7 @@ def test_verify_integrity_if_dag_not_changed(self):
         dr = drs[0]
 
         # Verify that DagRun.verify_integrity is not called
-        with mock.patch('airflow.jobs.scheduler_job.DagRun.verify_integrity') 
as mock_verify_integrity:
+        with mock.patch('airflow.jobs.scheduler_job.DR.verify_integrity') as 
mock_verify_integrity:

Review comment:
       ```suggestion
           with 
mock.patch('airflow.jobs.scheduler_job.DagRun.verify_integrity') as 
mock_verify_integrity:
   ```




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to