fix: Add dataset ID to file name on exports (#34782)

This commit is contained in:
Vitor Avila
2025-08-25 14:54:27 -03:00
committed by GitHub
parent b381992a75
commit 471d9fe737
7 changed files with 77 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ class TestExportChartsCommand(SupersetTestCase):
expected = [
"metadata.yaml",
f"charts/Energy_Sankey_{example_chart.id}.yaml",
"datasets/examples/energy_usage.yaml",
f"datasets/examples/energy_usage_{example_chart.table.id}.yaml",
"databases/examples.yaml",
]
assert expected == list(contents.keys())