ashb commented on a change in pull request #8909:
URL: https://github.com/apache/airflow/pull/8909#discussion_r427216583
##########
File path: tests/executors/test_celery_executor.py
##########
@@ -75,6 +75,17 @@ def _prepare_app(broker_url=None, execute=None):
patch_app = mock.patch('airflow.executors.celery_executor.app', test_app)
patch_execute =
mock.patch('airflow.executors.celery_executor.execute_command', test_execute)
+ backend = test_app.backend
Review comment:
Curious, in the SQLite tests this is failing with `KeyError: backend`
@auvipy @mik-laj Any idea how it's possible for the app to _not_ have a
backend from here?
https://github.com/apache/airflow/blob/5c3248cc4c57be34d868482cf1034fb1d6bfd0bf/tests/executors/test_celery_executor.py#L179-L189
----------------------------------------------------------------
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]