mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: flaky test_copy_dash test in dashboard_tests.py (#10021)
This commit is contained in:
@@ -235,7 +235,7 @@ class DashboardTests(SupersetTestCase):
|
|||||||
# exclude modified and changed_on attribute
|
# exclude modified and changed_on attribute
|
||||||
for index, slc in enumerate(orig_json_data["slices"]):
|
for index, slc in enumerate(orig_json_data["slices"]):
|
||||||
for key in slc:
|
for key in slc:
|
||||||
if key not in ["modified", "changed_on"]:
|
if key not in ["modified", "changed_on", "changed_on_humanized"]:
|
||||||
self.assertEqual(slc[key], resp["slices"][index][key])
|
self.assertEqual(slc[key], resp["slices"][index][key])
|
||||||
|
|
||||||
def test_set_dash_metadata(self, username="admin"):
|
def test_set_dash_metadata(self, username="admin"):
|
||||||
|
|||||||
Reference in New Issue
Block a user