[Erp5-report] ERP5 Unit Test

seb at nexedi.com seb at nexedi.com
Sat Aug 12 16:43:49 CEST 2006


Date : 2006-08-12

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

Ran Unit test of Alarm
Ran 12 tests in 275.925s
OK

Ran 14 tests in 780.567s
FAILED (errors=12)

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

Ran Unit test of Amount
Ran 1 test in 230.631s
FAILED (failures=1)

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

Ran 4 tests in 495.146s
FAILED (errors=4)

Ran Unit test of Resource
Ran 11 tests in 424.465s
OK

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

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

Ran Unit test of Domain Tool
Ran 5 tests in 322.993s
OK

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

Ran Unit test of Order
Ran 15 tests in 2858.698s
OK

Ran Unit test of Packing List
Ran 12 tests in 4022.327s
FAILED (failures=2)

Ran Unit test of Transformation
Ran 1 test in 1199.841s
OK

Ran Unit test of Production Order
Ran 3 tests in 729.435s
OK

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

Ran Unit test of Tests getInventory methods.
Ran 8 tests in 2357.682s
OK

Ran Unit test of Inventory Module
Ran 4 tests in 8834.152s
OK

Ran Unit test of ERP5 HR
Ran 3 tests in 247.417s
OK

Ran Unit test of Base
Ran 8 tests in 573.233s
FAILED (failures=2)

Ran Unit test of Business Template
Ran 30 tests in 4391.571s
OK

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

Ran Unit test of ERP5Type
Ran 15 tests in 543.875s
OK

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

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

Ran Unit test of CMFCategory
Ran 20 tests in 480.135s
OK

Ran Unit test of ERP5Catalog
Ran 21 tests in 356.544s
OK

Ran Unit test of Portal Preference
Ran 6 tests in 238.829s
OK

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

Ran Unit test of Predicates
Ran 6 tests in 95.404s
OK

