Commit fbe92437 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

should be a part of r42589 (remove useless getMimetypeByFilterType() method in mimemapper).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42590 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4497b7d5
......@@ -122,7 +122,7 @@ class TestInterface(unittest.TestCase):
def testIMimeMapper(self):
"""Test if Mimemapper implements IMimemapper."""
method_list = ['getDocumentTypeDict', 'getFilterName', 'loadFilterList',
'getFilterList', 'getAllowedExtensionList', 'getMimetypeByFilterType',
'getFilterList', 'getAllowedExtensionList',
'isLoaded']
for method in method_list:
self.assertTrue(method in IMimemapper.names())
......@@ -136,8 +136,6 @@ class TestInterface(unittest.TestCase):
self.assertEquals(IMimemapper.get('getDocumentTypeDict').required, ())
self.assertEquals(IMimemapper.get('getAllowedExtensionList').required,
("document_type",))
self.assertEquals(IMimemapper.get('getMimetypeByFilterType').required,
('filter_type',))
def testIMonitor(self):
"""Test if Monitors implements IMonitor"""
......
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