You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/06/09 10:29:40 UTC

[incubator-superset] branch master updated: fix: flaky test_copy_dash test in dashboard_tests.py (#10021)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 526ee3c  fix: flaky test_copy_dash test in dashboard_tests.py (#10021)
526ee3c is described below

commit 526ee3c3dfc6ca8159e55c81e5fcc9a8d158db4e
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Tue Jun 9 13:29:22 2020 +0300

    fix: flaky test_copy_dash test in dashboard_tests.py (#10021)
---
 tests/dashboard_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/dashboard_tests.py b/tests/dashboard_tests.py
index 22aa375..164e9a1 100644
--- a/tests/dashboard_tests.py
+++ b/tests/dashboard_tests.py
@@ -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"):