ephraimbuddy commented on code in PR #24156:
URL: https://github.com/apache/airflow/pull/24156#discussion_r913548764
##########
tests/conftest.py:
##########
@@ -194,9 +194,11 @@ def pytest_addoption(parser):
def initial_db_init():
from airflow.utils import db
+ from airflow.www.app import create_app
db.resetdb()
db.bootstrap_dagbag()
+ create_app(config={'UPDATE_FAB_PERMS': False})
Review Comment:
Oops. Tests work without this. I probably added this when I was creating
`session` table inside the create_app. Thanks for spotting it.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]