You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ar...@apache.org on 2024/04/04 02:02:03 UTC
(superset) 21/25: Fix ut
This is an automated email from the ASF dual-hosted git repository.
arivero pushed a commit to branch table-time-comparison
in repository https://gitbox.apache.org/repos/asf/superset.git
commit e48a69a4b77eec81cd15c6ed840d7ef75c92181b
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Mon Mar 11 15:59:56 2024 +0100
Fix ut
---
tests/integration_tests/charts/api_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/integration_tests/charts/api_tests.py b/tests/integration_tests/charts/api_tests.py
index fe71df6ba5..418fb9e2a4 100644
--- a/tests/integration_tests/charts/api_tests.py
+++ b/tests/integration_tests/charts/api_tests.py
@@ -1485,7 +1485,7 @@ class TestChartApi(ApiOwnersTestCaseMixin, InsertChartMixin, SupersetTestCase):
rv = self.client.get(uri)
data = json.loads(rv.data.decode("utf-8"))
self.assertEqual(rv.status_code, 200)
- self.assertEqual(len(data["result"]), 4)
+ self.assertEqual(len(data["result"][0]), 4)
def test_query_form_data(self):
"""