[Erp5-report] ERP5 Unit Test

seb at nexedi.com seb at nexedi.com
Tue May 23 08:08:54 CEST 2006


Date : 2006-05-23

Ran Unit test of CMFActivity
Ran 65 tests in 444.818s
OK

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

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

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

Ran 9 tests in 134.148s
FAILED (errors=9)

Ran 11 tests in 303.589s
FAILED (errors=11)

Ran Unit test of Interaction Workflow
Ran 12 tests in 179.420s
OK

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

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

Ran Unit test of ERP5 Categories
Ran 8 tests in 154.308s
OK

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

Ran 12 tests in 95.910s
FAILED (errors=12)

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

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

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

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

Ran Unit test of ERP5 HR
Ran 3 tests in 154.709s
FAILED (failures=1)

Ran Unit test of Base
Ran 7 tests in 138.674s
FAILED (failures=2)

Ran Unit test of Business Template
Ran 20 tests in 410.324s
OK

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

Ran Unit test of ERP5Type
Ran 13 tests in 124.292s
OK

Ran Unit test of XMLMatrix
Ran 3 tests in 205.800s
OK

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

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

Ran Unit test of ERP5Catalog
Ran 20 tests in 179.643s
OK

Ran Unit test of Portal Preference
Ran 5 tests in 88.484s
OK

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

