mirror of
https://github.com/apache/superset.git
synced 2026-06-09 09:39:25 +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
@@ -543,7 +543,7 @@ def test_is_oauth2_enabled_no_config(mocker: MockerFixture) -> None:
|
||||
from superset.db_engine_specs.gsheets import GSheetsEngineSpec
|
||||
|
||||
mocker.patch(
|
||||
"superset.db_engine_specs.base.current_app.config",
|
||||
"flask.current_app.config",
|
||||
new={"DATABASE_OAUTH2_CLIENTS": {}},
|
||||
)
|
||||
|
||||
@@ -557,7 +557,7 @@ def test_is_oauth2_enabled_config(mocker: MockerFixture) -> None:
|
||||
from superset.db_engine_specs.gsheets import GSheetsEngineSpec
|
||||
|
||||
mocker.patch(
|
||||
"superset.db_engine_specs.base.current_app.config",
|
||||
"flask.current_app.config",
|
||||
new={
|
||||
"DATABASE_OAUTH2_CLIENTS": {
|
||||
"Google Sheets": {
|
||||
|
||||
Reference in New Issue
Block a user