Commit f7ba22ad authored by Mario Jorge Amaral's avatar Mario Jorge Amaral

Change tests to test if Manager implements the interface granulate.py

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@43586 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce5808bb
......@@ -53,7 +53,7 @@ class TestInterface(unittest.TestCase):
def testITableGranulator(self):
"""Test if OOGranulator implements ITableGranulator"""
self.assertTrue(ITableGranulator.implementedBy(OOGranulator))
self.assertTrue(ITableGranulator.implementedBy(Manager))
method_list = ['getLineItemList',
'getTableItem',
'getTableItemList',
......@@ -63,7 +63,7 @@ class TestInterface(unittest.TestCase):
def testITextGranulator(self):
"""Test if OOGranulator implements ITextGranulator"""
self.assertTrue(ITextGranulator.implementedBy(OOGranulator))
self.assertTrue(ITextGranulator.implementedBy(Manager))
method_list = ['getChapterItemList',
'getParagraphItem',
'getChapterItem',
......@@ -72,7 +72,7 @@ class TestInterface(unittest.TestCase):
def testIImageGranulator(self):
"""Test if OOGranulator implements IImageGranulator"""
self.assertTrue(IImageGranulator.implementedBy(OOGranulator))
self.assertTrue(IImageGranulator.implementedBy(Manager))
method_list = ['getImageItemList', 'getImage']
self.assertEquals(IImageGranulator.names(), method_list)
......
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