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 346e7d43f0be0f1746a428ffaeab6abb14ca32d6 Author: Conglei Shi <[email protected]> AuthorDate: Mon Dec 17 12:42:42 2018 -0800 fixed more tests --- tests/druid_func_tests.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/druid_func_tests.py b/tests/druid_func_tests.py index 79f52d8..adc2a49 100644 --- a/tests/druid_func_tests.py +++ b/tests/druid_func_tests.py @@ -888,7 +888,10 @@ class DruidFuncTestCase(unittest.TestCase): ) qry_obj = client.groupby.call_args_list[0][1] self.assertEqual({'dim1', 'dim2'}, set(qry_obj['dimensions'])) - self.assertEqual('sum1', qry_obj['limit_spec']['columns'][0]['dimension']['label']) + self.assertEqual( + 'sum1', + qry_obj['limit_spec']['columns'][0]['dimension']['label'], + ) aggregations = qry_obj['aggregations'] post_aggregations = qry_obj['post_aggregations'] self.assertEqual({'count1', 'sum1'}, set(aggregations.keys())) @@ -906,7 +909,10 @@ class DruidFuncTestCase(unittest.TestCase): ) qry_obj = client.groupby.call_args_list[1][1] self.assertEqual({'dim1', 'dim2'}, set(qry_obj['dimensions'])) - self.assertEqual('div1', qry_obj['limit_spec']['columns'][0]['dimension']['label']) + self.assertEqual( + 'div1', + qry_obj['limit_spec']['columns'][0]['dimension']['label'], + ) aggregations = qry_obj['aggregations'] post_aggregations = qry_obj['post_aggregations'] self.assertEqual({'count1', 'sum1', 'sum2'}, set(aggregations.keys()))