Ran Unit test of Predicates
Ran 6 tests in 134.755s
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 (17.041s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.611s)
Installing Photo ... done (1.461s)
Installing Formulator ... done (1.489s)
Installing ZSQLMethods ... done (0.031s)
Installing ZMySQLDA ... done (0.805s)
Installing ZSQLCatalog ... done (0.232s)
Installing ZMailIn ... done (0.167s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.111s)
Installing MailHost ... done (0.262s)
Installing PageTemplates ... done (0.128s)
Installing PythonScripts ... done (0.150s)
Installing ExternalMethod ... done (0.261s)
Installing iHotfix ... done (0.054s)
Installing Localizer ... done (0.169s)
Installing TimerService ... done (0.345s)
Installing CMFCore ... done (0.193s)
Installing CMFDefault ... done (0.087s)
Installing CMFTopic ... done (0.147s)
Installing DCWorkflow ... done (0.230s)
Installing CMFCalendar ... done (0.391s)
Installing CMFPhoto ... done (0.139s)
Installing BTreeFolder2 ... done (0.183s)
Installing CMFReportTool ... done (3.032s)
Installing CMFMailIn ... done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.119s)
Installing PluggableAuthService ... done (0.069s)
Installing ERP5Security ... done (0.041s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.167s)
Installing ERP5Catalog ... done (0.261s)
Installing ERP5Type ... done (0.211s)
Installing ERP5Form ... done (8.645s)
Installing ERP5SyncML ... done (0.860s)
Installing CMFCategory ... done (0.111s)
Installing ERP5 ... done (0.084s)
Installing ERP5OOo ... done (0.167s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ... done (157.303s)
Adding erp5_base business template ... done (50.418s)
Logout ... 
done (272.725s)
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.
after_method_id and failed activities.
----------------------------------------------------------------------
Ran 65 tests in 444.818s

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.242s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.024s)
Installing Photo ... done (0.196s)
Installing Formulator ... done (1.141s)
Installing ZSQLMethods ... done (0.015s)
Installing ZMySQLDA ... done (0.066s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
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.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.015s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.205s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.610s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.055s)
Installing ERP5Catalog ... done (0.021s)
Installing ERP5Type ... done (0.024s)
Installing ERP5Form ... done (3.161s)
Installing ERP5SyncML ... done (0.064s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ... done (66.631s)
Logout ... 
done (108.483s)
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 117.166s

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.200s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.082s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.017s)
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 iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.014s)
Installing BTreeFolder2 ... done (0.015s)
Installing CMFReportTool ... done (0.436s)
Installing CMFMailIn ... done (0.012s)
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 ... done (0.051s)
Installing ERP5Catalog ... done (0.019s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.889s)
Installing ERP5SyncML ... done (0.065s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.024s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... done (67.827s)
Adding erp5_base business template ... done (25.039s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'
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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 234, 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 124, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, 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 155.256s

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.248s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.032s)
Installing Formulator ... done (1.076s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.014s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.014s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.437s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.016s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.946s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... done (72.958s)
Adding erp5_base business template ... done (21.867s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

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... CreateCurrencies
  Playing step... CreateEntities
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateCurrencies
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateCurrencies
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateCurrencies
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateCurrencies
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateCurrencies
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateCurrencies
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateEntities
  Playing step... CreateCurrencies
  Playing step... CreateAccountsE
Starting New Sequence 1... 
  Playing step... CreateCurrencies
  Playing step... CheckAcquisitionE
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 1049, in test_AccountingPeriod
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
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 1095, in test_AccountingPeriodNotStoppedTransactions
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, 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 1113, in test_AccountingPeriodOtherSections
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, 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 1076, in test_AccountingPeriodRefusesWrongDateTransactionValidation
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Transaction validation and accounts
----------------------------------------------------------------------
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 1188, in test_AccountingTransactionValidationAccounts
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Transaction validation and balance
----------------------------------------------------------------------
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 1201, in test_AccountingTransactionValidationBalanced
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Transaction validation and currency
----------------------------------------------------------------------
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 1177, in test_AccountingTransactionValidationCurrency
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Transaction validation and dates
----------------------------------------------------------------------
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 1153, in test_AccountingTransactionValidationDate
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Transaction validation and payment
----------------------------------------------------------------------
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 1212, in test_AccountingTransactionValidationPayment
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Transaction validation removes empty lines
----------------------------------------------------------------------
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 1224, in test_AccountingTransactionValidationRemoveEmptyLines
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Transaction validation and section
----------------------------------------------------------------------
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 1166, in test_AccountingTransactionValidationSection
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

======================================================================
ERROR: Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
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 1144, in test_Acquisition
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 609, in stepCheckAcquisition
    accounting_module = portal.accounting_module
AttributeError: accounting_module

======================================================================
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 1134, in test_MirrorAccounts
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, 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 1035, in test_MultiCurrencyInvoice
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, 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 246, in stepCreateAccounts
    receivable = self.getAccountModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'

----------------------------------------------------------------------
Ran 14 tests in 119.845s

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.243s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.125s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.051s)
Installing ZSQLCatalog ... done (0.035s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.014s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.447s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.959s)
Installing ERP5SyncML ... done (0.062s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... done (83.117s)
Adding erp5_base business template ... done (20.206s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'
EEEEEEEEE
======================================================================
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 68, in __call__
    self.setUp()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: This test was created for the following bug:
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: Invoice Rule should not be applied on invoice lines created from    Packing List.
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: Delivery Rule should not be applied on packing list lines created    from Order.
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: Checks that editing a Packing List Line still creates a correct
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: Checks that deleting a Packing List Line still creates a correct
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: Checks that adding a Packing List Line still creates a correct
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: Change the quantity of a Invoice Line,
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

======================================================================
ERROR: Change the start_date of a Invoice Line,
----------------------------------------------------------------------
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 234, 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/testOrder.py", line 93, in afterSetUp
    self.createCategories()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 111, 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: 'gap'

----------------------------------------------------------------------
Ran 9 tests in 134.148s

FAILED (errors=9)
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.299s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.021s)
Installing Photo ... done (0.274s)
Installing Formulator ... done (1.102s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.066s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.022s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.036s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... done (0.502s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.997s)
Installing ERP5SyncML ... done (0.064s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... done (80.815s)
Adding erp5_base business template ... done (22.730s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

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...E
Starting New Option Pricing Case 1...
  Creating fake product...
  Creating supply line...EE
======================================================================
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 257, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 312, in test_02_getVariationRangeCategoryList
    self.genericTest('CheckGetVariationRangeCategoryList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 332, in test_03_getVariationRangeCategoryItemList
    self.genericTest('CheckGetVariationRangeCategoryItemList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 351, in test_04_getVariationCategoryList
    self.genericTest('CheckGetVariationCategoryList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 376, in test_05_getVariationCategoryList
    self.genericTest('CheckGetVariationCategoryListWithoutOmit')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 394, in test_06_getVariationCategoryItemList
    self.genericTest('CheckGetVariationCategoryItemList')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 413, in test_07_getVariationCategoryItemList
    self.genericTest('CheckGetVariationCategoryItemListWithoutOmit')
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 452, 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 155, in stepCreateResource
    resource_module = self.portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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_getPrice (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 568, in test_09_getPrice
    supply_line = product.newContent(
  File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
    is_indexable=is_indexable
  File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
    raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Sale Supply Line

======================================================================
ERROR: test_10_getPriceWithOptions (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 600, in test_10_getPriceWithOptions
    supply_line = product.newContent(
  File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
    is_indexable=is_indexable
  File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
    raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Sale Supply Line

======================================================================
ERROR: test_11_getPriceWithDestination (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 677, in test_11_getPriceWithDestination
    supply_module = self.portal.getDefaultModule(self.supply_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Supply

----------------------------------------------------------------------
Ran 11 tests in 303.589s

FAILED (errors=11)
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.215s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (1.129s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.025s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.012s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.015s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... done (0.477s)
Installing CMFMailIn ... done (0.011s)
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 ... done (0.051s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.743s)
Installing ERP5SyncML ... done (0.065s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.018s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ... done (73.223s)
Adding erp5_base business template ... done (21.846s)
Logout ... 
done (159.031s)
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 .
Interactions, Test that the private accessor is called .
Interactions, Test that the private accessor is called, when using an Acquired Property .
----------------------------------------------------------------------
Ran 12 tests in 179.420s

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.192s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.153s)
Installing Formulator ... done (1.071s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.206s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.568s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.021s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.025s)
Installing ERP5Form ... done (2.867s)
Installing ERP5SyncML ... done (0.066s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ... done (74.403s)
Adding erp5_base business template ... done (20.404s)
Adding erp5_trade business template ... done (168.050s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'
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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 234, 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 133, in afterSetUp
    self.createItemList()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 241, in createItemList
    item_module = self.getItemModule()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 111, in getItemModule
    return self.getPortal().getDefaultModule(portal_type=self.item_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 427.024s

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 (11.370s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.140s)
Installing Photo ... done (0.428s)
Installing Formulator ... done (1.530s)
Installing ZSQLMethods ... done (0.035s)
Installing ZMySQLDA ... done (0.958s)
Installing ZSQLCatalog ... done (0.525s)
Installing ZMailIn ... done (0.165s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.131s)
Installing MailHost ... done (0.229s)
Installing PageTemplates ... done (0.127s)
Installing PythonScripts ... done (0.126s)
Installing ExternalMethod ... done (0.091s)
Installing iHotfix ... done (0.115s)
Installing Localizer ... done (0.066s)
Installing TimerService ... done (0.106s)
Installing CMFCore ... done (0.185s)
Installing CMFDefault ... done (0.197s)
Installing CMFTopic ... done (0.108s)
Installing DCWorkflow ... done (0.128s)
Installing CMFCalendar ... done (0.352s)
Installing CMFPhoto ... done (0.089s)
Installing BTreeFolder2 ... done (0.076s)
Installing CMFReportTool ... done (2.246s)
Installing CMFMailIn ... done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.144s)
Installing PluggableAuthService ... done (0.256s)
Installing ERP5Security ... done (0.080s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.466s)
Installing ERP5Catalog ... done (0.236s)
Installing ERP5Type ... done (0.455s)
Installing ERP5Form ... done (6.227s)
Installing ERP5SyncML ... done (1.242s)
Installing CMFCategory ... done (0.226s)
Installing ERP5 ... done (0.185s)
Installing ERP5OOo ... done (0.147s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... done (118.874s)
Adding erp5_base business template ... done (55.541s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

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 299, in test_01_SearchPredidateListWithNoTest
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 119, 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 306, in test_02_SearchPredidateListWithTest
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 119, 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 313, in test_03_GenerateMappedValue
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 119, 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 332, in test_04_GenerateMappedValueWithRanges
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 119, 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 362, in test_05_GenerateMappedValueWithVariation
    self.createData()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 119, in createData
    if resource_module.hasContent('1'):
AttributeError: 'NoneType' object has no attribute 'hasContent'

----------------------------------------------------------------------
Ran 5 tests in 188.579s

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.256s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.071s)
Installing Formulator ... done (1.143s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.468s)
Installing CMFMailIn ... done (0.017s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.024s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.744s)
Installing ERP5SyncML ... done (0.063s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.017s)
Installing ERP5OOo ... done (0.028s)

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

Rename Category .
Rename Category Tree .
Rename Related Object .
Rename Object With a related Sub Object .
Rename Membership Criterion Category .
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 .
----------------------------------------------------------------------
Ran 8 tests in 154.308s

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.145s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.022s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.158s)
Installing ZSQLMethods ... done (0.035s)
Installing ZMySQLDA ... done (0.263s)
Installing ZSQLCatalog ... done (0.100s)
Installing ZMailIn ... done (0.184s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.021s)
Installing MailHost ... done (0.102s)
Installing PageTemplates ... done (0.086s)
Installing PythonScripts ... done (0.067s)
Installing ExternalMethod ... done (0.042s)
Installing iHotfix ... done (0.032s)
Installing Localizer ... done (0.057s)
Installing TimerService ... done (0.039s)
Installing CMFCore ... done (0.056s)
Installing CMFDefault ... done (0.093s)
Installing CMFTopic ... done (0.021s)
Installing DCWorkflow ... done (0.038s)
Installing CMFCalendar ... done (0.084s)
Installing CMFPhoto ... done (0.082s)
Installing BTreeFolder2 ... done (0.021s)
Installing CMFReportTool ... done (0.975s)
Installing CMFMailIn ... done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.044s)
Installing PluggableAuthService ... done (0.071s)
Installing ERP5Security ... done (0.026s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.130s)
Installing ERP5Catalog ... done (0.069s)
Installing ERP5Type ... done (0.098s)
Installing ERP5Form ... done (5.339s)
Installing ERP5SyncML ... done (0.311s)
Installing CMFCategory ... done (0.055s)
Installing ERP5 ... done (0.057s)
Installing ERP5OOo ... done (0.084s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... done (82.939s)
Adding erp5_base business template ... done (30.134s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrderE.
Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CheckDeliveryBuilderPresenceE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... Tic
  Playing step... CreateOrderE
======================================================================
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 967, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 996, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1026, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1081, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1152, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1191, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1250, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1308, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1338, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1363, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1487, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1547, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1691, 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 734, in stepCheckDeliveryBuilderPresence
    self.delivery_builder_id)
AttributeError: sale_packing_list_builder

======================================================================
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 1730, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

----------------------------------------------------------------------
Ran 15 tests in 187.432s

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 (7.451s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.089s)
Installing Photo ... done (0.156s)
Installing Formulator ... done (1.332s)
Installing ZSQLMethods ... done (0.018s)
Installing ZMySQLDA ... done (0.133s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.111s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.139s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.091s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.498s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.073s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.867s)
Installing ERP5SyncML ... done (0.082s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... done (54.297s)
Adding erp5_base business template ... done (21.077s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrderE
======================================================================
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 612, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 630, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 651, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 670, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 692, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 714, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 738, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 760, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 782, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 804, 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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
ERROR: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (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 836, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
    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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
ERROR: test_12_PackingListLineChangeResource (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 855, in test_12_PackingListLineChangeResource
    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 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

----------------------------------------------------------------------
Ran 12 tests in 95.910s

FAILED (errors=12)
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.201s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.021s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.136s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
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 iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.019s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.485s)
Installing CMFMailIn ... done (0.013s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.023s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.906s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... done (59.459s)
Adding erp5_base business template ... done (21.835s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

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 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 96.514s

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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.032s)
Installing Formulator ... done (1.114s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
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.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.017s)
Installing BTreeFolder2 ... done (0.015s)
Installing CMFReportTool ... done (0.466s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.811s)
Installing ERP5SyncML ... done (0.064s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.025s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... done (50.450s)
Adding erp5_base business template ... done (17.466s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

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 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 83.580s

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.161s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.035s)
Installing Formulator ... done (1.107s)
Installing ZSQLMethods ... done (0.019s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
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.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.022s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.451s)
Installing CMFMailIn ... done (0.017s)
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 ... done (0.050s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.023s)
Installing ERP5Form ... done (2.763s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.020s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_2007b7d0ea09f77195204bf0c30be51b ERP5 Site ... done (48.936s)
Adding erp5_base business template ... done (21.619s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

Starting New Sequence 1... 
  Playing step... CreateOrganisationList
  Playing step... CreateOrderE
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 1623, 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/testOrder.py", line 213, in stepCreateOrder
    order_module = portal.getDefaultModule(portal_type=self.order_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModuleId
    raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Sale Order

======================================================================
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 1650, 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 158, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 84.773s

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.184s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.035s)
Installing Formulator ... done (1.125s)
Installing ZSQLMethods ... done (0.014s)
Installing ZMySQLDA ... done (0.053s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
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 iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.014s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... done (0.426s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.924s)
Installing ERP5SyncML ... done (0.066s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... done (49.399s)
Adding erp5_base business template ... done (18.942s)
Adding erp5_pdm business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, 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 3932, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3866, 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 1788, in install
    obj = p.unrestrictedTraverse(path[:-1])
  File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
    o=object[name]
  File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
    raise KeyError, key
KeyError: 'Transformation Sourcing Rule'

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 182, 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 139, in stepCreateNotVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 314, 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 158, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 453, 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 158, in stepCreateVariatedResource
    resource_module = portal.getDefaultModule(self.resource_portal_type)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 721, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, 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 84.243s

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.159s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.187s)
Installing ZSQLMethods ... done (0.012s)
Installing ZMySQLDA ... done (0.062s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
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.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.021s)
Installing BTreeFolder2 ... done (0.019s)
Installing CMFReportTool ... done (0.482s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.773s)
Installing ERP5SyncML ... done (0.064s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ... done (57.419s)
Adding erp5_base business template ... done (20.238s)
Logout ... 
done (104.289s)
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... AddCareerStepInAnotherOrganisation
  Playing step... CheckCareerSubordinationF
======================================================================
FAIL: 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 750, 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 688, in stepCheckCareerSubordination
    old_organisation.getRelativeUrl() )
AssertionError: 'organisation_module/4' != 'organisation_module/3'

----------------------------------------------------------------------
Ran 3 tests in 154.709s

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.244s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.080s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.052s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.475s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.825s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.020s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... done (51.193s)
Adding erp5_base business template ... done (18.327s)
Logout ... 
done (95.883s)
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.
Starting New Sequence 1... 
  Playing step... CreateTempClass
  Playing step... CheckTempClassPortalType
  Playing step... SetObjectDefinedProperty
  Playing step... CheckDefinedPropertySaved
  Playing step... CheckGetDefinedProperty
  Playing step... SetObjectNotDefinedProperty
  Playing step... CheckNotDefinedPropertySaved
  Playing step... CheckGetNotDefinedProperty
  Playing step... SetObjectNotRelatedProperty
  Playing step... CheckNotRelatedPropertySaved
  Playing step... CheckGetNotRelatedPropertyF
Starting New Sequence 1... 
  Playing step... CreateObject
  Playing step... CheckEditMethod
  Playing step... SetEditProperty
  Playing step... CheckEditMethodF
======================================================================
FAIL: test_06_getPropertyOnTempClass (testBase.TestBase)
----------------------------------------------------------------------
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/testBase.py", line 766, in test_06_getPropertyOnTempClass
    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/testBase.py", line 741, in stepCheckGetNotRelatedProperty
    object_instance.getProperty(
AssertionError: 'a_great_index' != None

======================================================================
FAIL: test_07_setEditProperty (testBase.TestBase)
----------------------------------------------------------------------
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/testBase.py", line 803, in test_07_setEditProperty
    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/testBase.py", line 779, in stepCheckEditMethod
    self.assertEquals(old_edit_method, edit_method)
AssertionError: <bound method ImplicitAcquirerWrapper.(?) of <Organisation at /erp5_portal_727747cf82e06a68e4b85b45326f6050/organisation_module/12>> != "now this object is 'read only !!!'"

----------------------------------------------------------------------
Ran 7 tests in 138.674s

FAILED (failures=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.215s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.032s)
Installing Formulator ... done (1.154s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
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.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.435s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.023s)
Installing ERP5Form ... done (2.773s)
Installing ERP5SyncML ... done (0.107s)
Installing CMFCategory ... done (0.019s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.020s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... done (51.710s)
Adding erp5_csv_style business template ... done (2.458s)
Adding erp5_pdf_style business template ... done (2.794s)
Logout ... 
done (70.799s)
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.
Test Business Template With Portal Types 
Starting New Sequence 1... 
  Playing step... CreatePortalType
  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
  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.
----------------------------------------------------------------------
Ran 20 tests in 410.324s

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.199s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.032s)
Installing Formulator ... done (1.093s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.049s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... done (0.557s)
Installing CMFMailIn ... done (0.039s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.184s)
Installing PluggableAuthService ... done (0.080s)
Installing ERP5Security ... done (0.059s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.188s)
Installing ERP5Catalog ... done (0.051s)
Installing ERP5Type ... done (0.079s)
Installing ERP5Form ... done (2.805s)
Installing ERP5SyncML ... done (0.312s)
Installing CMFCategory ... done (0.047s)
Installing ERP5 ... done (0.038s)
Installing ERP5OOo ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... done (62.398s)
Logout ... 
done (74.758s)
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 95.098s

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.157s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.062s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.028s)
Installing PageTemplates ... done (0.015s)
Installing PythonScripts ... done (0.016s)
Installing ExternalMethod ... done (0.027s)
Installing iHotfix ... done (0.015s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.426s)
Installing CMFMailIn ... done (0.011s)
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 ... done (0.050s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.901s)
Installing ERP5SyncML ... done (0.066s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.020s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... done (54.807s)
Adding erp5_base business template ... done (37.234s)
Logout ... 
done (114.832s)
Ran Unit test of ERP5Type
.............
----------------------------------------------------------------------
Ran 13 tests in 124.292s

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.150s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.161s)
Installing ZSQLMethods ... done (0.013s)
Installing ZMySQLDA ... done (0.055s)
Installing ZSQLCatalog ... done (0.033s)
Installing ZMailIn ... done (0.016s)
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 iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.513s)
Installing CMFMailIn ... done (0.017s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.041s)
Installing PluggableAuthService ... done (0.020s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.799s)
Installing ERP5SyncML ... done (0.062s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.023s)
Installing ERP5OOo ... done (0.042s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e ERP5 Site ... done (47.361s)
Adding erp5_base business template ... done (19.975s)
Adding erp5_trade business template ... done (88.211s)
Logout ... 
done (182.878s)
Ran Unit test of XMLMatrix

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

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.217s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.021s)
Installing Photo ... done (0.034s)
Installing Formulator ... done (1.133s)
Installing ZSQLMethods ... done (0.014s)
Installing ZMySQLDA ... done (0.050s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.020s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.013s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.466s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.019s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.774s)
Installing ERP5SyncML ... done (0.070s)
Installing CMFCategory ... done (0.015s)
Installing ERP5 ... done (0.017s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... done (53.202s)
Adding erp5_base business template ... done (22.782s)
Logout ... 
done (103.303s)
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... SetObjectBadTypedProperty
  Playing step... CreatePropertyTypeValidity
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintFailed
Starting New Sequence 6... 
  Playing step... CreateObject
  Playing step... SetObjectIntTitle
  Playing step... CreatePropertyTypeValidity
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 7... 
  Playing step... CreateObject
  Playing step... SetObjectBadTypedProperty
  Playing step... CreatePropertyTypeValidity
  Playing step... CallFixConsistency
  Playing step... CheckIfConstraintFailed
  Playing step... CallCheckConsistency
  Playing step... CheckIfConstraintSucceeded
Starting New Sequence 8... 
  Playing step... CreateObject
  Playing step... SetObjectIntLocalProperty
  Playing step... CreatePropertyTypeValidity
  Playing step... CallFixConsistency
  Playing step... CheckIfConstraintFailed
  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 144.566s

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.155s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.032s)
Installing Formulator ... done (1.045s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.017s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.012s)
Installing DCWorkflow ... done (0.014s)
Installing CMFCalendar ... done (0.040s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.439s)
Installing CMFMailIn ... done (0.011s)
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 ... done (0.050s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.020s)
Installing ERP5Form ... done (2.782s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ... done (57.277s)
Adding erp5_base business template ... done (23.095s)
Logout ... 
done (104.162s)
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 126.660s

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.221s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.119s)
Installing ZSQLMethods ... done (0.015s)
Installing ZMySQLDA ... done (0.066s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
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 iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
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.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.436s)
Installing CMFMailIn ... done (0.011s)
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 ... done (0.051s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.024s)
Installing ERP5Form ... done (2.932s)
Installing ERP5SyncML ... done (0.064s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.020s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... done (59.194s)
Adding erp5_base business template ... done (23.241s)
Logout ... 
done (113.805s)
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 ..
Search Folder With Non Ascii Character .
Search Folder With Dynamic Related Key .
----------------------------------------------------------------------
Ran 20 tests in 179.643s

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.193s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.025s)
Installing Formulator ... done (1.092s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.015s)
Installing ExternalMethod ... done (0.027s)
Installing iHotfix ... done (0.015s)
Installing Localizer ... done (0.019s)
Installing TimerService ... done (0.018s)
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.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.426s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.913s)
Installing ERP5SyncML ... done (0.063s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.024s)

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

 Test enabling preferences.
 Test methods on portal_preference.
 Test getPreference.
 Test setting preferences.
 Test different users preferences are independants.
----------------------------------------------------------------------
Ran 5 tests in 88.484s

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.154s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.116s)
Installing ZSQLMethods ... done (0.012s)
Installing ZMySQLDA ... done (0.054s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.039s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... done (0.441s)
Installing CMFMailIn ... done (0.012s)
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 ... done (0.050s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.885s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ... done (59.645s)
Adding erp5_base business template ... done (24.113s)
Logout ... 
done (114.422s)
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 201.749s

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.139s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.080s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.020s)
Installing iHotfix ... done (0.011s)
Installing Localizer ... done (0.016s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.022s)
Installing CMFDefault ... done (0.015s)
Installing CMFTopic ... done (0.014s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.432s)
Installing CMFMailIn ... done (0.011s)
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 ... done (0.054s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.024s)
Installing ERP5Form ... done (2.763s)
Installing ERP5SyncML ... done (0.063s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.020s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ... done (62.481s)
Adding erp5_base business template ... done (23.041s)
Logout ... 
done (122.749s)
Ran Unit test of Predicates

Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... SetDocumentStoreverGroupMembership
  Playing step... CreateRegionFrancePredicate
  Playing step... AssertPredicateTrue
  Playing step... CreateGroupStoreverPredicate
  Playing step... AssertPredicateTrue
  Playing step... CreateGroupStoreverRegionFrancePredicate
  Playing step... AssertPredicateTrue
  Playing step... SetDocumentGermanyRegionMembership
  Playing step... AssertPredicateFalse
  Playing step... CreateRegionFrancePredicate
  Playing step... AssertPredicateFalse.
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... CreateEmptyPredicate
  Playing step... AssertPredicateTrue
  Playing step... CreateAlwaysFalsePredicate
  Playing step... AssertPredicateFalse..
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... SetDocumentStoreverGroupMembership
  Playing step... CreateRegionFrancePredicate
  Playing step... SaveFirstPredicate
  Playing step... CreateGroupStoreverPredicate
  Playing step... MergePredicates
  Playing step... AssertPredicateTrue
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentGermanyRegionMembership
  Playing step... SetDocumentStoreverGroupMembership
  Playing step... CreateRegionFrancePredicate
  Playing step... SaveFirstPredicate
  Playing step... CreateGroupStoreverPredicate
  Playing step... MergePredicates
  Playing step... AssertPredicateFalse.
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... CreateRegionFrancePredicate
  Playing step... SaveFirstPredicate
  Playing step... CreatePredicateTrueScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... MergePredicates
  Playing step... AssertPredicateTrue
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... CreateRegionFrancePredicate
  Playing step... SaveFirstPredicate
  Playing step... CreatePredicateFalseScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... MergePredicates
  Playing step... AssertPredicateFalse
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... CreatePredicateFalseScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... SaveFirstPredicate
  Playing step... CreateRegionFrancePredicate
  Playing step... MergePredicates
  Playing step... AssertPredicateFalse
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... CreatePredicateFalseScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... SaveFirstPredicate
  Playing step... CreatePredicateTrueScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... MergePredicates
  Playing step... AssertPredicateFalse
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... CreatePredicateTrueScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... SaveFirstPredicate
  Playing step... CreatePredicateFalseScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... MergePredicates
  Playing step... AssertPredicateFalse.
Starting New Sequence 1... 
  Playing step... CreateDocument
  Playing step... SetDocumentFranceRegionMembership
  Playing step... CreateRegionFrancePredicate
  Playing step... AssertPredicateTrue
  Playing step... CreatePredicateTrueScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... AssertPredicateTrue
  Playing step... CreateRegionFrancePredicateTruePredicate
  Playing step... AssertPredicateTrue
  Playing step... CreatePredicateFalseScript
  Playing step... CreateTestMethodIdPredicate
  Playing step... AssertPredicateFalse
  Playing step... CreateRegionFrancePredicateFalsePredicate
  Playing step... AssertPredicateFalse.
----------------------------------------------------------------------
Ran 6 tests in 134.755s

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.234s)
Traceback (most recent call last):
  File "/home/seb/zope/Products/ERP5Type/tests/runUnitTest.py", line 132, in ?
    result = runUnitTestList(test_list=test_list)
  File "/home/seb/zope/Products/ERP5Type/tests/runUnitTest.py", line 116, in runUnitTestList
    m = __import__(test_module)
ImportError: No module named testERP5Security


More information about the Erp5-report mailing list