Browse Source

[FIX] mis_builder: fix test suite

pull/90/head
Stéphane Bidoul 10 years ago
parent
commit
afa27fc530
  1. 9
      mis_builder/tests/test_mis_builder.py

9
mis_builder/tests/test_mis_builder.py

@ -70,18 +70,19 @@ class test_mis_builder(common.TransactionCase):
{'kpi_name': u'total test', {'kpi_name': u'total test',
'default_style': None, 'default_style': None,
'cols': [{ 'cols': [{
'period_name': 'today',
'period_id': 'period_id':
self.ref( self.ref(
'mis_builder.mis_report_instance_period_test'), 'mis_builder.mis_report_instance_period_test'),
'style': None, 'style': None,
'default_style': None, 'default_style': None,
'suffix': False, 'suffix': False,
'val_c': 'len(test)',
'expr': 'len(test)',
'val_c': 'total_test = len(test)',
'val': 0, 'val': 0,
'val_r': '0 ',
'val_r': u'0\xa0',
'is_percentage': False, 'is_percentage': False,
'dp': 0}]
'dp': 0,
'drilldown': False}]
} }
)]), )]),
'header': OrderedDict([('', 'header': OrderedDict([('',

Loading…
Cancel
Save