mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +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
@@ -230,7 +230,7 @@ class TestThumbnails(SupersetTestCase):
|
||||
self.login(ALPHA_USERNAME)
|
||||
with (
|
||||
patch.dict(
|
||||
"superset.thumbnails.digest.current_app.config",
|
||||
"flask.current_app.config",
|
||||
{
|
||||
"THUMBNAIL_EXECUTORS": [FixedExecutor(ADMIN_USERNAME)],
|
||||
},
|
||||
@@ -258,7 +258,7 @@ class TestThumbnails(SupersetTestCase):
|
||||
self.login(username)
|
||||
with (
|
||||
patch.dict(
|
||||
"superset.thumbnails.digest.current_app.config",
|
||||
"flask.current_app.config",
|
||||
{
|
||||
"THUMBNAIL_EXECUTORS": [ExecutorType.CURRENT_USER],
|
||||
},
|
||||
@@ -308,7 +308,7 @@ class TestThumbnails(SupersetTestCase):
|
||||
self.login(ADMIN_USERNAME)
|
||||
with (
|
||||
patch.dict(
|
||||
"superset.thumbnails.digest.current_app.config",
|
||||
"flask.current_app.config",
|
||||
{
|
||||
"THUMBNAIL_EXECUTORS": [FixedExecutor(ADMIN_USERNAME)],
|
||||
},
|
||||
@@ -336,7 +336,7 @@ class TestThumbnails(SupersetTestCase):
|
||||
self.login(username)
|
||||
with (
|
||||
patch.dict(
|
||||
"superset.thumbnails.digest.current_app.config",
|
||||
"flask.current_app.config",
|
||||
{
|
||||
"THUMBNAIL_EXECUTORS": [ExecutorType.CURRENT_USER],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user