Commit 00b825a9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

we should not have WebDocument related filters for TextDocument filter candidates.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42582 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 00ad3250
...@@ -505,8 +505,9 @@ class TestServer(CloudoooTestCase): ...@@ -505,8 +505,9 @@ class TestServer(CloudoooTestCase):
response_code, response_dict, response_message = \ response_code, response_dict, response_message = \
self.proxy.getAllowedTargetItemList(mimetype) self.proxy.getAllowedTargetItemList(mimetype)
self.assertEquals(response_code, 200) self.assertEquals(response_code, 200)
self.assertEquals(len(response_dict['response_data']), 25) self.assertEquals(len(response_dict['response_data']), 17)
self.assertTrue(['html', 'HTML Document'] in response_dict['response_data']) self.assertTrue(['html', 'HTML Document (OpenOffice.org Writer)'] in response_dict['response_data'])
self.assertFalse(['html', 'HTML Document'] in response_dict['response_data'])
def test_suite(): def test_suite():
......
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