chore(OAuth2): refactor for custom OAuth2 clients (#27880)

This commit is contained in:
Beto Dealmeida
2024-04-05 12:17:39 -04:00
committed by GitHub
parent 62433c14a7
commit 9377227e06
22 changed files with 385 additions and 297 deletions

View File

@@ -124,7 +124,11 @@ def test_superset_limit(mocker: MockFixture, app_context: None, table1: None) ->
"""
mocker.patch(
"superset.extensions.metadb.current_app.config",
{"DB_SQLA_URI_VALIDATOR": None, "SUPERSET_META_DB_LIMIT": 1},
{
"DB_SQLA_URI_VALIDATOR": None,
"SUPERSET_META_DB_LIMIT": 1,
"DATABASE_OAUTH2_CLIENTS": {},
},
)
mocker.patch("superset.extensions.metadb.security_manager")