diff --git a/product/CMFCategory/tests/testCMFCategory.py b/product/CMFCategory/tests/testCMFCategory.py
index 48e73e5b176fd738abf6002e4359e90cf9526179..175d3a14ba0446a09ea685a7908e7b5781a67ee2 100755
--- a/product/CMFCategory/tests/testCMFCategory.py
+++ b/product/CMFCategory/tests/testCMFCategory.py
@@ -113,7 +113,7 @@ class TestCMFCategory(ERP5TypeTestCase):
       if not hasattr(portal_categories, bc):
         addBaseCategory(portal_categories, bc)
       portal_categories[bc].setAcquisitionBaseCategoryList(('subordination','parent'))
-      portal_categories[bc].setAcquisitionPortalTypeList(['Address', 'Organisation', 'Person'])
+      portal_categories[bc].setAcquisitionPortalTypeList("python: ['Address', 'Organisation', 'Person']")
       portal_categories[bc].setAcquisitionMaskValue(1)
       portal_categories[bc].setAcquisitionCopyValue(0)
       portal_categories[bc].setAcquisitionAppendValue(0)
@@ -121,7 +121,7 @@ class TestCMFCategory(ERP5TypeTestCase):
     for bc in ('subordination', ):
       if not hasattr(portal_categories, bc):
         addBaseCategory(portal_categories, bc)
-      portal_categories[bc].setAcquisitionPortalTypeList(['Career', 'Organisation'])
+      portal_categories[bc].setAcquisitionPortalTypeList("python: ['Career', 'Organisation']")
       portal_categories[bc].setAcquisitionMaskValue(0)
       portal_categories[bc].setAcquisitionCopyValue(0)
       portal_categories[bc].setAcquisitionAppendValue(0)