superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnbod...@apache.org
Subject [incubator-superset] 35/43: fixed druid test
Date Fri, 11 Jan 2019 02:22:39 GMT
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch feature--embeddable-charts-pilot
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 5ec0252a118e79280d7b01bb6dfeb3217fb9ed83
Author: Conglei Shi <conglei.shi@airbnb.com>
AuthorDate: Mon Dec 17 09:59:40 2018 -0800

    fixed druid test
---
 tests/druid_func_tests.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/druid_func_tests.py b/tests/druid_func_tests.py
index 9059945..9be24d9 100644
--- a/tests/druid_func_tests.py
+++ b/tests/druid_func_tests.py
@@ -586,6 +586,10 @@ class DruidFuncTestCase(unittest.TestCase):
 
     def test_metrics_and_post_aggs_tree(self):
         metrics = ['A', 'B', 'm1', 'm2']
+        metrics = [{
+            'label': metric,
+            'expressionType': 'BUILTIN',
+        } for metric in metrics]
         metrics_dict = {}
         for i in range(ord('A'), ord('K') + 1):
             emplace(metrics_dict, chr(i), True)


Mime
View raw message