Commit 7ea29fe6 authored by Hugo H. Maia Vieira's avatar Hugo H. Maia Vieira

Refactor testITableGranulator

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@41842 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32d1fab9
......@@ -56,12 +56,12 @@ class TestInterface(unittest.TestCase):
def testITableGranulator(self):
"""Test if OOGranulate implements ITableGranulator"""
self.assertEquals(ITableGranulator.implementedBy(OOGranulate), True)
method_list = ['getColumnItemList',
'getLineItemList',
method_list = ['getLineItemList',
'getTableItem',
'getTableItemList',
'getColumnItemList',
'getTableMatrix']
self.assertEquals(ITableGranulator.names(), method_list)
self.assertEquals(ITableGranulator.names().sort(), method_list.sort())
def testITextGranulator(self):
"""Test if OOGranulate implements ITextGranulator"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment