mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat(dashboard): Add metadata bar to the header (#27857)
This commit is contained in:
@@ -423,11 +423,13 @@ class TestDashboardApi(ApiOwnersTestCaseMixin, InsertChartMixin, SupersetTestCas
|
||||
data = json.loads(rv.data.decode("utf-8"))
|
||||
self.assertIn("changed_on", data["result"])
|
||||
self.assertIn("changed_on_delta_humanized", data["result"])
|
||||
self.assertIn("created_on_delta_humanized", data["result"])
|
||||
for key, value in data["result"].items():
|
||||
# We can't assert timestamp values
|
||||
if key not in (
|
||||
"changed_on",
|
||||
"changed_on_delta_humanized",
|
||||
"created_on_delta_humanized",
|
||||
):
|
||||
self.assertEqual(value, expected_result[key])
|
||||
# rollback changes
|
||||
|
||||
Reference in New Issue
Block a user