Commit 88154afa authored by Vincent Pelletier's avatar Vincent Pelletier

testCMFCategory: Extend test_19_CategoryMemberValueList.

parent 68073c9f
......@@ -703,6 +703,12 @@ class TestCMFCategory(ERP5TypeTestCase):
strict_membership=1,
portal_type='Organisation')], [])
self.assertEqual([x.getObject() for x in
portal_categories.getCategoryMemberValueList(
portal_categories.region,
base_category='region',
portal_type='Organisation')], [organisation])
def test_20_CategoryChildTitleAndIdItemList(self):
"""Tests getCategoryChildTitleAndIdItemList."""
base_cat = self.getCategoryTool().newContent(portal_type='Base Category')
......
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