potiuk commented on a change in pull request #7479: [AIRFLOW-6858] Decouple
DagBag and Executor
URL: https://github.com/apache/airflow/pull/7479#discussion_r382440112
##########
File path: tests/jobs/test_scheduler_job.py
##########
@@ -2390,8 +2389,7 @@ def test_scheduler_reschedule(self):
"""
executor = MockExecutor(do_update=False)
- dagbag = DagBag(executor=executor,
dag_folder=os.path.join(settings.DAGS_FOLDER,
-
"no_dags.py"))
+ dagbag = DagBag(dag_folder=os.path.join(settings.DAGS_FOLDER,
"no_dags.py"))
dagbag.dags.clear()
dagbag.executor = executor
Review comment:
```suggestion
```
----------------------------------------------------------------
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]
With regards,
Apache Git Services