Fokko commented on a change in pull request #7481: [AIRFLOW-6862][WIP] Do not 
check the freshness of fresh DAG
URL: https://github.com/apache/airflow/pull/7481#discussion_r383705449
 
 

 ##########
 File path: tests/jobs/test_scheduler_job.py
 ##########
 @@ -1010,7 +1010,7 @@ def 
test_process_dags_not_create_dagrun_for_subdags(self):
         scheduler._process_task_instances = mock.MagicMock()
         scheduler.manage_slas = mock.MagicMock()
 
-        scheduler._process_dags(self.dagbag, [dag] + dag.subdags, [])
+        scheduler._process_dags([dag] + dag.subdags, [])
 
 Review comment:
   Maybe make the second argument optional? Instead of passing an empty 
iterable.

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


With regards,
Apache Git Services

Reply via email to