From 3448c3de6ee338c891bb47bc380c447aaf0eb9fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Mon, 16 May 2016 13:57:01 +0200 Subject: [PATCH] [FIX] mis_builder: fix test --- mis_builder/tests/test_fetch_query.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mis_builder/tests/test_fetch_query.py b/mis_builder/tests/test_fetch_query.py index 4aef36ce..f701e735 100644 --- a/mis_builder/tests/test_fetch_query.py +++ b/mis_builder/tests/test_fetch_query.py @@ -14,27 +14,27 @@ class TestFetchQuery(common.TransactionCase): self.ref('mis_builder.mis_report_instance_test')) self.maxDiff = None self.assertEquals( - {'content': - [{'description': u'total test', - 'comment': '', + {'body': + [{'label': u'total test', + 'description': '', 'style': None, 'parent_row_id': None, 'row_id': u'total_test', - 'cols': [{'val': 0, - 'val_r': u'0', - 'val_c': u'total_test = len(test)', - 'style': None, - }] + 'cells': [{'val': 0, + 'val_r': u'0', + 'val_c': u'total_test = len(test)', + 'style': None, + }] }], 'header': - [{'cols': [{'comment': '07/31/2014', + [{'cols': [{'description': '07/31/2014', + 'label': u'today', 'colspan': 1, - 'description': u'today', }], }, - {'cols': [{'colspan': 1, + {'cols': [{'label': '', 'description': '', - 'comment': '', + 'colspan': 1, }], }, ],