From b2a0c60dabeb2631db3da4feb4fe76aa17baf788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 2 May 2015 16:54:27 +0200 Subject: [PATCH] [FIX] mis_builder: fix test suite --- mis_builder/tests/test_mis_builder.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mis_builder/tests/test_mis_builder.py b/mis_builder/tests/test_mis_builder.py index 2a70aafb..23360825 100644 --- a/mis_builder/tests/test_mis_builder.py +++ b/mis_builder/tests/test_mis_builder.py @@ -70,18 +70,19 @@ class test_mis_builder(common.TransactionCase): {'kpi_name': u'total test', 'default_style': None, 'cols': [{ - 'period_name': 'today', 'period_id': self.ref( 'mis_builder.mis_report_instance_period_test'), 'style': None, 'default_style': None, 'suffix': False, - 'val_c': 'len(test)', + 'expr': 'len(test)', + 'val_c': 'total_test = len(test)', 'val': 0, - 'val_r': '0 ', + 'val_r': u'0\xa0', 'is_percentage': False, - 'dp': 0}] + 'dp': 0, + 'drilldown': False}] } )]), 'header': OrderedDict([('',