mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore(OAuth2): refactor for custom OAuth2 clients (#27880)
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user