Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dwreeves committed Dec 2, 2023
2 parents 0c4c83f + 26518d0 commit 8119dd1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/plugin/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@


@pytest.fixture(scope="module")
<<<<<<< HEAD
@patch("airflow.www.auth.managers.fab.fab_auth_manager.FabAuthManager.get_user")
=======
@patch("airflow.auth.managers.fab.fab_auth_manager.FabAuthManager.get_user")
>>>>>>> 26518d01e47c4b9017fd4a52f887cd528893dcef
def app(mock_user) -> FlaskClient:
initdb()

Expand All @@ -24,7 +28,7 @@ def app(mock_user) -> FlaskClient:
appbuilder.register_blueprint(dbt_docs_view)

if not appbuilder.sm.find_role("pytest_role"):
appbuilder.sm.add_role("pytest_role", permissions=[(permissions.ACTION_CAN_READ, )])
appbuilder.sm.add_role("pytest_role", permissions=[(permissions.ACTION_CAN_READ,)])

if not appbuilder.sm.find_user("pytest_user"):
mock_user.return_value = appbuilder.sm.add_user(
Expand Down

0 comments on commit 8119dd1

Please sign in to comment.