[Erp5-report] ERP5 Unit Test

seb at nexedi.com seb at nexedi.com
Thu Mar 9 07:14:09 CET 2006


Date : 2006-03-09

Ran Unit test of CMFActivity
Ran 64 tests in 79.673s
OK

Ran Unit test of Alarm
Ran 11 tests in 41.006s
OK

Ran 14 tests in 125.541s
FAILED (errors=14)

Ran 5 tests in 98.704s
FAILED (errors=5)

Ran 1 test in 97.677s
FAILED (errors=1)

Ran 10 tests in 135.135s
FAILED (errors=8)

Ran Unit test of Interaction Workflow
Ran 10 tests in 63.753s
OK

Ran 21 tests in 87.038s
FAILED (errors=21)

Ran 1 test in 89.340s
FAILED (errors=1)

Ran 5 tests in 100.661s
FAILED (errors=5)

Ran Unit test of ERP5 Categories
Ran 8 tests in 124.795s
FAILED (failures=4)

Ran 15 tests in 119.908s
FAILED (errors=14)

Ran 10 tests in 104.802s
FAILED (errors=10)

Ran 1 test in 97.636s
FAILED (errors=1)

Ran 3 tests in 97.769s
FAILED (errors=3)

Ran 2 tests in 103.132s
FAILED (errors=2)

Ran 3 tests in 99.217s
FAILED (errors=3)

Ran Unit test of ERP5 HR
Ran 3 tests in 59.061s
FAILED (errors=1)

Ran Unit test of Base
Ran 5 tests in 64.040s
OK

Ran Unit test of Business Template
Ran 20 tests in 145.054s
FAILED (failures=1)

Ran Unit test of Trash Tool
Ran 4 tests in 40.186s
OK

Ran Unit test of ERP5Type
Ran 12 tests in 52.828s
OK

Ran 3 tests in 99.134s
OK

Ran Unit test of Constraint
Ran 7 tests in 57.717s
OK

Ran Unit test of CMFCategory
Ran 18 tests in 61.548s
OK

Ran Unit test of ERP5Catalog
Ran 18 tests in 69.278s
OK

Ran Unit test of Portal Preference
Ran 5 tests in 37.257s
FAILED (errors=1)

Ran Unit test of ERP5 SyncML
Ran 33 tests in 131.255s
OK

