chore: upgrade black (#19410)

This commit is contained in:
Ville Brofeldt
2022-03-29 20:03:09 +03:00
committed by Ville Brofeldt
parent 1edd5f1343
commit a70f4dc52f
204 changed files with 2161 additions and 604 deletions

View File

@@ -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"],