mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
chore: proper current_app.config proxy usage (#34345)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
6c9cda758a
commit
cb27d5fe8d
@@ -58,7 +58,7 @@ def test_validate_db_uri(mocker: MockerFixture) -> None:
|
||||
raise ValueError("Invalid URI")
|
||||
|
||||
mocker.patch(
|
||||
"superset.db_engine_specs.base.current_app.config",
|
||||
"flask.current_app.config",
|
||||
{"DB_SQLA_URI_VALIDATOR": mock_validate},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user