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
@@ -917,7 +917,11 @@ class TestChartApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
|
||||
# test filtering on datasource_name
|
||||
arguments = {
|
||||
"filters": [
|
||||
{"col": "slice_name", "opr": "chart_all_text", "value": "energy",}
|
||||
{
|
||||
"col": "slice_name",
|
||||
"opr": "chart_all_text",
|
||||
"value": "energy",
|
||||
}
|
||||
],
|
||||
"keys": ["none"],
|
||||
"columns": ["slice_name"],
|
||||
@@ -933,7 +937,13 @@ class TestChartApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
|
||||
@pytest.mark.usefixtures("create_certified_charts")
|
||||
def test_gets_certified_charts_filter(self):
|
||||
arguments = {
|
||||
"filters": [{"col": "id", "opr": "chart_is_certified", "value": True,}],
|
||||
"filters": [
|
||||
{
|
||||
"col": "id",
|
||||
"opr": "chart_is_certified",
|
||||
"value": True,
|
||||
}
|
||||
],
|
||||
"keys": ["none"],
|
||||
"columns": ["slice_name"],
|
||||
}
|
||||
@@ -948,7 +958,13 @@ class TestChartApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
|
||||
@pytest.mark.usefixtures("create_charts")
|
||||
def test_gets_not_certified_charts_filter(self):
|
||||
arguments = {
|
||||
"filters": [{"col": "id", "opr": "chart_is_certified", "value": False,}],
|
||||
"filters": [
|
||||
{
|
||||
"col": "id",
|
||||
"opr": "chart_is_certified",
|
||||
"value": False,
|
||||
}
|
||||
],
|
||||
"keys": ["none"],
|
||||
"columns": ["slice_name"],
|
||||
}
|
||||
@@ -965,7 +981,11 @@ class TestChartApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
|
||||
# test filtering on datasource_name
|
||||
arguments = {
|
||||
"filters": [
|
||||
{"col": "slice_name", "opr": "chart_all_text", "value": "energy",}
|
||||
{
|
||||
"col": "slice_name",
|
||||
"opr": "chart_all_text",
|
||||
"value": "energy",
|
||||
}
|
||||
],
|
||||
"keys": ["none"],
|
||||
"columns": ["slice_name"],
|
||||
|
||||
Reference in New Issue
Block a user