Ran 5 tests in 142.563s
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 (11.104s)
/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.158s)
Installing Photo ... done (0.269s)
Installing Formulator ... done (1.507s)
Installing ZSQLMethods ... done (0.067s)
Installing ZMySQLDA ... done (0.657s)
Installing ZSQLCatalog ... done (0.115s)
Installing ZMailIn ... done (0.075s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.030s)
Installing MailHost ... done (0.135s)
Installing PageTemplates ... done (0.044s)
Installing PythonScripts ... done (0.050s)
Installing ExternalMethod ... done (0.055s)
Installing iHotfix ... done (0.040s)
Installing Localizer ... done (0.058s)
Installing TimerService ... done (0.071s)
Installing CMFCore ... done (0.102s)
Installing CMFDefault ... done (0.045s)
Installing CMFTopic ... done (0.433s)
Installing DCWorkflow ... done (0.090s)
Installing CMFCalendar ... done (0.093s)
Installing CMFPhoto ... done (0.035s)
Installing BTreeFolder2 ... done (0.037s)
Installing CMFReportTool ... done (1.341s)
Installing CMFMailIn ... done (0.036s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.338s)
Installing PluggableAuthService ... done (0.095s)
Installing ERP5Security ... done (0.049s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.391s)
Installing ERP5Catalog ... done (0.273s)
Installing ERP5Type ... done (0.639s)
Installing ERP5Form ... done (10.301s)
Installing ERP5SyncML ... done (0.601s)
Installing CMFCategory ... done (0.047s)
Installing ERP5 ... done (0.041s)
Installing ZMySQLDDA ... done (0.065s)
Installing ERP5OOo ... done (0.093s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ... done (74.371s)
Adding erp5_base business template ... done (26.857s)
Logout ... 
done (124.530s)
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 182.870s

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.094s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.054s)
Installing ZSQLCatalog ... done (0.044s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.013s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.041s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.429s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.025s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.054s)
Installing ERP5Catalog ... done (0.021s)
Installing ERP5Type ... done (0.024s)
Installing ERP5Form ... done (2.878s)
Installing ERP5SyncML ... done (0.062s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ... done (46.501s)
Logout ... 
done (58.134s)
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 .
Test Every 5 Minutes .
----------------------------------------------------------------------
Ran 12 tests in 275.925s

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 (4.877s)
/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.220s)
Installing Photo ... done (0.176s)
Installing Formulator ... done (1.331s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.205s)
Installing ZSQLCatalog ... done (0.109s)
Installing ZMailIn ... done (0.068s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.030s)
Installing MailHost ... done (0.076s)
Installing PageTemplates ... done (0.036s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.032s)
Installing iHotfix ... done (0.030s)
Installing Localizer ... done (0.077s)
Installing TimerService ... done (0.087s)
Installing CMFCore ... done (0.082s)
Installing CMFDefault ... done (0.052s)
Installing CMFTopic ... done (0.030s)
Installing DCWorkflow ... done (0.045s)
Installing CMFCalendar ... done (0.092s)
Installing CMFPhoto ... done (0.044s)
Installing BTreeFolder2 ... done (0.107s)
Installing CMFReportTool ... done (1.021s)
Installing CMFMailIn ... done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.068s)
Installing PluggableAuthService ... done (0.083s)
Installing ERP5Security ... done (0.037s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.168s)
Installing ERP5Catalog ... done (0.085s)
Installing ERP5Type ... done (0.073s)
Installing ERP5Form ... done (3.973s)
Installing ERP5SyncML ... done (0.389s)
Installing CMFCategory ... done (0.055s)
Installing ERP5 ... done (0.033s)
Installing ZMySQLDDA ... done (0.071s)
Installing ERP5OOo ... done (0.116s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... done (70.818s)
Adding erp5_base business template ... done (30.319s)
Adding erp5_pdm business template ... done (18.130s)
Adding erp5_trade business template ... done (81.770s)
Adding erp5_accounting business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, 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 4044, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3978, 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 582, in install
    obj.manage_afterClone(obj)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'
.EEEEEEEEEEEE.
======================================================================
ERROR: test edition of matrix and rule.
----------------------------------------------------------------------
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/testAccountingRules.py", line 1431, in test_02_UpdateInvoiceTransactionRuleMatrix
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1453, in test_03_invoiceTransactionRule_getMatchingCell
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 217, in stepTic
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
ERROR: Simple Invoice.
----------------------------------------------------------------------
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/testAccountingRules.py", line 1481, in test_04_SimpleInvoice
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1512, in test_04b_SimpleInvoiceConfirm
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
ERROR: Simple Invoice, 2 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/testAccountingRules.py", line 1542, in test_04c_SimpleInvoiceTwoLines
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
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/testAccountingRules.py", line 1572, in test_04d_SimpleInvoiceTwoCells
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
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/testAccountingRules.py", line 1605, in test_05a_SimpleInvoiceReExpandAddLine
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1636, in test_05b_SimpleInvoiceReExpandEditLine
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1667, in test_05c_SimpleInvoiceReExpandDeleteLine
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1700, in test_05d_SimpleInvoiceReExpandCreateCell
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1755, in test_05e_SimpleInvoiceExpandManyTimes
    """, quiet=quiet )
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
ERROR: Multiple lines invoice.
----------------------------------------------------------------------
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/testAccountingRules.py", line 1769, in test_06_MultiLineInvoice
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

----------------------------------------------------------------------
Ran 14 tests in 780.567s

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 (7.498s)
/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.123s)
Installing Photo ... done (0.347s)
Installing Formulator ... done (1.379s)
Installing ZSQLMethods ... done (0.022s)
Installing ZMySQLDA ... done (0.335s)
Installing ZSQLCatalog ... done (0.110s)
Installing ZMailIn ... done (0.100s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.059s)
Installing MailHost ... done (0.104s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.038s)
Installing ExternalMethod ... done (0.031s)
Installing iHotfix ... done (0.027s)
Installing Localizer ... done (0.069s)
Installing TimerService ... done (0.141s)
Installing CMFCore ... done (0.080s)
Installing CMFDefault ... done (0.046s)
Installing CMFTopic ... done (0.021s)
Installing DCWorkflow ... done (0.042s)
Installing CMFCalendar ... done (0.109s)
Installing CMFPhoto ... done (0.137s)
Installing BTreeFolder2 ... done (0.030s)
Installing CMFReportTool ... done (1.114s)
Installing CMFMailIn ... done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.099s)
Installing PluggableAuthService ... done (0.085s)
Installing ERP5Security ... done (0.050s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.201s)
Installing ERP5Catalog ... done (0.226s)
Installing ERP5Type ... done (0.153s)
Installing ERP5Form ... done (5.119s)
Installing ERP5SyncML ... done (0.661s)
Installing CMFCategory ... done (0.055s)
Installing ERP5 ... done (0.046s)
Installing ZMySQLDDA ... done (0.081s)
Installing ERP5OOo ... done (0.152s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... done (83.001s)
Adding erp5_base business template ... done (32.424s)
Adding erp5_pdm business template ... done (17.520s)
Adding erp5_trade business template ... done (84.399s)
Adding erp5_accounting business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, 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 4044, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3978, 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 582, in install
    obj.manage_afterClone(obj)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'
EEEEEEEEEEEEEE
======================================================================
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 1052, in test_AccountingPeriod
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1098, in test_AccountingPeriodNotStoppedTransactions
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1116, in test_AccountingPeriodOtherSections
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1079, in test_AccountingPeriodRefusesWrongDateTransactionValidation
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1189, in test_AccountingTransactionValidationAccounts
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1202, in test_AccountingTransactionValidationBalanced
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1178, in test_AccountingTransactionValidationCurrency
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1156, in test_AccountingTransactionValidationDate
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1213, in test_AccountingTransactionValidationPayment
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1225, in test_AccountingTransactionValidationRemoveEmptyLines
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1167, in test_AccountingTransactionValidationSection
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1147, in test_Acquisition
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 610, in stepCheckAcquisition
    self.failUnless('Site Error' not in accounting_module.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/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 1137, in test_MirrorAccounts
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

======================================================================
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 1038, in test_MultiCurrencyInvoice
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
    self.failUnless('Site Error' not in account.view())
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
    return self()
  File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 104, in __call__
    method = _getViewFor(self)
  File "/usr/lib/zope/lib/python/Products/CMFCore/utils.py", line 213, in _getViewFor
    raise AccessControl_Unauthorized( 'No accessible views available for '
Unauthorized: No accessible views available for /erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd/account_module/1

----------------------------------------------------------------------
Ran 14 tests in 291.882s

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.238s)
/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.023s)
Installing Photo ... done (0.042s)
Installing Formulator ... done (1.189s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.071s)
Installing ZSQLCatalog ... done (0.031s)
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.010s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.011s)
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.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.498s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.014s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.060s)
Installing ERP5Catalog ... done (0.022s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.728s)
Installing ERP5SyncML ... done (0.065s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_0d7bd79f7d0b231461cc179eb8177e5b ERP5 Site ... done (47.769s)
Adding erp5_base business template ... done (18.841s)
Adding erp5_pdm business template ... done (10.978s)
Adding erp5_trade business template ... done (55.849s)
Adding erp5_apparel business template ... done (46.614s)
Logout ... 
done (228.158s)
Ran Unit test of Amount

Starting New Sequence 1... 
  Playing step... CreateAmount
  Playing step... CheckEmptyGetVariationPropertyDict
  Playing step... CheckEmptySetVariationPropertyDict
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... CreateAmount
  Playing step... SetAmountResource
  Playing step... CheckGetVariationPropertyDict
  Playing step... SetVariationPropertyDict
  Playing step... CheckGetVariationPropertyDictF
======================================================================
FAIL: test_01_variationProperty (testAmount.TestAmount)
----------------------------------------------------------------------
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/testAmount.py", line 237, in test_01_variationProperty
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAmount.py", line 172, in stepCheckGetVariationPropertyDict
    self.assertEquals(vpd[key], sequence.get('variation_property_dict')[key])
AssertionError: None != 'azertyuio'

----------------------------------------------------------------------
Ran 1 test in 230.631s

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.203s)
/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.030s)
Installing Formulator ... done (1.133s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
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.011s)
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.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.481s)
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 Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.057s)
Installing ERP5Catalog ... done (0.030s)
Installing ERP5Type ... done (0.522s)
Installing ERP5Form ... done (2.190s)
Installing ERP5SyncML ... done (0.046s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... done (48.464s)
Adding erp5_base business template ... done (18.438s)
Adding erp5_pdm business template ... done (11.046s)
Adding erp5_trade business template ... done (63.980s)
Adding erp5_apparel business template ... done (26.048s)
Adding erp5_accounting business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, 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 4044, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3978, 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 582, in install
    obj.manage_afterClone(obj)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRuleE
======================================================================
ERROR: Checks that a Simple Invoice is created from a Packing List
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 910, in test_01_SimpleInvoice
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 934, in test_02_TwoInvoicesFromTwoPackingList
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 963, in test_03_InvoiceEditAndInvoiceRule
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 982, in test_04_PackingListEditAndInvoiceRule
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 994, in test_05_InvoiceEditPackingListLine
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1013, in test_06_InvoiceDeletePackingListLine
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1032, in test_07_InvoiceAddPackingListLine
    self.playSequence(
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
ERROR: Change the quantity of a Invoice Line,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1074, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
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 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1104, in test_09_InvoiceChangeStartDate
    self.playSequence(sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 190, in stepCreateSaleInvoiceTransactionRule
    invoice_rule.deleteContent([x.getId()
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

----------------------------------------------------------------------
Ran 9 tests in 296.669s

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 (3.893s)
/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.107s)
Installing Photo ... done (0.388s)
Installing Formulator ... done (1.466s)
Installing ZSQLMethods ... done (0.081s)
Installing ZMySQLDA ... done (0.270s)
Installing ZSQLCatalog ... done (0.093s)
Installing ZMailIn ... done (0.060s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.018s)
Installing MailHost ... done (0.124s)
Installing PageTemplates ... done (0.032s)
Installing PythonScripts ... done (0.026s)
Installing ExternalMethod ... done (0.062s)
Installing iHotfix ... done (0.050s)
Installing Localizer ... done (0.082s)
Installing TimerService ... done (0.074s)
Installing CMFCore ... done (0.138s)
Installing CMFDefault ... done (0.095s)
Installing CMFTopic ... done (0.022s)
Installing DCWorkflow ... done (0.052s)
Installing CMFCalendar ... done (0.087s)
Installing CMFPhoto ... done (0.038s)
Installing BTreeFolder2 ... done (0.042s)
Installing CMFReportTool ... done (1.264s)
Installing CMFMailIn ... done (0.028s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.086s)
Installing PluggableAuthService ... done (0.065s)
Installing ERP5Security ... done (0.057s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.158s)
Installing ERP5Catalog ... done (0.174s)
Installing ERP5Type ... done (2.065s)
Installing ERP5Form ... done (3.210s)
Installing ERP5SyncML ... done (0.686s)
Installing CMFCategory ... done (0.054s)
Installing ERP5 ... done (0.057s)
Installing ZMySQLDDA ... done (0.087s)
Installing ERP5OOo ... done (0.159s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_a5cda8653174ac2532ca143c067402a9 ERP5 Site ... done (80.816s)
Adding erp5_base business template ... done (32.963s)
Adding erp5_pdm business template ... done (17.773s)
Adding erp5_trade business template ... done (80.595s)
Adding erp5_accounting business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, 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 4044, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3978, 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 582, in install
    obj.manage_afterClone(obj)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'
E
Cancelling active message ('', 'erp5_portal_a5cda8653174ac2532ca143c067402a9', 'portal_rules', 'default_invoice_transaction_rule').immediateReindexObject()
EEE
======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
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/testInvoiceVAT.py", line 455, in test_InvoiceTwoLinesWithSameResource
    ( currency, resource, receivable_account, vat_account,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 259, in _makeOnePackingList
    currency = self._makeCurrency()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 190, in _makeCurrency
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a5cda8653174ac2532ca143c067402a9/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
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/testInvoiceVAT.py", line 485, in test_InvoiceTwoLinesWithSameResourceDifferentDate
    ( currency, resource, receivable_account, vat_account,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 274, in _makeOnePackingList
    income_account=income_account )
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 212, in _makeSimpleInvoiceTransactionRule
    itr.manage_delObjects([x for x in itr.objectIds()])
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
ERROR: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
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/testInvoiceVAT.py", line 366, in test_SimpleInvoice
    ( currency, resource, receivable_account, vat_account,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 309, in _makeOneInvoice
    income_account=income_account )
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 212, in _makeSimpleInvoiceTransactionRule
    itr.manage_delObjects([x for x in itr.objectIds()])
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

======================================================================
ERROR: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
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/testInvoiceVAT.py", line 391, in test_SimpleInvoiceEmptyLines
    ( currency, resource, receivable_account, vat_account,
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 309, in _makeOneInvoice
    income_account=income_account )
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 212, in _makeSimpleInvoiceTransactionRule
    itr.manage_delObjects([x for x in itr.objectIds()])
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

----------------------------------------------------------------------
Ran 4 tests in 495.146s

FAILED (errors=4)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (7.667s)
/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.108s)
Installing Photo ... done (0.260s)
Installing Formulator ... done (1.513s)
Installing ZSQLMethods ... done (0.020s)
Installing ZMySQLDA ... done (0.229s)
Installing ZSQLCatalog ... done (0.111s)
Installing ZMailIn ... done (0.074s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.017s)
Installing MailHost ... done (0.165s)
Installing PageTemplates ... done (0.111s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.042s)
Installing iHotfix ... done (0.027s)
Installing Localizer ... done (0.042s)
Installing TimerService ... done (0.060s)
Installing CMFCore ... done (0.080s)
Installing CMFDefault ... done (0.040s)
Installing CMFTopic ... done (0.024s)
Installing DCWorkflow ... done (0.067s)
Installing CMFCalendar ... done (0.112s)
Installing CMFPhoto ... done (0.038s)
Installing BTreeFolder2 ... done (0.201s)
Installing CMFReportTool ... done (1.148s)
Installing CMFMailIn ... done (0.045s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.082s)
Installing PluggableAuthService ... done (0.074s)
Installing ERP5Security ... done (0.027s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.139s)
Installing ERP5Catalog ... done (0.143s)
Installing ERP5Type ... done (0.132s)
Installing ERP5Form ... done (4.575s)
Installing ERP5SyncML ... done (0.469s)
Installing CMFCategory ... done (0.055s)
Installing ERP5 ... done (0.111s)
Installing ZMySQLDDA ... done (0.108s)
Installing ERP5OOo ... done (0.196s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... done (79.562s)
Adding erp5_base business template ... done (30.522s)
Adding erp5_pdm business template ... done (16.926s)
Adding erp5_trade business template ... done (79.656s)
Adding erp5_apparel business template ... done (43.976s)
Logout ... 
done (298.542s)
Ran Unit test of Resource

Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationBaseCategoryList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryItemList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryListWithoutOmit.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemListWithoutOmit.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationPropertyList
  Playing step... CheckSetVariationPropertyList
  Playing step... CheckGetVariationPropertyList.
Starting New Pricing Case 0...
  Creating product...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 1...
  Creating product...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 2...
  Creating product...
  Creating supply line...
  Set additional_price on supply line with value 1...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 3...
  Creating product...
  Creating supply line...
  Set surcharge_ratio on supply line with value 0.5...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 4...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 5...
  Creating product...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.5...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 6...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.5...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 7...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 8...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set surcharge_ratio on supply line with value 1...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Creating supply line...
  Set base_price on supply line with value 5...
  Commit transaction...
  Tic...
  Check product price...
Starting New Pricing Case 9...
  Creating product...
  Creating supply line...
  Set discount_ratio on supply line with value 0.75...
  Creating supply line...
  Set surcharge_ratio on supply line with value 1...
  Creating supply line...
  Set exclusive_discount_ratio on supply line with value 0.25...
  Creating supply line...
  Set additional_price on supply line with value 3...
  Commit transaction...
  Tic...
  Check product price....
Starting New Option Pricing Case 1...
  Creating fake product...
  Creating supply line...
  Creating product...
  Creating supply line...
  Commit transaction...
  Tic...
  Check product price without option...
  Check product price with option: industrial_phase/phase1...
  Check product price with option: industrial_phase/phase2...
  Check product price with options: industrial_phase/phase1 industrial_phase/phase2....
  Creating generic fake supply ...
  Creating fake product 33...
  Creating fake node 11...
  Creating fake supply 11...
  Creating fake supply line 11...
  Creating fake node 12...
  Creating fake supply 12...
  Creating fake supply line 12...
  Creating fake node 13...
  Creating fake supply 13...
  Creating fake supply line 13...
  Creating generic fake supply line ...
  Creating fake product 34...
  Creating fake node 11...
  Creating fake supply 11...
  Creating fake supply line 11...
  Creating fake node 12...
  Creating fake supply 12...
  Creating fake supply line 12...
  Creating fake node 13...
  Creating fake supply 13...
  Creating fake supply line 13...
  Creating generic fake supply line ...
  Commit transaction...
  Tic...
  Check product AnotherFakeProduct33 with destination FakeNode3311
  Check product AnotherFakeProduct33 with destination FakeNode3312
  Check product AnotherFakeProduct33 with destination FakeNode3313
  Check product AnotherFakeProduct33 without destination
  Check product AnotherFakeProduct34 with destination FakeNode3411
  Check product AnotherFakeProduct34 with destination FakeNode3412
  Check product AnotherFakeProduct34 with destination FakeNode3413
  Check product AnotherFakeProduct34 without destination.
----------------------------------------------------------------------
Ran 11 tests in 424.465s

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 (6.225s)
/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.103s)
Installing Photo ... done (0.177s)
Installing Formulator ... done (1.263s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.227s)
Installing ZSQLCatalog ... done (0.084s)
Installing ZMailIn ... done (0.077s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.022s)
Installing MailHost ... done (0.072s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.057s)
Installing iHotfix ... done (0.017s)
Installing Localizer ... done (0.058s)
Installing TimerService ... done (0.074s)
Installing CMFCore ... done (0.063s)
Installing CMFDefault ... done (0.082s)
Installing CMFTopic ... done (0.021s)
Installing DCWorkflow ... done (0.081s)
Installing CMFCalendar ... done (0.101s)
Installing CMFPhoto ... done (0.023s)
Installing BTreeFolder2 ... done (0.034s)
Installing CMFReportTool ... done (1.290s)
Installing CMFMailIn ... done (0.037s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.058s)
Installing PluggableAuthService ... done (0.079s)
Installing ERP5Security ... done (0.050s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.149s)
Installing ERP5Catalog ... done (0.137s)
Installing ERP5Type ... done (1.360s)
Installing ERP5Form ... done (2.473s)
Installing ERP5SyncML ... done (0.752s)
Installing CMFCategory ... done (0.061s)
Installing ERP5 ... done (0.034s)
Installing ZMySQLDDA ... done (0.071s)
Installing ERP5OOo ... done (0.129s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ... done (68.776s)
Adding erp5_base business template ... done (27.114s)
Logout ... 
done (117.696s)
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 131.063s

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.019s)
Installing Photo ... done (0.030s)
Installing Formulator ... done (1.063s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.028s)
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.010s)
Installing ExternalMethod ... done (0.017s)
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.013s)
Installing CMFReportTool ... done (0.432s)
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 Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.021s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.817s)
Installing ERP5SyncML ... done (0.060s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ... done (46.840s)
Adding erp5_base business template ... done (18.169s)
Adding erp5_trade business template ... done (74.939s)
Adding erp5_pdm business template ... done (17.916s)
Adding erp5_accounting business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, 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 4044, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3978, 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 582, in install
    obj.manage_afterClone(obj)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'
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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 268, 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 831, in getDefaultModule
    return getattr(self, self.getDefaultModuleId(portal_type), None)
  File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 821, 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 287.035s

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 (4.848s)
/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.095s)
Installing Photo ... done (0.194s)
Installing Formulator ... done (1.372s)
Installing ZSQLMethods ... done (0.020s)
Installing ZMySQLDA ... done (0.287s)
Installing ZSQLCatalog ... done (0.083s)
Installing ZMailIn ... done (0.066s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.025s)
Installing MailHost ... done (0.099s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.041s)
Installing iHotfix ... done (0.021s)
Installing Localizer ... done (0.039s)
Installing TimerService ... done (0.061s)
Installing CMFCore ... done (0.082s)
Installing CMFDefault ... done (0.080s)
Installing CMFTopic ... done (0.024s)
Installing DCWorkflow ... done (0.082s)
Installing CMFCalendar ... done (0.074s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.021s)
Installing CMFReportTool ... done (1.147s)
Installing CMFMailIn ... done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.094s)
Installing PluggableAuthService ... done (0.069s)
Installing ERP5Security ... done (0.033s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.146s)
Installing ERP5Catalog ... done (0.144s)
Installing ERP5Type ... done (0.121s)
Installing ERP5Form ... done (4.235s)
Installing ERP5SyncML ... done (0.405s)
Installing CMFCategory ... done (0.062s)
Installing ERP5 ... done (0.034s)
Installing ZMySQLDDA ... done (0.057s)
Installing ERP5OOo ... done (0.110s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... done (65.511s)
Adding erp5_base business template ... done (26.114s)
Adding erp5_pdm business template ... done (11.190s)
Adding erp5_trade business template ... done (71.091s)
Adding erp5_apparel business template ... done (42.683s)
Logout ... 
done (264.608s)
Ran Unit test of Domain Tool

Search Predicate List With No Test .
Search Predicate List With Test .
Generate Mapped Value .
Generate Mapped Value With Ranges .
Generate Mapped Value With Variation .
----------------------------------------------------------------------
Ran 5 tests in 322.993s

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 (4.776s)
/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.095s)
Installing Photo ... done (0.161s)
Installing Formulator ... done (1.420s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.220s)
Installing ZSQLCatalog ... done (0.091s)
Installing ZMailIn ... done (0.065s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.017s)
Installing MailHost ... done (0.071s)
Installing PageTemplates ... done (0.041s)
Installing PythonScripts ... done (0.035s)
Installing ExternalMethod ... done (0.036s)
Installing iHotfix ... done (0.021s)
Installing Localizer ... done (0.045s)
Installing TimerService ... done (0.052s)
Installing CMFCore ... done (0.080s)
Installing CMFDefault ... done (0.061s)
Installing CMFTopic ... done (0.024s)
Installing DCWorkflow ... done (0.050s)
Installing CMFCalendar ... done (0.060s)
Installing CMFPhoto ... done (0.030s)
Installing BTreeFolder2 ... done (0.048s)
Installing CMFReportTool ... done (1.004s)
Installing CMFMailIn ... done (0.052s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.069s)
Installing PluggableAuthService ... done (0.134s)
Installing ERP5Security ... done (0.038s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.125s)
Installing ERP5Catalog ... done (0.149s)
Installing ERP5Type ... done (1.559s)
Installing ERP5Form ... done (2.543s)
Installing ERP5SyncML ... done (0.395s)
Installing CMFCategory ... done (0.096s)
Installing ERP5 ... done (0.156s)
Installing ZMySQLDDA ... done (0.057s)
Installing ERP5OOo ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 ERP5 Site ... done (68.285s)
Adding erp5_base business template ... done (30.744s)
Logout ... 
done (99.448s)
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 171.938s

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.240s)
/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.030s)
Installing Formulator ... done (1.071s)
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.018s)
Installing iHotfix ... done (0.011s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.023s)
Installing CMFReportTool ... done (0.508s)
Installing CMFMailIn ... done (0.013s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.023s)
Installing ERP5Security ... done (0.016s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.058s)
Installing ERP5Catalog ... done (0.021s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.596s)
Installing ERP5SyncML ... done (0.064s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... done (45.705s)
Adding erp5_base business template ... done (17.559s)
Adding erp5_pdm business template ... done (16.954s)
Adding erp5_trade business template ... done (70.575s)
Adding erp5_apparel business template ... done (41.256s)
Logout ... 
done (238.485s)
Ran Unit test of Order

Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVRCL
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... SetOrderLineResource
  Playing step... CheckOrderLineVRCL
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVRCL
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... SetOrderLineResource
  Playing step... CheckOrderLineVRCL.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVRCIL
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... SetOrderLineResource
  Playing step... CheckOrderLineVRCIL
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVRCIL
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... SetOrderLineResource
  Playing step... CheckOrderLineVRCIL..
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineVCIL
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineHalfVCL
  Playing step... Tic
  Playing step... CheckOrderLineVCIL.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineFullVCL
  Playing step... CheckOrderLineRange
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... CompleteOrderLineMatrix
  Playing step... Tic
  Playing step... CheckOrderLineCompleteMatrix
  Playing step... SetOrderLineHalfVCL
  Playing step... Tic
  Playing step... CheckOrderLineRange
  Playing step... CheckOrderLineCompleteMatrix
  Playing step... SetOrderLineEmptyVCL
  Playing step... Tic
  Playing step... CheckOrderLineEmptyMatrix
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineFullVCL
  Playing step... CheckOrderLineRange
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... CompleteOrderLineMatrix
  Playing step... Tic
  Playing step... CheckOrderLineCompleteMatrix
  Playing step... SetOrderLineHalfVCL
  Playing step... Tic
  Playing step... CheckOrderLineRange
  Playing step... CheckOrderLineCompleteMatrix
  Playing step... SetOrderLineEmptyVCL
  Playing step... Tic
  Playing step... CheckOrderLineRange
  Playing step... CheckOrderLineEmptyMatrix.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... CheckOrderLineDefaultValues
  Playing step... CheckOrderLineTotalQuantity
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... CheckOrderLineDefaultValues
  Playing step... CheckOrderLineTotalQuantity
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CheckOrderLineTotalQuantity.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... CheckOrderLineDefaultValues
  Playing step... CheckOrderLineTotalPrice
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... CheckOrderLineDefaultValues
  Playing step... CheckOrderLineTotalQuantity
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CheckOrderLineTotalPrice.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckOrderTotalQuantity
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... Tic
  Playing step... CheckOrderTotalQuantity
Starting New Sequence 3... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CheckOrderTotalQuantity
Starting New Sequence 4... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CheckOrderTotalQuantity
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrderLine
  Playing step... Tic
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... Tic
  Playing step... CheckOrderTotalQuantity.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckOrderTotalPrice
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... Tic
  Playing step... CheckOrderTotalPrice
Starting New Sequence 3... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CheckOrderTotalPrice
Starting New Sequence 4... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... Tic
  Playing step... CheckOrderTotalPrice.
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CheckOrderInitialState
  Playing step... CreateOrderLine
  Playing step... Tic
  Playing step... CheckOrderLineState
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... Tic
  Playing step... CheckOrderCellState
  Playing step... PlanOrder
  Playing step... Tic
  Playing step... CheckOrderPlanned
  Playing step... CheckOrderLineState
  Playing step... CheckOrderCellState.
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CheckOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineAcquisition
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CheckOrderCellAcquisition
  Playing step... Tic.
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckPortalMethod
Starting New Sequence 2... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... CheckOrderSimulation
  Playing step... PlanOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CancelOrder
  Playing step... Tic
  Playing step... Tic
  Playing step... CheckOrderSimulation
Starting New Sequence 3... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... PlanOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
Starting New Sequence 4... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
Starting New Sequence 5... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
Starting New Sequence 6... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation.
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ModifyOrderStartDate
  Playing step... CheckOrderSimulation
Starting New Sequence 2... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ModifyOrderLineStartDate
  Playing step... CheckOrderSimulation
Starting New Sequence 3... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ModifyOrderCellStartDate
  Playing step... CheckOrderSimulation.
Starting New Sequence 1... 
  Playing step... CheckDeliveryBuilderPresence
Starting New Sequence 2... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
Starting New Sequence 3... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
Starting New Sequence 4... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
Starting New Sequence 5... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
Starting New Sequence 6... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckDeliveryBuilding.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... Tic
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateVariatedResource
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... CheckDeliveryBuilding
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... Tic
  Playing step... CheckDeliveryBuilding.
----------------------------------------------------------------------
Ran 15 tests in 2858.698s

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 (8.904s)
/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.105s)
Installing Photo ... done (0.360s)
Installing Formulator ... done (1.386s)
Installing ZSQLMethods ... done (0.026s)
Installing ZMySQLDA ... done (0.271s)
Installing ZSQLCatalog ... done (0.101s)
Installing ZMailIn ... done (0.063s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.017s)
Installing MailHost ... done (0.114s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.185s)
Installing ExternalMethod ... done (0.036s)
Installing iHotfix ... done (0.020s)
Installing Localizer ... done (0.052s)
Installing TimerService ... done (0.072s)
Installing CMFCore ... done (0.084s)
Installing CMFDefault ... done (0.063s)
Installing CMFTopic ... done (0.030s)
Installing DCWorkflow ... done (0.039s)
Installing CMFCalendar ... done (0.083s)
Installing CMFPhoto ... done (0.036s)
Installing BTreeFolder2 ... done (0.030s)
Installing CMFReportTool ... done (1.089s)
Installing CMFMailIn ... done (0.017s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.157s)
Installing PluggableAuthService ... done (0.067s)
Installing ERP5Security ... done (0.035s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.149s)
Installing ERP5Catalog ... done (0.094s)
Installing ERP5Type ... done (2.069s)
Installing ERP5Form ... done (2.638s)
Installing ERP5SyncML ... done (0.561s)
Installing CMFCategory ... done (0.053s)
Installing ERP5 ... done (0.034s)
Installing ZMySQLDDA ... done (0.071s)
Installing ERP5OOo ... done (0.113s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... done (115.157s)
Adding erp5_base business template ... done (34.450s)
Adding erp5_pdm business template ... done (18.645s)
Adding erp5_trade business template ... done (84.414s)
Adding erp5_apparel business template ... done (47.628s)
Logout ... 
done (1144.875s)
Ran Unit test of Packing List

Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... DecreasePackingListLineQuantity
  Playing step... CheckPackingListIsCalculating
  Playing step... SplitAndDeferPackingList
  Playing step... Tic
  Playing step... CheckPackingListIsSolved
  Playing step... CheckPackingListSplitted.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... ChangePackingListDestination
  Playing step... CheckPackingListIsDivergentF
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... ChangePackingListStartDate
  Playing step... CheckPackingListIsCalculating
  Playing step... AcceptDecision
  Playing step... Tic
  Playing step... CheckPackingListIsSolved
  Playing step... CheckPackingListIsNotDivergent
  Playing step... CheckSimulationStartDateUpdated.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... CheckSimulationConnected
  Playing step... DeletePackingListLine
  Playing step... CheckPackingListIsNotDivergent
  Playing step... Tic
  Playing step... CheckSimulationDisconnected.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... ModifySimulationLineQuantity
  Playing step... Tic
  Playing step... CheckPackingListIsDiverged
  Playing step... AdoptPrevision
  Playing step... Tic
  Playing step... CheckPackingListIsNotDivergent
  Playing step... CheckPackingListIsSolved
  Playing step... CheckPackingListLineWithNewQuantityPrevision.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... ModifySimulationLineStartDate
  Playing step... Tic
  Playing step... CheckPackingListIsDiverged
  Playing step... AdoptPrevision
  Playing step... Tic
  Playing step... CheckPackingListIsSolved
  Playing step... CheckNewPackingListAfterStartDateAdopt.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... ModifySimulationLineStartDate
  Playing step... Tic
  Playing step... CheckPackingListIsDiverged
  Playing step... CheckPackingListIsDivergent
  Playing step... AdoptPrevision
  Playing step... Tic
  Playing step... CheckPackingListIsNotDivergent
  Playing step... CheckPackingListIsSolved
  Playing step... CheckNewPackingListAfterStartDateAdopt.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... AddPackingListContainer
  Playing step... AddPackingListContainerLine
  Playing step... SetContainerLineSmallQuantity
  Playing step... CheckPackingListIsNotPacked
  Playing step... SetContainerFullQuantity
  Playing step... Tic
  Playing step... CheckPackingListIsPacked.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... SetOrderLineFullVCL
  Playing step... CompleteOrderLineMatrix
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... AddPackingListContainer
  Playing step... AddPackingListContainerLine
  Playing step... SetContainerLineSmallQuantity
  Playing step... CheckPackingListIsNotPacked
  Playing step... SetContainerFullQuantity
  Playing step... Tic
  Playing step... CheckPackingListIsPacked.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... IncreasePackingListLineQuantity
  Playing step... CheckPackingListIsCalculating
  Playing step... SplitAndDeferPackingList
  Playing step... Tic
  Playing step... CheckPackingListIsSolved
  Playing step... CheckPackingListNotSplitted.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... DecreasePackingListLineQuantity
  Playing step... CheckPackingListIsCalculating
  Playing step... SplitAndDeferPackingList
  Playing step... Tic
  Playing step... CheckPackingListIsSolved
  Playing step... CheckPackingListSplitted
  Playing step... DecreasePackingListLineQuantity
  Playing step... CheckPackingListIsCalculating
  Playing step... SplitAndDeferPackingList
  Playing step... Tic
  Playing step... CheckNewPackingListIsDivergent
  Playing step... NewPackingListAdoptPrevision
  Playing step... Tic
  Playing step... CheckPackingListIsSolved
  Playing step... CheckPackingListSplittedTwoTimes.
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateNotVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValues
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... ConfirmOrder
  Playing step... Tic
  Playing step... CheckOrderSimulation
  Playing step... CheckDeliveryBuilding
  Playing step... CheckPackingListIsNotDivergent
  Playing step... CreateNotVariatedResource
  Playing step... ChangePackingListLineResource
  Playing step... CheckPackingListIsCalculating
  Playing step... Tic
  Playing step... CheckPackingListIsDivergentF
======================================================================
FAIL: 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 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 152, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError

======================================================================
FAIL: 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 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 152, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError

----------------------------------------------------------------------
Ran 12 tests in 4022.327s

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 (9.282s)
/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.103s)
Installing Photo ... done (0.276s)
Installing Formulator ... done (1.262s)
Installing ZSQLMethods ... done (0.026s)
Installing ZMySQLDA ... done (0.223s)
Installing ZSQLCatalog ... done (0.097s)
Installing ZMailIn ... done (0.080s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.032s)
Installing MailHost ... done (0.142s)
Installing PageTemplates ... done (0.035s)
Installing PythonScripts ... done (0.032s)
Installing ExternalMethod ... done (0.036s)
Installing iHotfix ... done (0.020s)
Installing Localizer ... done (0.046s)
Installing TimerService ... done (0.061s)
Installing CMFCore ... done (0.097s)
Installing CMFDefault ... done (0.044s)
Installing CMFTopic ... done (0.021s)
Installing DCWorkflow ... done (0.058s)
Installing CMFCalendar ... done (0.156s)
Installing CMFPhoto ... done (0.159s)
Installing BTreeFolder2 ... done (0.027s)
Installing CMFReportTool ... done (1.142s)
Installing CMFMailIn ... done (0.028s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.128s)
Installing PluggableAuthService ... done (0.072s)
Installing ERP5Security ... done (0.049s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.168s)
Installing ERP5Catalog ... done (0.164s)
Installing ERP5Type ... done (2.165s)
Installing ERP5Form ... done (2.746s)
Installing ERP5SyncML ... done (0.453s)
Installing CMFCategory ... done (0.060s)
Installing ERP5 ... done (0.052s)
Installing ZMySQLDDA ... done (0.097s)
Installing ERP5OOo ... done (0.111s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... done (81.810s)
Adding erp5_base business template ... done (35.104s)
Adding erp5_pdm business template ... done (18.571s)
Adding erp5_trade business template ... done (81.282s)
Adding erp5_apparel business template ... done (49.832s)
Logout ... 
done (726.574s)
Ran Unit test of Transformation

Starting New Sequence 1... 
  Playing step... CreateComponentDict
  Playing step... CreateOperationDict
  Playing step... Tic
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateTransformation
  Playing step... Tic
  Playing step... CreateTransformationLine
  Playing step... Tic
  Playing step... CreateIncludedTransformation
  Playing step... Tic
  Playing step... CreateIncludedTransformationLine
  Playing step... Tic
  Playing step... VerifyTransformationAggregatedAmountList
  Playing step... VerifyIncludedTransformationAggregatedAmountList
  Playing step... IncludeTransformation
  Playing step... Tic
  Playing step... VerifySpecialisedTransformationAggregatedAmountList.
----------------------------------------------------------------------
Ran 1 test in 1199.841s

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 (7.138s)
/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.106s)
Installing Photo ... done (0.189s)
Installing Formulator ... done (1.327s)
Installing ZSQLMethods ... done (0.022s)
Installing ZMySQLDA ... done (0.287s)
Installing ZSQLCatalog ... done (0.129s)
Installing ZMailIn ... done (0.081s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.018s)
Installing MailHost ... done (0.099s)
Installing PageTemplates ... done (0.132s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.043s)
Installing iHotfix ... done (0.024s)
Installing Localizer ... done (0.035s)
Installing TimerService ... done (0.079s)
Installing CMFCore ... done (0.134s)
Installing CMFDefault ... done (0.047s)
Installing CMFTopic ... done (0.029s)
Installing DCWorkflow ... done (0.084s)
Installing CMFCalendar ... done (0.114s)
Installing CMFPhoto ... done (0.036s)
Installing BTreeFolder2 ... done (0.056s)
Installing CMFReportTool ... done (1.500s)
Installing CMFMailIn ... done (0.027s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.168s)
Installing PluggableAuthService ... done (0.092s)
Installing ERP5Security ... done (0.043s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.155s)
Installing ERP5Catalog ... done (0.260s)
Installing ERP5Type ... done (2.412s)
Installing ERP5Form ... done (2.737s)
Installing ERP5SyncML ... done (0.480s)
Installing CMFCategory ... done (0.053s)
Installing ERP5 ... done (0.061s)
Installing ZMySQLDDA ... done (0.075s)
Installing ERP5OOo ... done (0.113s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... done (91.092s)
Adding erp5_base business template ... done (37.443s)
Adding erp5_pdm business template ... done (18.592s)
Adding erp5_trade business template ... done (118.437s)
Adding erp5_apparel business template ... done (58.711s)
Adding erp5_mrp business template ... done (20.630s)
Logout ... 
done (506.743s)
Ran Unit test of Production Order

Starting New Sequence 1... 
  Playing step... CreateProductionOrganisation1
  Playing step... CreateProductionSC
  Playing step... CreateVariatedResource
  Playing step... CreateComponent1
  Playing step... CreateTransformation
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckProductionSimulation.
Starting New Sequence 1... 
  Playing step... CreateProductionOrganisation1
  Playing step... CreateSupplyOrganisation1
  Playing step... CreateSourcingSC
  Playing step... CreateVariatedResource
  Playing step... CreateComponent1
  Playing step... CreateTransformation
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckSourcingSimulation.
Starting New Sequence 1... 
  Playing step... CreateProductionOrganisation1
  Playing step... CreateProductionOrganisation2
  Playing step... CreateSupplyOrganisation1
  Playing step... CreateSupplyOrganisation2
  Playing step... CreateTwoPhasesSC
  Playing step... CreateVariatedResource
  Playing step... CreateComponent1
  Playing step... CreateComponent2
  Playing step... CreateTransformation
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateOrderLine
  Playing step... Tic
  Playing step... OrderOrder
  Playing step... Tic
  Playing step... CheckTwoPhasesSimulation.
----------------------------------------------------------------------
Ran 3 tests in 729.435s

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 (8.280s)
/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.235s)
Installing Formulator ... done (1.394s)
Installing ZSQLMethods ... done (0.035s)
Installing ZMySQLDA ... done (0.795s)
Installing ZSQLCatalog ... done (0.100s)
Installing ZMailIn ... done (0.074s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.024s)
Installing MailHost ... done (0.082s)
Installing PageTemplates ... done (0.040s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.036s)
Installing iHotfix ... done (0.019s)
Installing Localizer ... done (0.040s)
Installing TimerService ... done (0.063s)
Installing CMFCore ... done (0.102s)
Installing CMFDefault ... done (0.199s)
Installing CMFTopic ... done (0.025s)
Installing DCWorkflow ... done (0.044s)
Installing CMFCalendar ... done (0.090s)
Installing CMFPhoto ... done (0.030s)
Installing BTreeFolder2 ... done (0.022s)
Installing CMFReportTool ... done (1.088s)
Installing CMFMailIn ... done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.087s)
Installing PluggableAuthService ... done (0.073s)
Installing ERP5Security ... done (0.035s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.155s)
Installing ERP5Catalog ... done (0.145s)
Installing ERP5Type ... done (2.239s)
Installing ERP5Form ... done (2.705s)
Installing ERP5SyncML ... done (0.435s)
Installing CMFCategory ... done (0.129s)
Installing ERP5 ... done (0.096s)
Installing ZMySQLDDA ... done (0.104s)
Installing ERP5OOo ... done (0.141s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_2007b7d0ea09f77195204bf0c30be51b ERP5 Site ... done (87.813s)
Adding erp5_base business template ... done (34.132s)
Adding erp5_pdm business template ... done (17.082s)
Adding erp5_trade business template ... done (82.217s)
Adding erp5_apparel business template ... done (45.985s)
Adding erp5_accounting business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, 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 4044, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3978, 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 582, in install
    obj.manage_afterClone(obj)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 55, in WorkflowTool_wrapWorkflowMethod
    w.notifyBefore(ob, method_id, args=args, kw=kw)
  File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 214, in notifyBefore
    former_status = self._getStatusOf(ob)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 129, in _getStatusOf
    status = tool.getStatusOf(self.id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 409, in getStatusOf
    wfh = self.getHistoryOf(wf_id, ob)
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 399, in getHistoryOf
    return wfh.get(wf_id, None)
AttributeError: 'NoneType' object has no attribute 'get'

Starting New Sequence 1... 
  Playing step... CreateOrganisationList
  Playing step... CreateOrder
  Playing step... CreateVariatedResourceList
  Playing step... CreatePackingListList
  Playing step... TicE
Starting New Sequence 1... 
  Playing step... CreateOrganisationsForModule
  Playing step... CreateVariatedResource
  Playing step... CreateItemList
  Playing step... CreatePackingListForModuleE
======================================================================
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 1691, in test_01_getInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 131, in stepTic
    self.tic()
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_2007b7d0ea09f77195204bf0c30be51b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

======================================================================
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 1718, in test_02_InventoryModule
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 234, in stepCreatePackingListForModule
    self.tic() # acceptable here because this is not the job
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_2007b7d0ea09f77195204bf0c30be51b/portal_rules/default_invoice_transaction_rule', 'immediateReindexObject', -2, 6)]

----------------------------------------------------------------------
Ran 2 tests in 2732.617s

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 (8.073s)
/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.116s)
Installing Photo ... done (0.183s)
Installing Formulator ... done (1.410s)
Installing ZSQLMethods ... done (0.085s)
Installing ZMySQLDA ... done (0.278s)
Installing ZSQLCatalog ... done (0.174s)
Installing ZMailIn ... done (0.063s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.089s)
Installing PageTemplates ... done (0.043s)
Installing PythonScripts ... done (0.042s)
Installing ExternalMethod ... done (0.043s)
Installing iHotfix ... done (0.024s)
Installing Localizer ... done (0.035s)
Installing TimerService ... done (0.088s)
Installing CMFCore ... done (0.092s)
Installing CMFDefault ... done (0.035s)
Installing CMFTopic ... done (0.024s)
Installing DCWorkflow ... done (0.045s)
Installing CMFCalendar ... done (0.083s)
Installing CMFPhoto ... done (0.036s)
Installing BTreeFolder2 ... done (0.029s)
Installing CMFReportTool ... done (1.273s)
Installing CMFMailIn ... done (0.027s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.090s)
Installing PluggableAuthService ... done (0.076s)
Installing ERP5Security ... done (0.033s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.126s)
Installing ERP5Catalog ... done (0.210s)
Installing ERP5Type ... done (2.407s)
Installing ERP5Form ... done (2.633s)
Installing ERP5SyncML ... done (0.642s)
Installing CMFCategory ... done (0.065s)
Installing ERP5 ... done (0.032s)
Installing ZMySQLDDA ... done (0.098s)
Installing ERP5OOo ... done (0.110s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 ERP5 Site ... done (142.792s)
Adding erp5_base business template ... done (39.182s)
Adding erp5_dummy_movement business template ... done (3.022s)
Logout ... 
done (812.728s)
Ran Unit test of Tests getInventory methods.
  
........
----------------------------------------------------------------------
Ran 8 tests in 2357.682s

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 (6.309s)
/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.120s)
Installing Photo ... done (0.161s)
Installing Formulator ... done (1.722s)
Installing ZSQLMethods ... done (0.017s)
Installing ZMySQLDA ... done (0.215s)
Installing ZSQLCatalog ... done (0.083s)
Installing ZMailIn ... done (0.065s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.017s)
Installing MailHost ... done (0.082s)
Installing PageTemplates ... done (0.036s)
Installing PythonScripts ... done (0.029s)
Installing ExternalMethod ... done (0.046s)
Installing iHotfix ... done (0.025s)
Installing Localizer ... done (0.048s)
Installing TimerService ... done (0.046s)
Installing CMFCore ... done (0.051s)
Installing CMFDefault ... done (0.043s)
Installing CMFTopic ... done (0.024s)
Installing DCWorkflow ... done (0.044s)
Installing CMFCalendar ... done (0.069s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.029s)
Installing CMFReportTool ... done (1.071s)
Installing CMFMailIn ... done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.062s)
Installing PluggableAuthService ... done (0.069s)
Installing ERP5Security ... done (0.031s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.105s)
Installing ERP5Catalog ... done (0.102s)
Installing ERP5Type ... done (1.239s)
Installing ERP5Form ... done (2.587s)
Installing ERP5SyncML ... done (0.302s)
Installing CMFCategory ... done (0.046s)
Installing ERP5 ... done (0.066s)
Installing ZMySQLDDA ... done (0.078s)
Installing ERP5OOo ... done (0.126s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... done (126.607s)
Adding erp5_base business template ... done (28.615s)
Adding erp5_pdm business template ... done (16.327s)
Adding erp5_trade business template ... done (70.644s)
Adding erp5_apparel business template ... done (37.775s)
Logout ... 
done (1466.800s)
Ran Unit test of Inventory Module

Test Not Variated Inventory 
Starting New Sequence 1... 
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateFirstNotVariatedInventory
  Playing step... Tic
  Playing step... CheckFirstNotVariatedInventory
  Playing step... CreateSecondNotVariatedInventory
  Playing step... Tic
  Playing step... CheckSecondNotVariatedInventory.
Test Variated Inventory 
Starting New Sequence 1... 
  Playing step... CreateVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateFirstVariatedInventory
  Playing step... Tic
  Playing step... CheckFirstVariatedInventory
  Playing step... CreateSecondVariatedInventory
  Playing step... Tic
  Playing step... CheckSecondVariatedInventory.
Test Variated Aggregated Inventory 
Starting New Sequence 1... 
  Playing step... CreateVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateItem
  Playing step... CreateItem
  Playing step... CreateFirstVariatedAggregatedInventory
  Playing step... Tic
  Playing step... CheckFirstVariatedAggregatedInventory
  Playing step... CreateSecondVariatedAggregatedInventory
  Playing step... Tic
  Playing step... CheckSecondVariatedAggregatedInventory.
Test getInventoryList and Variated Aggregated Inventory 
Starting New Sequence 1... 
  Playing step... CreateVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateItem
  Playing step... CreateItem
  Playing step... CreateFirstVariatedAggregatedInventory
  Playing step... Tic
  Playing step... CheckFirstVariatedAggregatedInventory
  Playing step... CheckExplanationTextInInventoryList
  Playing step... CreateSecondVariatedAggregatedInventory
  Playing step... Tic
  Playing step... CheckSecondVariatedAggregatedInventory
  Playing step... CheckExplanationTextInInventoryList.
----------------------------------------------------------------------
Ran 4 tests in 8834.152s

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 (8.525s)
/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.167s)
Installing Photo ... done (0.193s)
Installing Formulator ... done (1.343s)
Installing ZSQLMethods ... done (0.021s)
Installing ZMySQLDA ... done (0.284s)
Installing ZSQLCatalog ... done (0.132s)
Installing ZMailIn ... done (0.083s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.017s)
Installing MailHost ... done (0.080s)
Installing PageTemplates ... done (0.036s)
Installing PythonScripts ... done (0.042s)
Installing ExternalMethod ... done (0.038s)
Installing iHotfix ... done (0.024s)
Installing Localizer ... done (0.040s)
Installing TimerService ... done (0.094s)
Installing CMFCore ... done (0.111s)
Installing CMFDefault ... done (0.084s)
Installing CMFTopic ... done (0.024s)
Installing DCWorkflow ... done (0.049s)
Installing CMFCalendar ... done (0.092s)
Installing CMFPhoto ... done (0.024s)
Installing BTreeFolder2 ... done (0.021s)
Installing CMFReportTool ... done (1.149s)
Installing CMFMailIn ... done (0.031s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.076s)
Installing PluggableAuthService ... done (0.061s)
Installing ERP5Security ... done (0.032s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.212s)
Installing ERP5Catalog ... done (0.162s)
Installing ERP5Type ... done (1.830s)
Installing ERP5Form ... done (2.923s)
Installing ERP5SyncML ... done (0.559s)
Installing CMFCategory ... done (0.062s)
Installing ERP5 ... done (0.051s)
Installing ZMySQLDDA ... done (0.065s)
Installing ERP5OOo ... done (0.113s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ... done (82.944s)
Adding erp5_base business template ... done (33.194s)
Logout ... 
done (182.240s)
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... CheckCareerSubordination.
----------------------------------------------------------------------
Ran 3 tests in 247.417s

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 (7.393s)
/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.125s)
Installing Photo ... done (0.173s)
Installing Formulator ... done (1.583s)
Installing ZSQLMethods ... done (0.022s)
Installing ZMySQLDA ... done (0.218s)
Installing ZSQLCatalog ... done (0.091s)
Installing ZMailIn ... done (0.049s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.026s)
Installing MailHost ... done (0.080s)
Installing PageTemplates ... done (0.032s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.037s)
Installing iHotfix ... done (0.023s)
Installing Localizer ... done (0.036s)
Installing TimerService ... done (0.041s)
Installing CMFCore ... done (0.068s)
Installing CMFDefault ... done (0.056s)
Installing CMFTopic ... done (0.041s)
Installing DCWorkflow ... done (0.061s)
Installing CMFCalendar ... done (0.111s)
Installing CMFPhoto ... done (0.049s)
Installing BTreeFolder2 ... done (0.047s)
Installing CMFReportTool ... done (0.940s)
Installing CMFMailIn ... done (0.021s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.054s)
Installing PluggableAuthService ... done (0.055s)
Installing ERP5Security ... done (0.030s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.188s)
Installing ERP5Catalog ... done (0.144s)
Installing ERP5Type ... done (0.079s)
Installing ERP5Form ... done (3.961s)
Installing ERP5SyncML ... done (0.402s)
Installing CMFCategory ... done (0.055s)
Installing ERP5 ... done (0.032s)
Installing ZMySQLDDA ... done (0.067s)
Installing ERP5OOo ... done (0.107s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... done (84.269s)
Adding erp5_base business template ... done (20.334s)
Logout ... 
done (372.860s)
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
Starting New Sequence 1... 
  Playing step... CreateBaseCategory
  Playing step... SetBadTalesExpression
  Playing step... CheckTalesExpression
  Playing step... SetGoodTalesExpression
  Playing step... CheckTalesExpression.
======================================================================
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 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, 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 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, 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 8 tests in 573.233s

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 (7.794s)
/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.096s)
Installing Photo ... done (0.239s)
Installing Formulator ... done (1.303s)
Installing ZSQLMethods ... done (0.021s)
Installing ZMySQLDA ... done (0.295s)
Installing ZSQLCatalog ... done (0.083s)
Installing ZMailIn ... done (0.082s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.025s)
Installing MailHost ... done (0.073s)
Installing PageTemplates ... done (0.036s)
Installing PythonScripts ... done (0.030s)
Installing ExternalMethod ... done (0.036s)
Installing iHotfix ... done (0.020s)
Installing Localizer ... done (0.058s)
Installing TimerService ... done (0.059s)
Installing CMFCore ... done (0.075s)
Installing CMFDefault ... done (0.054s)
Installing CMFTopic ... done (0.018s)
Installing DCWorkflow ... done (0.043s)
Installing CMFCalendar ... done (0.106s)
Installing CMFPhoto ... done (0.035s)
Installing BTreeFolder2 ... done (0.039s)
Installing CMFReportTool ... done (1.445s)
Installing CMFMailIn ... done (0.028s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.109s)
Installing PluggableAuthService ... done (0.091s)
Installing ERP5Security ... done (0.080s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.339s)
Installing ERP5Catalog ... done (0.135s)
Installing ERP5Type ... done (0.072s)
Installing ERP5Form ... done (4.472s)
Installing ERP5SyncML ... done (0.447s)
Installing CMFCategory ... done (0.063s)
Installing ERP5 ... done (0.079s)
Installing ZMySQLDDA ... done (0.073s)
Installing ERP5OOo ... done (0.142s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... done (93.254s)
Adding erp5_csv_style business template ... done (2.834s)
Adding erp5_pdf_style business template ... done (1.908s)
Logout ... 
done (226.457s)
Ran Unit test of Business Template
..............................
----------------------------------------------------------------------
Ran 30 tests in 4391.571s

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 (7.662s)
/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.086s)
Installing Photo ... done (0.218s)
Installing Formulator ... done (1.309s)
Installing ZSQLMethods ... done (0.021s)
Installing ZMySQLDA ... done (0.278s)
Installing ZSQLCatalog ... done (0.117s)
Installing ZMailIn ... done (0.063s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.087s)
Installing PageTemplates ... done (0.036s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.039s)
Installing iHotfix ... done (0.024s)
Installing Localizer ... done (0.055s)
Installing TimerService ... done (0.070s)
Installing CMFCore ... done (0.087s)
Installing CMFDefault ... done (0.093s)
Installing CMFTopic ... done (0.022s)
Installing DCWorkflow ... done (0.059s)
Installing CMFCalendar ... done (0.086s)
Installing CMFPhoto ... done (0.034s)
Installing BTreeFolder2 ... done (0.022s)
Installing CMFReportTool ... done (1.165s)
Installing CMFMailIn ... done (0.034s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.087s)
Installing PluggableAuthService ... done (0.073s)
Installing ERP5Security ... done (0.042s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.172s)
Installing ERP5Catalog ... done (0.141s)
Installing ERP5Type ... done (0.120s)
Installing ERP5Form ... done (4.552s)
Installing ERP5SyncML ... done (0.517s)
Installing CMFCategory ... done (0.062s)
Installing ERP5 ... done (0.051s)
Installing ZMySQLDDA ... done (0.073s)
Installing ERP5OOo ... done (0.112s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... done (105.920s)
Logout ... 
done (305.229s)
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 608.901s

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.128s)
/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.092s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.028s)
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.010s)
Installing ExternalMethod ... done (0.034s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.021s)
Installing TimerService ... done (0.021s)
Installing CMFCore ... done (0.018s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.043s)
Installing CMFPhoto ... done (0.021s)
Installing BTreeFolder2 ... done (0.021s)
Installing CMFReportTool ... done (0.482s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.580s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... done (74.479s)
Adding erp5_base business template ... done (31.410s)
Logout ... 
done (483.964s)
Ran Unit test of ERP5Type
...............
----------------------------------------------------------------------
Ran 15 tests in 543.875s

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.186s)
/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.024s)
Installing Formulator ... done (1.102s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.025s)
Installing PageTemplates ... done (0.018s)
Installing PythonScripts ... done (0.016s)
Installing ExternalMethod ... done (0.021s)
Installing iHotfix ... done (0.014s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.012s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.415s)
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 Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.055s)
Installing ERP5Catalog ... done (0.023s)
Installing ERP5Type ... done (0.025s)
Installing ERP5Form ... done (2.768s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e ERP5 Site ... done (71.368s)
Adding erp5_base business template ... done (18.470s)
Adding erp5_trade business template ... done (71.928s)
Logout ... 
done (651.763s)
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 759.404s

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.106s)
/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.029s)
Installing Formulator ... done (1.033s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.081s)
Installing ZSQLCatalog ... done (0.035s)
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.024s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... done (0.560s)
Installing CMFMailIn ... done (0.013s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.024s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.072s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.615s)
Installing ERP5SyncML ... done (0.062s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... done (66.453s)
Adding erp5_base business template ... done (17.908s)
Logout ... 
done (376.474s)
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 704.198s

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.147s)
/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.042s)
Installing Formulator ... done (1.039s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
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.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.472s)
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 Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.716s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.022s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ... done (63.655s)
Adding erp5_base business template ... done (17.927s)
Logout ... 
done (321.131s)
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 Category Renaming with cut n paste.
 Test Category Renaming with cut n paste, copy n paste doesnt change.
 Test multiple Portal Types for a same category.
 Test Sort Child Values.
 Test Get Related Values.
 Test Domain Selection and Categories.
----------------------------------------------------------------------
Ran 20 tests in 480.135s

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.171s)
/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.034s)
Installing Formulator ... done (1.146s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
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.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.452s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.074s)
Installing ERP5Catalog ... done (0.031s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.824s)
Installing ERP5SyncML ... done (0.063s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.030s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... done (57.266s)
Adding erp5_base business template ... done (16.543s)
Logout ... 
done (245.706s)
Ran Unit test of ERP5Catalog
.....................
----------------------------------------------------------------------
Ran 21 tests in 356.544s

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.112s)
/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.024s)
Installing Formulator ... done (1.051s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.020s)
Installing MailHost ... done (0.025s)
Installing PageTemplates ... done (0.011s)
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.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.422s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.580s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.022s)

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

 Test allowed content types.
 Test enabling preferences.
 Test methods on portal_preference.
 Test getPreference.
 Test setting preferences.
 Test different users preferences are independants.
----------------------------------------------------------------------
Ran 6 tests in 238.829s

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.196s)
/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.030s)
Installing Formulator ... done (1.065s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.028s)
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.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.032s)
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.020s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.672s)
Installing ERP5SyncML ... done (0.060s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ... done (54.028s)
Adding erp5_base business template ... done (16.825s)
Logout ... 
done (206.130s)
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 /home/seb/zope/unit_test/Products/ERP5Type/Base.py:1169: FutureWarning: getParent implementation still returns the parent object, which is inconsistant with CMFCategory API. Use getParentValue instead
  "Use getParentValue instead", FutureWarning)
.
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 277.387s

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.148s)
/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.106s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.028s)
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.010s)
Installing ExternalMethod ... done (0.017s)
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.013s)
Installing CMFReportTool ... done (0.435s)
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 Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.021s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.633s)
Installing ERP5SyncML ... done (0.073s)
Installing CMFCategory ... done (0.025s)
Installing ERP5 ... done (0.028s)
Installing ZMySQLDDA ... done (0.031s)
Installing ERP5OOo ... done (0.038s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ... done (40.911s)
Adding erp5_base business template ... done (16.164s)
Logout ... 
done (70.279s)
Ran Unit test of Predicates
......
----------------------------------------------------------------------
Ran 6 tests in 95.404s

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.162s)
/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.024s)
Installing Formulator ... done (1.049s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.032s)
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.010s)
Installing ExternalMethod ... done (0.020s)
Installing iHotfix ... done (0.011s)
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.013s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.446s)
Installing CMFMailIn ... done (0.019s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.023s)
Installing ERP5Form ... done (2.579s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_27fd033bf95fdc3939b1d537bd566a59 ERP5 Site ... done (50.648s)
Adding erp5_ui_test business template ... Traceback (most recent call last):
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 117, 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 4044, in install
    return self._install(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3978, 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 580, in install
    container._setObject(object_id, obj)
AttributeError: _setObject
.....
----------------------------------------------------------------------
Ran 5 tests in 142.563s

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


More information about the Erp5-report mailing list