mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
fix(dashboard): export & import chart description and certification details (#22471)
This commit is contained in:
@@ -72,6 +72,9 @@ class TestExportChartsCommand(SupersetTestCase):
|
||||
|
||||
assert metadata == {
|
||||
"slice_name": "Energy Sankey",
|
||||
"description": None,
|
||||
"certified_by": None,
|
||||
"certification_details": None,
|
||||
"viz_type": "sankey",
|
||||
"params": {
|
||||
"collapsed_fieldsets": "",
|
||||
@@ -110,6 +113,9 @@ class TestExportChartsCommand(SupersetTestCase):
|
||||
|
||||
assert metadata == {
|
||||
"slice_name": "Heatmap",
|
||||
"description": None,
|
||||
"certified_by": None,
|
||||
"certification_details": None,
|
||||
"viz_type": "heatmap",
|
||||
"params": {
|
||||
"all_columns_x": "source",
|
||||
@@ -168,6 +174,9 @@ class TestExportChartsCommand(SupersetTestCase):
|
||||
)
|
||||
assert list(metadata.keys()) == [
|
||||
"slice_name",
|
||||
"description",
|
||||
"certified_by",
|
||||
"certification_details",
|
||||
"viz_type",
|
||||
"params",
|
||||
"cache_timeout",
|
||||
|
||||
Reference in New Issue
Block a user