Browse Source

[FIX] mis_builder: fix unit test.

pull/239/head
Adrien Peiffer (ACSONE) 8 years ago
committed by Stéphane Bidoul (ACSONE)
parent
commit
68b331c7ce
  1. 5
      mis_builder/tests/test_fetch_query.py

5
mis_builder/tests/test_fetch_query.py

@ -9,9 +9,8 @@ class TestFetchQuery(common.TransactionCase):
def test_fetch_query(self):
# create a report on account.analytic.line
data = self.registry('mis.report.instance').compute(
self.cr, self.uid,
self.ref('mis_builder.mis_report_instance_test'))
report = self.env.ref('mis_builder.mis_report_instance_test')
data = report.compute()
self.maxDiff = None
self.assertEquals(
{'body':

Loading…
Cancel
Save