fix: flaky test_copy_dash test in dashboard_tests.py (#10021)

This commit is contained in:
Ville Brofeldt
2020-06-09 13:29:22 +03:00
committed by GitHub
parent 315518d2d2
commit 526ee3c3df

View File

@@ -235,7 +235,7 @@ class DashboardTests(SupersetTestCase):
# exclude modified and changed_on attribute
for index, slc in enumerate(orig_json_data["slices"]):
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])
def test_set_dash_metadata(self, username="admin"):