mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: upgrade black (#19410)
This commit is contained in:
committed by
Ville Brofeldt
parent
1edd5f1343
commit
a70f4dc52f
@@ -113,7 +113,8 @@ class TestAsyncQueries(SupersetTestCase):
|
||||
|
||||
with pytest.raises(SoftTimeLimitExceeded):
|
||||
with mock.patch.object(
|
||||
async_queries, "ensure_user_is_set",
|
||||
async_queries,
|
||||
"ensure_user_is_set",
|
||||
) as ensure_user_is_set:
|
||||
ensure_user_is_set.side_effect = SoftTimeLimitExceeded()
|
||||
load_chart_data_into_cache(job_metadata, form_data)
|
||||
@@ -200,7 +201,8 @@ class TestAsyncQueries(SupersetTestCase):
|
||||
|
||||
with pytest.raises(SoftTimeLimitExceeded):
|
||||
with mock.patch.object(
|
||||
async_queries, "ensure_user_is_set",
|
||||
async_queries,
|
||||
"ensure_user_is_set",
|
||||
) as ensure_user_is_set:
|
||||
ensure_user_is_set.side_effect = SoftTimeLimitExceeded()
|
||||
load_explore_json_into_cache(job_metadata, form_data)
|
||||
|
||||
Reference in New Issue
Block a user