-------------- next part --------------
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (7.531s)
Installing ExtFile ... done (0.121s)
Installing Photo ... done (0.639s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.800s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.361s)
Installing ZSQLCatalog ... done (0.079s)
Installing ZMailIn ... done (0.078s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.029s)
Installing MailHost ... done (0.110s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.053s)
Installing Localizer ... done (0.046s)
Installing TimerService ... done (0.054s)
Installing CMFCore ... done (0.091s)
Installing CMFDefault ... done (0.111s)
Installing CMFTopic ... done (0.038s)
Installing DCWorkflow ... done (0.063s)
Installing CMFCalendar ... done (0.088s)
Installing CMFPhoto ... done (0.037s)
Installing BTreeFolder2 ... done (0.024s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (1.212s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.047s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.099s)
Installing PluggableAuthService ... done (0.185s)
Installing ERP5Security ... done (0.169s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.688s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.198s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.245s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (4.080s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.993s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.156s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.399s)
Installing ERP5OOo ... done (0.453s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (66.203s)
Ran Unit test of CMFActivity

Test Defered Set Title SQLDict .
Test Defered Set Title SQLQueue .
Test Defered Set Title RAMDict .
Test Defered Set Title RAMQueue .
Test Invoke And Cancel SQLDict .
Test Invoke And Cancel SQLQueue .
Test Invoke And Cancel RAMDict .
Test Invoke And Cancel RAMQueue .
Call Once With SQL Dict .
Call Once With SQL Queue .
Call Once With RAM Dict .
Call Once With RAM Queue .
Try Message With Error On SQL Dict .
Try Message With Error On SQL Queue .
Try Message With Error On RAM Dict .
Try Message With Error On RAM Queue .
Try Flush Activity With SQL Dict .
Try Flush Activity With SQL Queue .
Try Flush Activity With RAM Dict .
Try Flush Activity With RAM Queue .
Try Activate Inside Flush With SQL Dict .
Try Activate Inside Flush With SQL Queue .
Try Activate Inside Flush With RAM Dict .
Try Activate Inside Flush With RAM Queue .
Try Two Methods With SQL Dict .
Try Two Methods With SQL Queue .
Try Two Methods With RAM Dict .
Try Two Methods With RAM Queue .
Try Two Methods And Flush Them With SQL Dict .
Try Two Methods And Flush Them With SQL Queue .
Try Two Methods And Flush Them With RAM Dict .
Try Two Methods And Flush Them With RAM Queue .
Try Activate Flush Activate Tic With SQL Dict .
Try Activate Flush Activate Tic With SQL Queue .
Try Activate Flush Activate Tic With RAM Dict .
Try Activate Flush Activate Tic With RAM Queue .
Try Activate Flush Activate Tic With MultipleActivities .
Try Commit Sub Transaction With SQL Dict .
Try Commit Sub Transaction With SQL Queue .
Try Commit Sub Transaction With RAM Dict .
Try Commit Sub Transaction With RAM Queue .
Try Rename Object With SQL Dict .
Try Rename Object With SQL Queue .
Try Rename Object With RAM Dict .
Try Rename Object With RAM Queue .
Try Active Process With SQL Dict .
Try Active Process With SQL Queue .
Try Active Process With RAM Dict .
Try Active Process With RAM Queue .
Try Active Process Inside Activity With SQL Dict .
Try Active Process Inside Activity With SQL Queue .
Try Active Process Inside Activity With RAM Dict .
Try Active Process Inside Activity With RAM Queue .
Try Active Method After Another Activate Method With SQLDict.
Try Active Method After Another Activate Method With SQLQueue.
Try Call Activity With Right User.
Try Expanded Method With Deleted Sub Object.
Try Expanded Method With Deleted Object.
Try After Tag With SQL Dict.
Try After Tag With SQL Queue.
Check Scheduling With SQL Dict.
Check Scheduling With SQL Queue.
Check Clearing Activities With SQL Dict.
Check Clearing Activities With SQL Queue.
----------------------------------------------------------------------
Ran 64 tests in 79.673s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.173s)
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.193s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.604s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.031s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.027s)
Installing PluggableAuthService ... done (0.019s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.930s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.063s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ... 
Logout ... 
done (32.603s)
Ran Unit test of Alarm

Test Has Everything .
Test Initialization .
Test Every Hour .
Test Every 3 Hours .
Test Some Hours .
Every Day Once .
Every 3 Days Some Hours .
Some Week Days Some Hours .
Some Month Days Some Hours .
Once Every 2 Month .
Every Day Once Week 41 And 43 .
----------------------------------------------------------------------
Ran 11 tests in 41.006s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.357s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.111s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.578s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.845s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'
EEEEEEEEEEEEEE
======================================================================
ERROR: check necessary tools and modules are present.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: test edition of matrix and rule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: test predicates for the cells of invoice transaction rule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

======================================================================
ERROR: Payment Rule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 122, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 147, in createCategories
    path = self.getPortal().portal_categories[base_cat]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'account_type'

----------------------------------------------------------------------
Ran 14 tests in 125.541s

FAILED (errors=14)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.163s)
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.153s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.526s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (3.034s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateCurrencies
  Playing step... CreateEntities
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateCurrencies
  Playing step... CreateEntities
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateCurrencies
  Playing step... CreateEntities
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateCurrencies
  Playing step... CreateEntities
  Playing step... CreateAccountsE
======================================================================
ERROR: Basic test for Accounting Periods
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 591, in test_AccountingPeriod
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 222, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 652, in test_AccountingPeriodNotStoppedTransactions
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 222, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Accounting Periods prevents transactions to be validated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 617, in test_AccountingPeriodRefusesWrongDateTransactionValidation
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 222, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Tests using an account on one sides uses the mirror account
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 672, in test_MirrorAccounts
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 222, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 578, in test_MultiCurrencyInvoice
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 222, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

----------------------------------------------------------------------
Ran 5 tests in 98.704s

FAILED (errors=5)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.154s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.116s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.542s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.848s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
======================================================================
ERROR: Checks that a Simple Invoice is created from a Packing List
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 516, in test_SimpleInvoice
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 60, in playSequence
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 142, in stepCreateSaleInvoiceTransactionRule
    invoice_rule = self.getPortal().portal_rules.default_invoice_transaction_rule
AttributeError: default_invoice_transaction_rule

----------------------------------------------------------------------
Ran 1 test in 97.677s

FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.143s)
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.134s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.557s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.052s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.031s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.770s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Sequence 1... 
  Playing step... CreateResourceE
Starting New Pricing Case 0...
  Creating product...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 1...
  Creating product...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 2...
  Creating product...
  Creating supply line...
  Set additional_price on supply line with value 1...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 3...
  Creating product...
  Creating supply line...
  Set surcharge_ratio on supply line with value 0.5...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 4...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 5...
  Creating product...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.5...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 6...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.5...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 7...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 8...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set surcharge_ratio on supply line with value 1...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 9...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set surcharge_ratio on supply line with value 1...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Commit transaction...
  Tic...
  Check product price....
Starting New Option Pricing Case 1...
  Creating fake product...
  Creating supply line...
  Creating product...
  Creating supply line...
  Commit transaction...
  Tic...
  Check product price without option...
  Check product price with option: industrial_phase/phase1...
  Check product price with option: industrial_phase/phase2...
  Check product price with options: industrial_phase/phase1 industrial_phase/phase2....
======================================================================
ERROR: test_01_getVariationBaseCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 254, in test_01_getVariationBaseCategoryList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_02_getVariationRangeCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 309, in test_02_getVariationRangeCategoryList
    self.genericTest('CheckGetVariationRangeCategoryList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_03_getVariationRangeCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 329, in test_03_getVariationRangeCategoryItemList
    self.genericTest('CheckGetVariationRangeCategoryItemList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_04_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 348, in test_04_getVariationCategoryList
    self.genericTest('CheckGetVariationCategoryList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_05_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 373, in test_05_getVariationCategoryList
    self.genericTest('CheckGetVariationCategoryListWithoutOmit')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_06_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 391, in test_06_getVariationCategoryItemList
    self.genericTest('CheckGetVariationCategoryItemList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_07_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 410, in test_07_getVariationCategoryItemList
    self.genericTest('CheckGetVariationCategoryItemListWithoutOmit')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_08_variationPropertyList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 449, in test_08_variationPropertyList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

----------------------------------------------------------------------
Ran 10 tests in 135.135s

FAILED (errors=8)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.097s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.159s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.025s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.549s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.031s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.894s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.064s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.015s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (50.273s)
Ran Unit test of Interaction Workflow

No Interactions .
Interactions On Edit .
Interactions, Edit Set Description and also After Script .
Interactions, Automatic Workflow Method .
Interactions, Automatic Workflow Method With Extra Base Category .
Interactions, Check If There Is Only One Call .
Interactions, Check If The Return Value Is Not Altered .
Interactions, Check If Multiple method_id Can Be Hooked .
Interactions, Check if the same method_id can be hooked by two Interactions .
Interactions, check if multiple scripts can be called .
----------------------------------------------------------------------
Ran 10 tests in 63.753s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.144s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.380s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.029s)
Installing BTreeFolder2 ... done (0.022s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.604s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.784s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_759fdaed6650f3c1550b026aaad30249 ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_core_patch_immo business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 352, in setupERP5Site
    portal.portal_templates.download(url, id=id)
  File "/home/seb/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 295, in download
    file, headers = urlretrieve(url, temppath)
  File "/usr/lib/python2.4/urllib.py", line 84, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.4/urllib.py", line 212, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.4/urllib.py", line 180, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.4/urllib.py", line 409, in open_file
    return self.open_local_file(url)
  File "/usr/lib/python2.4/urllib.py", line 419, in open_local_file
    raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: 'erp5_core_patch_immo.bt5'
EEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_02_singleItemImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_03_complexItemStructureImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_04_TestContinuousMethodMovementValidity (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_10_TestAmortisationPriceForDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_13_TestAmortisationPriceForNoAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_17_TestMonthlyAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

======================================================================
ERROR: test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 139, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 247, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Fabric Item

----------------------------------------------------------------------
Ran 21 tests in 87.038s

FAILED (errors=21)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.134s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.130s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.011s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.054s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.535s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.920s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_2c2ef0955a7689e4c2be023abee65aed ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'
E
======================================================================
ERROR: test_01_ERP5BankingCashTransfer (testERP5BankingCashTransfer.TestERP5BankingCashTransfer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5BankingCashTransfer.py", line 230, in afterSetUp
    self.cash_status_base_category = getattr(self.category_tool, 'cash_status')
AttributeError: cash_status

----------------------------------------------------------------------
Ran 1 test in 89.340s

FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.163s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.049s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.159s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.013s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.547s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (3.014s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Search Predicate List With No Test E
Search Predicate List With Test E
Generate Mapped Value E
Generate Mapped Value With Ranges E
Generate Mapped Value With Variation E
======================================================================
ERROR: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 303, in test_01_SearchPredidateListWithNoTest
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 123, in createData
    if resource_module.hasContent('1'):
AttributeError: 'NoneType' object has no attribute 'hasContent'

======================================================================
ERROR: test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 310, in test_02_SearchPredidateListWithTest
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 123, in createData
    if resource_module.hasContent('1'):
AttributeError: 'NoneType' object has no attribute 'hasContent'

======================================================================
ERROR: test_03_GenerateMappedValue (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 317, in test_03_GenerateMappedValue
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 123, in createData
    if resource_module.hasContent('1'):
AttributeError: 'NoneType' object has no attribute 'hasContent'

======================================================================
ERROR: test_04_GenerateMappedValueWithRanges (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 336, in test_04_GenerateMappedValueWithRanges
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 123, in createData
    if resource_module.hasContent('1'):
AttributeError: 'NoneType' object has no attribute 'hasContent'

======================================================================
ERROR: test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 366, in test_05_GenerateMappedValueWithVariation
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 123, in createData
    if resource_module.hasContent('1'):
AttributeError: 'NoneType' object has no attribute 'hasContent'

----------------------------------------------------------------------
Ran 5 tests in 100.661s

FAILED (errors=5)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.196s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.161s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.630s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.747s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.084s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (54.200s)
Ran Unit test of ERP5 Categories

Rename Category .
Rename Category Tree F
Rename Related Object .
Rename Object With a related Sub Object F
Rename Membership Criterion Category F
Rename Module With an Object Related to an Object it Contains .
Rename a Base Category with a Person Related to a Sub-Sub-Sub-Category .
Rename a Module with Contained Objects Refering to Other Objects inside the Same Module F
======================================================================
FAIL: test_02 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 176, in test_02
    self.failIfDifferentSet(organisation.getCategoryList(),self.new_deep_cat_list)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 302, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError

======================================================================
FAIL: test_04 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 202, in test_04
    self.assertEquals(organisation.getAbcValueList(),[telephone2])
AssertionError: [<Category at /erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946/portal_categories/abc/2/1>] != [<Telephone at /erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946/organisation_module/new_id/1>]

======================================================================
FAIL: test_05 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 215, in test_05
    self.failIfDifferentSet(predicate.getMembershipCriterionCategoryList(),self.new_cat_list)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 302, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError

======================================================================
FAIL: test_08 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 252, in test_08
    self.assertEquals(original_uid, om['2'].getUid())
AssertionError: 1487 != 1187

----------------------------------------------------------------------
Ran 8 tests in 124.795s

FAILED (failures=4)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.374s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.145s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.554s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.020s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.961s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVRCL
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVRCIL
  Playing step... CreateNotVariatedResourceE.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVCIL
  Playing step... CreateVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckOrderTotalQuantity
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckOrderTotalPrice
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CheckOrder
  Playing step... CreateVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckPortalMethod
Starting New Sequence 2... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResourceE
Starting New Sequence 1... 
  Playing step... CheckDeliveryBuilderPresence
Starting New Sequence 2... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... Tic
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateVariatedResourceE
======================================================================
ERROR: test_01_OrderLine_getVariationRangeCategoryList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 970, in test_01_OrderLine_getVariationRangeCategoryList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_02_OrderLine_getVariationRangeCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 999, in test_02_OrderLine_getVariationRangeCategoryItemList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_04_OrderLine_getVariationCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1029, in test_04_OrderLine_getVariationCategoryItemList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_05_OrderLine_Matrix (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1084, in test_05_OrderLine_Matrix
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_06_OrderLine_getTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1155, in test_06_OrderLine_getTotalQuantity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_07_OrderLine_getTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1194, in test_07_OrderLine_getTotalPrice
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_08_Order_testTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1253, in test_08_Order_testTotalQuantity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_09_Order_testTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1311, in test_09_Order_testTotalPrice
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_10_Order_testSimulationState (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1341, in test_10_Order_testSimulationState
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_11_testPropertiesAcquisition (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1366, in test_11_testPropertiesAcquisition
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_12_testAppliedRuleGeneration (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1490, in test_12_testAppliedRuleGeneration
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_13_testAppliedRuleUpdate (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1550, in test_13_testAppliedRuleUpdate
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_15_deliveryBuilder (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1694, in test_15_deliveryBuilder
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1734, in test_16_deliveryBuilderWithNoTic
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

----------------------------------------------------------------------
Ran 15 tests in 119.908s

FAILED (errors=14)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.167s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.123s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.063s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.037s)
Installing CMFPhoto ... done (0.020s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.593s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.815s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResourceE
======================================================================
ERROR: test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 471, in test_01_PackingListDecreaseQuantity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_02_PackingListChangeDestination (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 489, in test_02_PackingListChangeDestination
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 510, in test_03_PackingListChangeStartDate
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_04_PackingListDeleteLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 529, in test_04_PackingListDeleteLine
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 551, in test_05_SimulationChangeQuantity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 573, in test_06_SimulationChangeStartDate
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 597, in test_07_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_08_AddContainers (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 619, in test_08_AddContainers
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 641, in test_09_AddContainersWithVariatedResources
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 663, in test_10_PackingListIncreaseQuantity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

----------------------------------------------------------------------
Ran 10 tests in 104.802s

FAILED (errors=10)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.117s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.127s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.646s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.794s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.017s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateComponentDictE
======================================================================
ERROR: test_01_getAggregatedAmountList (testTransformation.TestTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testTransformation.py", line 720, in test_01_getAggregatedAmountList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testTransformation.py", line 94, in stepCreateComponentDict
    component_module = portal.getDefaultModule(self.component_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Component

----------------------------------------------------------------------
Ran 1 test in 97.636s

FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.323s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.107s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.563s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.062s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.029s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.049s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.944s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateProductionOrganisation1
  Playing step... CreateProductionSCE
Starting New Sequence 1... 
  Playing step... CreateProductionOrganisation1
  Playing step... CreateSupplyOrganisation1
  Playing step... CreateSourcingSCE
Starting New Sequence 1... 
  Playing step... CreateProductionOrganisation1
  Playing step... CreateProductionOrganisation2
  Playing step... CreateSupplyOrganisation1
  Playing step... CreateSupplyOrganisation2
  Playing step... CreateTwoPhasesSCE
======================================================================
ERROR: test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 876, in test_01_testProductionSimulationExpand
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 121, in stepCreateProductionSC
    self.stepCreateGenericSC(sequence=sequence, sequence_list=sequence_list,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 106, in stepCreateGenericSC
    supply_chain_module = portal.getDefaultModule( \
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Supply Chain

======================================================================
ERROR: test_02_testSourcingSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 902, in test_02_testSourcingSimulationExpand
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 385, in stepCreateSourcingSC
    self.stepCreateProductionSC(sequence=sequence, sequence_list=sequence_list,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 121, in stepCreateProductionSC
    self.stepCreateGenericSC(sequence=sequence, sequence_list=sequence_list,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 106, in stepCreateGenericSC
    supply_chain_module = portal.getDefaultModule( \
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Supply Chain

======================================================================
ERROR: test_03_testIndustrialPhase (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 929, in test_03_testIndustrialPhase
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 547, in stepCreateTwoPhasesSC
    self.stepCreateSourcingSC(sequence=sequence, sequence_list=sequence_list,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 385, in stepCreateSourcingSC
    self.stepCreateProductionSC(sequence=sequence, sequence_list=sequence_list,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 121, in stepCreateProductionSC
    self.stepCreateGenericSC(sequence=sequence, sequence_list=sequence_list,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 106, in stepCreateGenericSC
    supply_chain_module = portal.getDefaultModule( \
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Supply Chain

----------------------------------------------------------------------
Ran 3 tests in 97.769s

FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.233s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.126s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.076s)
Installing ZSQLCatalog ... done (0.046s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.041s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.539s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.927s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.064s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.017s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5846b7bac90512eb2ad0a52e1dc8e28c ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Starting New Sequence 1... 
  Playing step... CreateOrganisationList
  Playing step... CreateOrder
  Playing step... CreateVariatedResourceListE
Starting New Sequence 1... 
  Playing step... CreateOrganisationsForModule
  Playing step... CreateVariatedResourceE
======================================================================
ERROR: test_01_getInventory (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1599, in test_01_getInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 300, in stepCreateVariatedResourceList
    self.stepCreateVariatedResource(sequence=sequence, sequence_list=sequence_list, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_02_InventoryModule (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1626, in test_02_InventoryModule
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

----------------------------------------------------------------------
Ran 2 tests in 103.132s

FAILED (errors=2)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.116s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.047s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.104s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.534s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.029s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.825s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... 
Adding erp5_base business template ... 
Adding erp5_pdm business template ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Test Not Variated Inventory
Starting New Sequence 1... 
  Playing step... CreateNotVariatedResourceE
Test Variated Inventory
Starting New Sequence 1... 
  Playing step... CreateVariatedResourceE
Test Variated Aggregated Inventory
Starting New Sequence 1... 
  Playing step... CreateVariatedResourceE
======================================================================
ERROR: test_01_NotVariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 185, in test_01_NotVariatedInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 143, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 317, in test_02_VariatedInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

======================================================================
ERROR: test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 456, in test_03_VariatedAggregatedInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model

----------------------------------------------------------------------
Ran 3 tests in 99.217s

FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.327s)
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.049s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.135s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.011s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.561s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (3.066s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (48.435s)
Ran Unit test of ERP5 HR

Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... SetOrganisationCategories
  Playing step... ResetOrganisationCategories
  Playing step... SetOrganisationAddress.
Starting New Sequence 1... 
  Playing step... CreatePerson
  Playing step... CreateOrganisation
  Playing step... SetPersonCareer
  Playing step... CheckPersonCareer.
Starting New Sequence 1... 
  Playing step... CreatePerson
  Playing step... CreateOrganisation
  Playing step... SetPersonCareer
  Playing step... AddCareerStepInAnotherOrganisationE
======================================================================
ERROR: test_03_Subordination (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 728, in test_03_Subordination
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 630, in stepAddCareerStepInAnotherOrganisation
    person.setDefaultCareerSubordination(other_organisation.getRelativeUrl())
AttributeError: setDefaultCareerSubordination

----------------------------------------------------------------------
Ran 3 tests in 59.061s

FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.175s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.159s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.032s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.011s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.011s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.525s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.847s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.022s)
Installing ERP5OOo ... done (0.042s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (48.848s)
Ran Unit test of Base

Starting New Sequence 1... 
  Playing step... RemoveWorkflowsRelated
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckTitleValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentTitleValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameTitleValueWithEdit
  Playing step... CheckTitleValue
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentTitleValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2... 
  Playing step... AssociateWorkflows
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckTitleValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentTitleValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameTitleValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentTitleValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 3... 
  Playing step... AssociateWorkflowsExcludingEdit
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckTitleValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentTitleValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameTitleValueWithEdit
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... CheckTitleValue
  Playing step... SetDifferentTitleValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1... 
  Playing step... RemoveWorkflowsRelated
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckGroupValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentGroupValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameGroupValueWithEdit
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentGroupValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2... 
  Playing step... AssociateWorkflows
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckGroupValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentGroupValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameGroupValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentGroupValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 3... 
  Playing step... AssociateWorkflowsExcludingEdit
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckGroupValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentGroupValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameGroupValueWithEdit
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentGroupValueWithEdit
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1... 
  Playing step... RemoveWorkflowsRelated
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckTitleValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentTitleValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameTitleValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentTitleValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2... 
  Playing step... AssociateWorkflows
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckTitleValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentTitleValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameTitleValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentTitleValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckTitleValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1... 
  Playing step... RemoveWorkflowsRelated
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckGroupValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentGroupValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameGroupValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentGroupValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2... 
  Playing step... AssociateWorkflows
  Playing step... CreateObject
  Playing step... Tic
  Playing step... CheckGroupValue
  Playing step... MakeImmediateReindexObjectCrashing
  Playing step... SetDifferentGroupValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetSameGroupValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty
  Playing step... SetDifferentGroupValueWithSetter
  Playing step... CheckIfActivitiesAreCreated
  Playing step... CheckGroupValue
  Playing step... Tic
  Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... SetObjectNotDefinedProperty
  Playing step... CheckNotDefinedPropertySaved
  Playing step... CheckGetNotDefinedProperty
Starting New Sequence 2... 
  Playing step... CreateTempObject
  Playing step... CheckObjectPortalType
  Playing step... SetObjectNotDefinedProperty
  Playing step... CheckNotDefinedPropertySaved
  Playing step... CheckGetNotDefinedProperty.
----------------------------------------------------------------------
Ran 5 tests in 64.040s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.174s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.155s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.025s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.013s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.026s)
Installing CMFCore ... done (0.028s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.587s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.037s)
Installing PluggableAuthService ... done (0.027s)
Installing ERP5Security ... done (0.020s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.078s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.029s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.732s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... 
Adding erp5_csv_style business template ... 
Adding erp5_pdf_style business template ... 
Logout ... 
done (34.676s)
Ran Unit test of Business Template

Test Check New Site 
Starting New Sequence 1... 
  Playing step... UseCoreBusinessTemplate
  Playing step... CheckTools
  Playing step... CheckBuiltBuildingState
  Playing step... CheckInstalledInstallationState
  Playing step... CheckSkinsLayers
  Playing step... CheckNoTrashBinF
Test Business Template With Portal Types 
Starting New Sequence 1... 
  Playing step... CreatePortalType/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py:262: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7
  pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py:267: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7
  pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Module', typeinfo_name='ERP5Type: ERP5 Folder')

  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePortalType
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckPortalTypeRemoved.
Test Business Template With Skin Folder 
Starting New Sequence 1... 
  Playing step... CreateSkinFolder
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddSkinFolderToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveSkinFolder
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckSkinFolderExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckSkinFolderRemoved.
Test Business Template With Workflow 
Starting New Sequence 1... 
  Playing step... CreateWorkflow
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddWorkflowToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveWorkflow
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckWorkflowExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckWorkflowRemoved.
Test Business Template With Module 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateModuleAndObjects
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... AddModuleToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePortalType
  Playing step... RemoveModule
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckModuleObjectsRemoved
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckModuleRemoved
  Playing step... CheckPortalTypeRemoved.
Test Business Template With Base Category 
Starting New Sequence 1... 
  Playing step... CreateBaseCategory
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddBaseCategoryToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveBaseCategory
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckBaseCategoryExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckBaseCategoryRemoved.
Test Business Template With One Action 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateFirstAction
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePortalType
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckFirstActionExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckPortalTypeRemoved.
Test Business Template With Two Actions 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateFirstAction
  Playing step... CreateSecondAction
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... AddSecondActionToBusinessTemplate
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePortalType
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... CreatePortalType
  Playing step... CreateFirstAction
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckFirstActionExists
  Playing step... CheckSecondActionExists
  Playing step... CheckActionsOrder
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckSecondActionNotExists
  Playing step... RemovePortalType.
Test Business Template With A Simple Path 
Starting New Sequence 1... 
  Playing step... CreateBaseCategory
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... AddBaseCategoryAsPathToBusinessTemplate
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveBaseCategory
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckBaseCategoryExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckBaseCategoryRemoved.
Test Business Template With Path And Joker * 
Starting New Sequence 1... 
  Playing step... CreateBaseCategory
  Playing step... CreateCategories
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... AddCategoriesAsPathToBusinessTemplate
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveCategories
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckCategoriesExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckCategoriesRemoved
  Playing step... RemoveBaseCategory.
Test Business Template With Path And Joker ** 
Starting New Sequence 1... 
  Playing step... CreateBaseCategory
  Playing step... CreateCategories
  Playing step... CreateSubCategories
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... AddSubCategoriesAsPathToBusinessTemplate
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveCategories
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckCategoriesExists
  Playing step... CheckSubCategoriesExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckCategoriesRemoved
  Playing step... RemoveBaseCategory.
Test Business Template With Catalog Method, Related Key, Result Key And Table 
Starting New Sequence 1... 
  Playing step... CreateCatalogMethod
  Playing step... CreateKeysAndTable
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddCatalogMethodToBusinessTemplate
  Playing step... AddKeysAndTableToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate/usr/lib/python2.4/pickle.py:362: DeprecationWarning: __basicnew__ special case is deprecated
  DeprecationWarning)

  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveCatalogMethod
  Playing step... RemoveKeysAndTable
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckCatalogMethodExists
  Playing step... CheckKeysAndTableExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckKeysAndTableRemoved
  Playing step... CheckCatalogMethodRemoved.
Test Business Template With Role 
Starting New Sequence 1... 
  Playing step... CreateRole
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddRoleToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveRole
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckRoleExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckRoleRemoved.
Test Business Template With Local Roles 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateModuleAndObjects
  Playing step... CreateLocalRoles
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddLocalRolesToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveLocalRoles
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckLocalRolesExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckLocalRolesRemoved
  Playing step... RemoveModule
  Playing step... RemovePortalType.
Test Business Template With Property Sheet 
Starting New Sequence 1... 
  Playing step... CreatePropertySheet
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddPropertySheetToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePropertySheet
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPropertySheetExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckPropertySheetRemoved.
Test Business Template With All Items 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateModuleAndObjects
  Playing step... CreateSkinFolder
  Playing step... CreateBaseCategory
  Playing step... CreateCategories
  Playing step... CreateSubCategories
  Playing step... CreateWorkflow
  Playing step... CreateFirstAction
  Playing step... CreateSecondAction
  Playing step... CreateCatalogMethod
  Playing step... CreateKeysAndTable
  Playing step... CreateRole
  Playing step... CreateLocalRoles
  Playing step... CreatePropertySheet
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... AddModuleToBusinessTemplate
  Playing step... AddSkinFolderToBusinessTemplate
  Playing step... AddBaseCategoryToBusinessTemplate
  Playing step... AddSubCategoriesAsPathToBusinessTemplate
  Playing step... AddWorkflowToBusinessTemplate
  Playing step... AddCatalogMethodToBusinessTemplate
  Playing step... AddKeysAndTableToBusinessTemplate
  Playing step... AddRoleToBusinessTemplate
  Playing step... AddLocalRolesToBusinessTemplate
  Playing step... AddPropertySheetToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePortalType
  Playing step... RemoveModule
  Playing step... RemoveSkinFolder
  Playing step... RemoveBaseCategory
  Playing step... RemoveWorkflow
  Playing step... RemoveCatalogMethod
  Playing step... RemoveKeysAndTable
  Playing step... RemoveRole
  Playing step... RemovePropertySheet
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckSkinFolderExists
  Playing step... CheckBaseCategoryExists
  Playing step... CheckCategoriesExists
  Playing step... CheckSubCategoriesExists
  Playing step... CheckWorkflowExists
  Playing step... CheckFirstActionExists
  Playing step... CheckSecondActionExists
  Playing step... CheckCatalogMethodExists
  Playing step... CheckKeysAndTableExists
  Playing step... CheckRoleExists
  Playing step... CheckLocalRolesExists
  Playing step... CheckPropertySheetExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckPortalTypeRemoved
  Playing step... CheckModuleRemoved
  Playing step... CheckSkinFolderRemoved
  Playing step... CheckBaseCategoryRemoved
  Playing step... CheckWorkflowRemoved
  Playing step... CheckCatalogMethodRemoved
  Playing step... CheckKeysAndTableRemoved
  Playing step... CheckRoleRemoved
  Playing step... CheckPropertySheetRemoved
  Playing step... CheckSkinsLayers.
Test Upgrade Of Business Template Keeps Subobjects 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateModuleAndObjects
  Playing step... CreateBaseCategory
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... AddModuleToBusinessTemplate
  Playing step... AddBaseCategoryToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveModule
  Playing step... RemoveBaseCategory
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckModuleObjectsRemoved
  Playing step... CheckBaseCategoryExists
  Playing step... CreateModuleObjects
  Playing step... CreateCategories
  Playing step... CreateSubCategories
  Playing step... CreateNewBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckBaseCategoryExists
  Playing step... CheckModuleObjectsExists
  Playing step... CheckCategoriesExists
  Playing step... CheckSubCategoriesExists
  Playing step... UninstallBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckPortalTypeRemoved
  Playing step... CheckModuleRemoved
  Playing step... CheckBaseCategoryRemoved
  Playing step... CheckSkinsLayers.
Test Upgrade Business Template With All Items 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateModuleAndObjects
  Playing step... CreateSkinFolder
  Playing step... CreateBaseCategory
  Playing step... CreateCategories
  Playing step... CreateSubCategories
  Playing step... CreateWorkflow
  Playing step... CreateFirstAction
  Playing step... CreateSecondAction
  Playing step... CreateCatalogMethod
  Playing step... CreateKeysAndTable
  Playing step... CreateRole
  Playing step... CreateLocalRoles
  Playing step... CreatePropertySheet
  Playing step... CreateNewBusinessTemplate
  Playing step... UseExportBusinessTemplate
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... AddModuleToBusinessTemplate
  Playing step... AddSkinFolderToBusinessTemplate
  Playing step... AddBaseCategoryToBusinessTemplate
  Playing step... AddSubCategoriesAsPathToBusinessTemplate
  Playing step... AddWorkflowToBusinessTemplate
  Playing step... AddCatalogMethodToBusinessTemplate
  Playing step... AddKeysAndTableToBusinessTemplate
  Playing step... AddRoleToBusinessTemplate
  Playing step... AddLocalRolesToBusinessTemplate
  Playing step... AddPropertySheetToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePortalType
  Playing step... RemoveModule
  Playing step... RemoveSkinFolder
  Playing step... RemoveBaseCategory
  Playing step... RemoveWorkflow
  Playing step... RemoveCatalogMethod
  Playing step... RemoveKeysAndTable
  Playing step... RemoveRole
  Playing step... RemovePropertySheet
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckSkinFolderExists
  Playing step... CheckBaseCategoryExists
  Playing step... CheckCategoriesExists
  Playing step... CheckSubCategoriesExists
  Playing step... CheckWorkflowExists
  Playing step... CheckFirstActionExists
  Playing step... CheckSecondActionExists
  Playing step... CheckCatalogMethodExists
  Playing step... CheckKeysAndTableExists
  Playing step... CheckRoleExists
  Playing step... CheckLocalRolesExists
  Playing step... CheckPropertySheetExists
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckSkinFolderExists
  Playing step... CheckBaseCategoryExists
  Playing step... CheckCategoriesExists
  Playing step... CheckSubCategoriesExists
  Playing step... CheckWorkflowExists
  Playing step... CheckFirstActionExists
  Playing step... CheckSecondActionExists
  Playing step... CheckCatalogMethodExists
  Playing step... CheckKeysAndTableExists
  Playing step... CheckRoleExists
  Playing step... CheckLocalRolesExists
  Playing step... CheckPropertySheetExists
  Playing step... CheckSkinsLayers
  Playing step... RemovePortalType
  Playing step... RemoveModule
  Playing step... RemoveSkinFolder
  Playing step... RemoveBaseCategory
  Playing step... RemoveWorkflow
  Playing step... RemoveCatalogMethod
  Playing step... RemoveKeysAndTable
  Playing step... RemoveRole
  Playing step... RemovePropertySheet
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins.
Test Check Update of Business Template Workflows is working 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateModuleAndObjects
  Playing step... CreateSkinFolder
  Playing step... CreateBaseCategory
  Playing step... CreateCategories
  Playing step... CreateSubCategories
  Playing step... CreateWorkflow
  Playing step... CreateFirstAction
  Playing step... CreateSecondAction
  Playing step... CreateCatalogMethod
  Playing step... CreateKeysAndTable
  Playing step... CreateRole
  Playing step... CreateLocalRoles
  Playing step... CreatePropertySheet
  Playing step... CopyCoreBusinessTemplate
  Playing step... UseCopyCoreBusinessTemplate
  Playing step... ClearBusinessTemplateField
  Playing step... SetUpdateWorkflowFlagInBusinessTemplate
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... AddModuleToBusinessTemplate
  Playing step... AddSkinFolderToBusinessTemplate
  Playing step... AddBaseCategoryToBusinessTemplate
  Playing step... AddSubCategoriesAsPathToBusinessTemplate
  Playing step... AddWorkflowToBusinessTemplate
  Playing step... AddCatalogMethodToBusinessTemplate
  Playing step... AddKeysAndTableToBusinessTemplate
  Playing step... AddRoleToBusinessTemplate
  Playing step... AddLocalRolesToBusinessTemplate
  Playing step... AddPropertySheetToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemoveAllTrashBins
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckTrashBin
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckSkinFolderExists
  Playing step... CheckBaseCategoryExists
  Playing step... CheckCategoriesExists
  Playing step... CheckSubCategoriesExists
  Playing step... CheckWorkflowExists
  Playing step... CheckFirstActionExists
  Playing step... CheckSecondActionExists
  Playing step... CheckCatalogMethodExists
  Playing step... CheckKeysAndTableExists
  Playing step... CheckRoleExists
  Playing step... CheckLocalRolesExists
  Playing step... CheckPropertySheetExists
  Playing step... RemovePortalType
  Playing step... RemoveModule
  Playing step... RemoveSkinFolder
  Playing step... RemoveBaseCategory
  Playing step... RemoveWorkflow
  Playing step... RemoveCatalogMethod
  Playing step... RemoveKeysAndTable
  Playing step... RemoveRole
  Playing step... RemovePropertySheet
  Playing step... RemoveBusinessTemplate.
Test Check Update of Tool is working 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  Playing step... CreateModuleAndObjects
  Playing step... CreateSkinFolder
  Playing step... CreateBaseCategory
  Playing step... CreateCategories
  Playing step... CreateSubCategories
  Playing step... CreateWorkflow
  Playing step... CreateFirstAction
  Playing step... CreateSecondAction
  Playing step... CreateCatalogMethod
  Playing step... CreateKeysAndTable
  Playing step... CreateRole
  Playing step... CreateLocalRoles
  Playing step... CreatePropertySheet
  Playing step... CopyCoreBusinessTemplate
  Playing step... UseCopyCoreBusinessTemplate
  Playing step... ClearBusinessTemplateField
  Playing step... SetUpdateToolFlagInBusinessTemplate
  Playing step... AddPortalTypeToBusinessTemplate
  Playing step... FillPortalTypesFields
  Playing step... AddModuleToBusinessTemplate
  Playing step... AddSkinFolderToBusinessTemplate
  Playing step... AddBaseCategoryToBusinessTemplate
  Playing step... AddSubCategoriesAsPathToBusinessTemplate
  Playing step... AddWorkflowToBusinessTemplate
  Playing step... AddCatalogMethodToBusinessTemplate
  Playing step... AddKeysAndTableToBusinessTemplate
  Playing step... AddRoleToBusinessTemplate
  Playing step... AddLocalRolesToBusinessTemplate
  Playing step... AddPropertySheetToBusinessTemplate
  Playing step... CheckModifiedBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... BuildBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... CheckObjectPropertiesInBusinessTemplate
  Playing step... SaveBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... RemovePortalType
  Playing step... RemoveModule
  Playing step... RemoveSkinFolder
  Playing step... RemoveBaseCategory
  Playing step... RemoveWorkflow
  Playing step... RemoveCatalogMethod
  Playing step... RemoveKeysAndTable
  Playing step... RemoveRole
  Playing step... RemovePropertySheet
  Playing step... RemoveBusinessTemplate
  Playing step... RemoveAllTrashBins
  Playing step... RemoveSimulationTool
  Playing step... ImportBusinessTemplate
  Playing step... UseImportBusinessTemplate
  Playing step... CheckBuiltBuildingState
  Playing step... CheckNotInstalledInstallationState
  Playing step... InstallBusinessTemplate
  Playing step... Tic
  Playing step... CheckInstalledInstallationState
  Playing step... CheckBuiltBuildingState
  Playing step... CheckSimulationToolExists
  Playing step... CheckSkinsLayers
  Playing step... CheckPortalTypeExists
  Playing step... CheckModuleExists
  Playing step... CheckSkinFolderExists
  Playing step... CheckBaseCategoryExists
  Playing step... CheckCategoriesExists
  Playing step... CheckSubCategoriesExists
  Playing step... CheckWorkflowExists
  Playing step... CheckFirstActionExists
  Playing step... CheckSecondActionExists
  Playing step... CheckCatalogMethodExists
  Playing step... CheckKeysAndTableExists
  Playing step... CheckRoleExists
  Playing step... CheckLocalRolesExists
  Playing step... CheckPropertySheetExists
  Playing step... RemovePortalType
  Playing step... RemoveModule
  Playing step... RemoveSkinFolder
  Playing step... RemoveBaseCategory
  Playing step... RemoveWorkflow
  Playing step... RemoveCatalogMethod
  Playing step... RemoveKeysAndTable
  Playing step... RemoveRole
  Playing step... RemovePropertySheet
  Playing step... RemoveBusinessTemplate.
======================================================================
FAIL: test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1507, in test_01_checkNewSite
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
    sequence.play(context,sequence_number=i)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
    step.play(context,sequence=self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 233, in stepCheckNoTrashBin
    self.assertEquals(len(trash.objectIds()), 0)
AssertionError: 3 != 0

----------------------------------------------------------------------
Ran 20 tests in 145.054s

FAILED (failures=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.184s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.061s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.160s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.577s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.760s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.059s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.036s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... 
Logout ... 
done (32.587s)
Ran Unit test of Trash Tool

Test Check TrashBin Creation 
Starting New Sequence 1... 
  Playing step... CheckTrashToolExists
  Playing step... CreateTrashBin
  Playing step... CheckTrashBinIndexable.
Test Check Backup Without Save 
Starting New Sequence 1... 
  Playing step... CheckTrashToolExists
  Playing step... CreateTrashBin
  Playing step... CheckTrashBinIndexable
  Playing step... AddBaseCategory
  Playing step... AddCategories
  Playing step... Tic
  Playing step... BackupObjectsWithoutSave
  Playing step... CheckObjectNotBackup.
Test Check Backup With Save 
Starting New Sequence 1... 
  Playing step... CheckTrashToolExists
  Playing step... CreateTrashBin
  Playing step... CheckTrashBinIndexable
  Playing step... AddBaseCategory
  Playing step... AddCategories
  Playing step... Tic
  Playing step... BackupObjectsWithSave
  Playing step... Tic
  Playing step... CheckObjectBackupWithoutSubObjects.
Test Check Backup Without Subobjects 
Starting New Sequence 1... 
  Playing step... CheckTrashToolExists
  Playing step... CreateTrashBin
  Playing step... CheckTrashBinIndexable
  Playing step... AddBaseCategory
  Playing step... AddCategories
  Playing step... Tic
  Playing step... BackupObjectsWithKeepingSubobjects
  Playing step... Tic
  Playing step... CheckObjectBackupWithSubObjects.
----------------------------------------------------------------------
Ran 4 tests in 40.186s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.130s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.049s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.172s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.544s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.052s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.832s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.020s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.029s)
Installing ERP5OOo ... done (0.051s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (49.217s)
Ran Unit test of ERP5Type
............
----------------------------------------------------------------------
Ran 12 tests in 52.828s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.137s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.050s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.144s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.549s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.096s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.029s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (3.067s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_27661e9717edf957b357f01fd11acfb6 ERP5 Site ... 
Adding erp5_trade business template ... 
Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
    portal.portal_templates[id].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
    res = func(*args, **kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3808, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3765, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1696, in install
    , action = action.action.text
AttributeError: 'str' object has no attribute 'text'

Test Rename Cell Range .
Test Set Cell Range And Catalog With Activities .
Test Set Cell Range And Catalog Without Activities .
----------------------------------------------------------------------
Ran 3 tests in 99.134s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.104s)
Installing ExtFile ... done (0.090s)
Installing Photo ... done (0.078s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.322s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.032s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.532s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.802s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (47.757s)
Ran Unit test of Constraint

Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... CreateConstraint
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... CreatePropertyExistence0
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2... 
  Playing step... CreateObject
  Playing step... CreatePropertyExistence1
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 3... 
  Playing step... CreateObject
  Playing step... SetObjectNoneTitle
  Playing step... CreatePropertyExistence2
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 4... 
  Playing step... CreateObject
  Playing step... SetObjectEmptyTitle
  Playing step... CreatePropertyExistence2
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5... 
  Playing step... CreateObject
  Playing step... SetObjectTitle
  Playing step... CreatePropertyExistence2
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... CreatePropertyTypeValidity
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2... 
  Playing step... CreateObject
  Playing step... SetObjectNoneTitle
  Playing step... CreatePropertyTypeValidity
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 3... 
  Playing step... CreateObject
  Playing step... SetObjectEmptyTitle
  Playing step... CreatePropertyTypeValidity
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 4... 
  Playing step... CreateObject
  Playing step... SetObjectTitle
  Playing step... CreatePropertyTypeValidity
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5... 
  Playing step... CreateObject
  Playing step... SetObjectIntTitle
  Playing step... CreatePropertyTypeValidity
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... CreateAttributeEquality0
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2... 
  Playing step... CreateObject
  Playing step... SetObjectNoneTitle
  Playing step... CreateAttributeEquality1
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 3... 
  Playing step... CreateObject
  Playing step... SetObjectEmptyTitle
  Playing step... CreateAttributeEquality1
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 4... 
  Playing step... CreateObject
  Playing step... SetObjectTitle
  Playing step... CreateAttributeEquality1
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... CreateCategoryExistence0
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2... 
  Playing step... CreateObject
  Playing step... CreateCategoryExistence1
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 3... 
  Playing step... CreateObject
  Playing step... CreateCategoryExistence2
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 4... 
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryExistence2
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5... 
  Playing step... CreateObject
  Playing step... CreateCategoryExistence3
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 6... 
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryExistence3
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 7... 
  Playing step... CreateObject
  Playing step... SetObjectGroupOrganisation
  Playing step... CreateCategoryExistence3
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... CreateCategoryMembershipArity0
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2... 
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryMembershipArity0
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 3... 
  Playing step... CreateObject
  Playing step... SetObjectGroupList
  Playing step... CreateCategoryMembershipArity0
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 4... 
  Playing step... CreateObject
  Playing step... CreateCategoryMembershipArity1
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 5... 
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryMembershipArity1
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 6... 
  Playing step... CreateObject
  Playing step... SetObjectGroupList
  Playing step... CreateCategoryMembershipArity1
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 7... 
  Playing step... CreateObject
  Playing step... CreateCategoryMembershipArity2
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 8... 
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryMembershipArity2
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 9... 
  Playing step... CreateObject
  Playing step... SetObjectGroupList
  Playing step... CreateCategoryMembershipArity2
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 10... 
  Playing step... CreateObject
  Playing step... CreateCategoryMembershipArity3
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 11... 
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryMembershipArity3
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 12... 
  Playing step... CreateObject
  Playing step... SetObjectGroupList
  Playing step... CreateCategoryMembershipArity3
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 13... 
  Playing step... CreateObject
  Playing step... CreateCategoryMembershipArity4
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 14... 
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryMembershipArity4
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 15... 
  Playing step... CreateObject
  Playing step... SetObjectGroupList
  Playing step... CreateCategoryMembershipArity4
  Playing step... Tic
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1... 
  Playing step... DeleteObjectModuleContent
  Playing step... CreateObject
  Playing step... CreateCategoryRelatedMembershipArity0
  Playing step... Tic
  Playing step... CallRelatedCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2... 
  Playing step... DeleteObjectModuleContent
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryRelatedMembershipArity0
  Playing step... Tic
  Playing step... CallRelatedCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 3... 
  Playing step... DeleteObjectModuleContent
  Playing step... CreateObject
  Playing step... CreateCategoryRelatedMembershipArity1
  Playing step... Tic
  Playing step... CallRelatedCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 4... 
  Playing step... DeleteObjectModuleContent
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryRelatedMembershipArity1
  Playing step... Tic
  Playing step... CallRelatedCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5... 
  Playing step... DeleteObjectModuleContent
  Playing step... CreateObject
  Playing step... CreateCategoryRelatedMembershipArity2
  Playing step... Tic
  Playing step... CallRelatedCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 6... 
  Playing step... DeleteObjectModuleContent
  Playing step... CreateObject
  Playing step... SetObjectGroup
  Playing step... CreateCategoryRelatedMembershipArity2
  Playing step... Tic
  Playing step... CallRelatedCheckConsistency
  Playing step... CheckIfConstraintFailed.
----------------------------------------------------------------------
Ran 7 tests in 57.717s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.122s)
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.130s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.028s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.012s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.012s)
Installing PythonScripts ... done (0.012s)
Installing ExternalMethod ... done (0.019s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.022s)
Installing CMFCore ... done (0.026s)
Installing CMFDefault ... done (0.021s)
Installing CMFTopic ... done (0.018s)
Installing DCWorkflow ... done (0.017s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.532s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.801s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (47.926s)
Ran Unit test of CMFCategory

 Test Has Everything .
 Test Single Category .
 Test Multiple Category .
 Test Category Value .
 Test Return None .
 Test Single Acquisition .
 Test List Acquisition .
 Test Subordination Value .
 Test Subordination Multiple Value .
 Test Get Category Parent Uid List .
 Test Fallback Base Category .
 Test Parent Acquisition .
 Test Get Related Value And Value List .
 Test Category Renaming.
 Test multiple Portal Types for a same category.
 Test Sort Child Values.
 Test Get Related Values.
 Test Domain Selection and Categories.
----------------------------------------------------------------------
Ran 18 tests in 61.548s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.450s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.112s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.033s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.535s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.901s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.059s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.032s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (47.964s)
Ran Unit test of ERP5Catalog

Test Has Everything .
Test Everything Catalogued.
Test Create And Delete Objects .
Search Folder With Deleted Objects .
Search Folder With Immediate Reindex Object .
Search Folder With Recursive Immediate Reindex Object .
Clear Catalog And Test New Content .
Clear Catalog And Test Recursive Immediate Reindex Object .
Clear Catalog And Test Immediate Reindex Object .
Ordered Search Folder .
Cast String As Int With Order By .
Transactional Uid Buffer .
ERP5Site_reindexAll .
Reindexing an object with 1 broken category must not affect other valid categories  .
getObject .
newUid .
getCreationDate, getModificationDate ..
----------------------------------------------------------------------
Ran 18 tests in 69.278s

OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.096s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.219s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.037s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.580s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.032s)
Installing PluggableAuthService ... done (0.031s)
Installing ERP5Security ... done (0.023s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.057s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.029s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (2.806s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ... 
Logout ... 
done (33.128s)
Ran Unit test of Portal Preference

 Test enabling preferencesE
 Test methods on portal_preference.
 Test getPreference.
 Test setting preferences.
 Test different users preferences are independants.
======================================================================
ERROR: tests preference workflow
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 125, in test_EnablePreferences
    portal_workflow.doActionFor(
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 221, in DCWorkflowDefinition_executeTransition
    script()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
    (ob, method_id, func, args, kw), {})
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
    self._changeStateOf(ob, tdef)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 227, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in disableOtherPreferences
  File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 4, in Base_translateString
  File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 312, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 334, in builtin_guarded_apply
    return func(*arglist, **argdict)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/Localizer.py", line 64, in Localizer_translate
    translated_str = catalog_obj.gettext(msgid, **params)
  File "/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py", line 214, in gettext
    lang = lang_negotiator(available_languages)
  File "/usr/lib/zope/lib/python/Products/Localizer/Utils.py", line 43, in lang_negotiator
    request, response = context.request, context.response
AttributeError: 'NoneType' object has no attribute 'request'

----------------------------------------------------------------------
Ran 5 tests in 37.257s

FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.104s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import View
done (1.275s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.045s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.018s)
Installing PythonScripts ... done (0.017s)
Installing ExternalMethod ... done (0.031s)
Installing Localizer ... done (0.020s)
Installing TimerService ... done (0.026s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
  , icon='tool.gif'
done (0.552s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
  product_name='CMFMailIn', icon='tool.gif',
done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
  icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
  icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
  icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
  icon='tool.png',
done (3.123s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
  icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
  icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
  icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ... 
Adding erp5_base business template ... 
Logout ... 
done (48.251s)
Ran Unit test of ERP5 SyncML

Test Has Everything .
Test Add a Publication .
Test Add First Subscription .
Test Add Second Subscription .
Test getSynchronizationList .
Test getObjectList .
Test Export and Import .
Test First Synchronization .
Test First Synchronization With Long Lines .
Test getObjectFromGid .
Test getSynchronizationState .
Test Update Simple Data .
Test Get Conflict List .
Test Get Publisher And Subscriber Document .
Test Apply Publisher Value .
Test Apply Subscriber Value .
Test Add Sub Object .
Test Update Sub Object .
Test Delete Object .
Test Delete Sub Object .
Test Get Conflict List On Sub Object .
Test Apply Publisher Document On Sub Object .
Test Apply Subscriber Document On Sub Object .
Test Synchronize With Strange Gid .
Test Multi Node Conflict .
Test Synchronize WorkflowHistory .
Test Update Local Role .
Test Partial Data .
Test Broken Message .
Test Get Synchronization Type .
Test Update Local Permission .
Test Add One Way Subscription .
Test One Way Sync .
----------------------------------------------------------------------
Ran 33 tests in 131.255s

OK


More information about the Erp5-report mailing list