You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/22 10:46:08 UTC

[GitHub] [airflow] ephraimbuddy commented on a change in pull request #16581: Move DagFileProcessor and DagFileProcessorProcess out of scheduler_job.py

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:
users@infra.apache.org