mirror of
https://github.com/apache/superset.git
synced 2026-05-09 01:46:06 +00:00
fix(theme): set color-scheme on html to fix dark mode scrollbars (#39704)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit 7bee2afa8e)
This commit is contained in:
committed by
Michael S. Molina
parent
b55bb4e3ce
commit
fa2e1600cd
@@ -97,9 +97,11 @@ class TestQueryApi(SupersetTestCase):
|
||||
self.get_random_string(),
|
||||
sql=f"SELECT col1, col2 from table{cx}", # noqa: S608
|
||||
rows=cx,
|
||||
status=QueryStatus.SUCCESS
|
||||
if (cx % 2) == 0
|
||||
else QueryStatus.RUNNING,
|
||||
status=(
|
||||
QueryStatus.SUCCESS
|
||||
if (cx % 2) == 0
|
||||
else QueryStatus.RUNNING
|
||||
),
|
||||
)
|
||||
)
|
||||
queries.append(
|
||||
@@ -433,7 +435,7 @@ class TestQueryApi(SupersetTestCase):
|
||||
"order_direction": "asc",
|
||||
"filters": [{"col": "sql_editor_id", "opr": "eq", "value": test_editor_id}],
|
||||
}
|
||||
uri = f"api/v1/query/?q={rison.dumps(arguments)}"
|
||||
uri = f"api/v1/query/?q={prison.dumps(arguments)}"
|
||||
rv = self.client.get(uri)
|
||||
assert rv.status_code == 200
|
||||
data = rv.get_json()
|
||||
@@ -442,7 +444,7 @@ class TestQueryApi(SupersetTestCase):
|
||||
|
||||
# descending should be the reverse
|
||||
arguments["order_direction"] = "desc"
|
||||
uri = f"api/v1/query/?q={rison.dumps(arguments)}"
|
||||
uri = f"api/v1/query/?q={prison.dumps(arguments)}"
|
||||
rv = self.client.get(uri)
|
||||
assert rv.status_code == 200
|
||||
data = rv.get_json()
|
||||
|
||||
Reference in New Issue
Block a user