[Erp5-report] ERP5 Unit Test
seb at nexedi.com
seb at nexedi.com
Fri Mar 3 07:34:01 CET 2006
Date : 2006-03-03
Ran Unit test of CMFActivity
Ran 64 tests in 71.786s
OK
Ran Unit test of Alarm
Ran 11 tests in 39.961s
OK
Ran Unit test of Accounting Rules
Ran 14 tests in 374.485s
OK
Ran Unit test of Accounting
Ran 5 tests in 264.989s
FAILED (errors=3)
Ran Unit test of Invoices
Ran 1 test in 194.864s
OK
Ran 10 tests in 110.533s
FAILED (errors=8)
Ran Unit test of Interaction Workflow
Ran 10 tests in 59.815s
OK
Ran Unit test of ERP5BankingCashTransfer
Ran 1 test in 139.069s
OK
Ran Unit test of Domain Tool
Ran 5 tests in 150.095s
OK
Ran 8 tests in 55.385s
FAILED (errors=8)
Ran Unit test of Order
Ran 15 tests in 853.598s
OK
Ran Unit test of Packing List
Ran 10 tests in 233.724s
OK
Ran Unit test of Transformation
Ran 1 test in 261.530s
OK
Ran Unit test of Production Order
Ran 3 tests in 168.122s
OK
Ran 2 tests in 77.048s
FAILED (errors=2)
Ran Unit test of Inventory Module
Ran 3 tests in 140.722s
OK
Ran 3 tests in 45.978s
FAILED (errors=3)
Ran 5 tests in 30.185s
FAILED (errors=5)
Ran Unit test of Business Template
Ran 20 tests in 61.379s
FAILED (failures=11, errors=9)
Ran Unit test of Trash Tool
Ran 4 tests in 40.151s
OK
Ran Unit test of ERP5Type
Ran 12 tests in 33.245s
FAILED (failures=1, errors=3)
Ran 3 tests in 89.655s
OK
Ran Unit test of Constraint
Ran 7 tests in 33.178s
FAILED (errors=7)
Ran Unit test of CMFCategory
Ran 18 tests in 60.952s
OK
Ran Unit test of ERP5Catalog
Ran 18 tests in 67.632s
OK
Ran Unit test of Portal Preference
Ran 5 tests in 36.085s
FAILED (errors=1)
Ran 33 tests in 31.536s
FAILED (errors=27)
-------------- next part --------------
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (7.619s)
Installing ExtFile ... done (0.130s)
Installing Photo ... done (0.264s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.334s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.323s)
Installing ZSQLCatalog ... done (0.334s)
Installing ZMailIn ... done (0.211s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.038s)
Installing MailHost ... done (0.101s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.043s)
Installing ExternalMethod ... done (0.087s)
Installing Localizer ... done (0.071s)
Installing TimerService ... done (0.087s)
Installing CMFCore ... done (0.115s)
Installing CMFDefault ... done (0.108s)
Installing CMFTopic ... done (0.025s)
Installing DCWorkflow ... done (0.061s)
Installing CMFCalendar ... done (0.116s)
Installing CMFPhoto ... done (0.069s)
Installing BTreeFolder2 ... done (0.055s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (1.580s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.059s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.095s)
Installing PluggableAuthService ... done (0.080s)
Installing ERP5Security ... done (0.042s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.143s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.046s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.112s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (3.642s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.285s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.043s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.047s)
Installing ERP5OOo ... done (0.129s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ...
Adding erp5_base business template ...
Logout ...
done (59.181s)
Ran Unit test of CMFActivity
Test Defered Set Title SQLDict .
Test Defered Set Title SQLQueue .
Test Defered Set Title RAMDict .
Test Defered Set Title RAMQueue .
Test Invoke And Cancel SQLDict .
Test Invoke And Cancel SQLQueue .
Test Invoke And Cancel RAMDict .
Test Invoke And Cancel RAMQueue .
Call Once With SQL Dict .
Call Once With SQL Queue .
Call Once With RAM Dict .
Call Once With RAM Queue .
Try Message With Error On SQL Dict .
Try Message With Error On SQL Queue .
Try Message With Error On RAM Dict .
Try Message With Error On RAM Queue .
Try Flush Activity With SQL Dict .
Try Flush Activity With SQL Queue .
Try Flush Activity With RAM Dict .
Try Flush Activity With RAM Queue .
Try Activate Inside Flush With SQL Dict .
Try Activate Inside Flush With SQL Queue .
Try Activate Inside Flush With RAM Dict .
Try Activate Inside Flush With RAM Queue .
Try Two Methods With SQL Dict .
Try Two Methods With SQL Queue .
Try Two Methods With RAM Dict .
Try Two Methods With RAM Queue .
Try Two Methods And Flush Them With SQL Dict .
Try Two Methods And Flush Them With SQL Queue .
Try Two Methods And Flush Them With RAM Dict .
Try Two Methods And Flush Them With RAM Queue .
Try Activate Flush Activate Tic With SQL Dict .
Try Activate Flush Activate Tic With SQL Queue .
Try Activate Flush Activate Tic With RAM Dict .
Try Activate Flush Activate Tic With RAM Queue .
Try Activate Flush Activate Tic With MultipleActivities .
Try Commit Sub Transaction With SQL Dict .
Try Commit Sub Transaction With SQL Queue .
Try Commit Sub Transaction With RAM Dict .
Try Commit Sub Transaction With RAM Queue .
Try Rename Object With SQL Dict .
Try Rename Object With SQL Queue .
Try Rename Object With RAM Dict .
Try Rename Object With RAM Queue .
Try Active Process With SQL Dict .
Try Active Process With SQL Queue .
Try Active Process With RAM Dict .
Try Active Process With RAM Queue .
Try Active Process Inside Activity With SQL Dict .
Try Active Process Inside Activity With SQL Queue .
Try Active Process Inside Activity With RAM Dict .
Try Active Process Inside Activity With RAM Queue .
Try Active Method After Another Activate Method With SQLDict.
Try Active Method After Another Activate Method With SQLQueue.
Try Call Activity With Right User.
Try Expanded Method With Deleted Sub Object.
Try Expanded Method With Deleted Object.
Try After Tag With SQL Dict.
Try After Tag With SQL Queue.
Check Scheduling With SQL Dict.
Check Scheduling With SQL Queue.
Check Clearing Activities With SQL Dict.
Check Clearing Activities With SQL Queue.
----------------------------------------------------------------------
Ran 64 tests in 71.786s
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.101s)
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.056s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.105s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.561s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.780s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ...
Logout ...
done (32.191s)
Ran Unit test of Alarm
Test Has Everything .
Test Initialization .
Test Every Hour .
Test Every 3 Hours .
Test Some Hours .
Every Day Once .
Every 3 Days Some Hours .
Some Week Days Some Hours .
Some Month Days Some Hours .
Once Every 2 Month .
Every Day Once Week 41 And 43 .
----------------------------------------------------------------------
Ran 11 tests in 39.961s
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.222s)
Installing ExtFile ... done (0.057s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.111s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.535s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.657s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.062s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_accounting business template ...
Logout ...
done (154.985s)
Ran Unit test of Accounting Rules
Test Has Everything .
Test Update Invoice Transaction Rule Matrix
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... Tic
Playing step... CheckAddPredicate
Playing step... Tic
Playing step... CheckRemovePredicate
Playing step... Tic
Playing step... CheckRestoreOriginalPredicates.
Test Invoice Transaction Rule getMatchingCell
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... Tic
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateProducts
Playing step... Tic
Playing step... CreateDummyInvoice
Playing step... CreateMatchableSaleInvoiceMovements
Playing step... CheckMatchableSaleInvoiceMovements
Playing step... CreateNotMatchableSaleInvoiceMovements
Playing step... CheckNotMatchableSaleInvoiceMovements.
Test Simple Invoice Rule
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateSimpleSaleInvoice
Playing step... PlanInvoice
Playing step... Tic
Playing step... CheckFirstRuleIsApplied
Playing step... CheckPaymentRuleIsApplied
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCoherantWithSimulation.
Test Simple Invoice Rule (without plan)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateSimpleSaleInvoice
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Simple Invoice Rule (with 2 lines)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateSimpleSaleInvoiceTwoLines
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Simple Invoice Rule (with 2 cells)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateSimpleSaleInvoiceTwoCells
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Simple Invoice Rule (add invoice line and reexpand)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateEmptyInvoice
Playing step... PlanInvoice
Playing step... Tic
Playing step... AddInvoiceLine
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Simple Invoice Rule (edit line and reexpand)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateOtherSimpleSaleInvoice
Playing step... PlanInvoice
Playing step... Tic
Playing step... EditInvoiceLine
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Simple Invoice Rule (delete line and reexpand)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateSimpleSaleInvoice
Playing step... AddInvoiceLine
Playing step... PlanInvoice
Playing step... Tic
Playing step... DeleteInvoiceLine
Playing step... Tic
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Simple Invoice Rule (add cells in a line and reexpand)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateOtherSimpleSaleInvoice
Playing step... PlanInvoice
Playing step... Tic
Playing step... AddCellsInInvoiceLine
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Simple Invoice Rule (many updateAppliedRule)
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... CreateNotebookFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateSimpleSaleInvoice
Playing step... PlanInvoice
Playing step... Tic
Playing step... EditInvoiceLine
Playing step... UpdateAppliedRule
Playing step... Tic
Playing step... EditInvoiceLine
Playing step... UpdateAppliedRule
Playing step... Tic
Playing step... EditInvoiceLine
Playing step... UpdateAppliedRule
Playing step... Tic
Playing step... EditInvoiceLine
Playing step... UpdateAppliedRule
Playing step... Tic
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForSimpleInvoice
Playing step... RebuildAndCheckNothingIsCreated.
Test Multi Line Invoice Rule
Starting New Sequence 1...
Playing step... CreateAccounts
Playing step... CreateEntities
Playing step... CreateCurrencies
Playing step... CreateProducts
Playing step... CreateSaleInvoiceTransactionRule
Playing step... Tic
Playing step... UpdateSaleInvoiceTransactionRuleMatrix
Playing step... Tic
Playing step... CreateNotebookFranceCell
Playing step... CreateBareboneFranceCell
Playing step... Tic
Playing step... ClearSimulation
Playing step... ClearAccountingModule
Playing step... CreateMultiLineSaleInvoice
Playing step... PlanInvoice
Playing step... ConfirmInvoice
Playing step... Tic
Playing step... CheckAccountingLinesCreatedForMultiLineInvoice
Playing step... RebuildAndCheckNothingIsCreated..
----------------------------------------------------------------------
Ran 14 tests in 374.485s
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.114s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.056s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.121s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.019s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.018s)
Installing CMFCore ... done (0.017s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.579s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.030s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.865s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_accounting business template ...
Logout ...
done (136.270s)
Ran Unit test of Accounting
Starting New Sequence 1...
Playing step... CreateCurrencies
Playing step... CreateEntities
Playing step... CreateAccounts
Playing step... CreateAccountingPeriod
Playing step... OpenAccountingPeriod
Playing step... Tic
Playing step... UseValidDates
Playing step... CreateInvoices
Playing step... StopInvoices
Playing step... CheckInvoicesAreStopped
Playing step... Tic
Playing step... ConfirmAccountingPeriod
Playing step... Tic
Playing step... DeliverAccountingPeriodE
Starting New Sequence 1...
Playing step... CreateCurrencies
Playing step... CreateEntities
Playing step... CreateAccounts
Playing step... CreateAccountingPeriod
Playing step... OpenAccountingPeriod
Playing step... Tic
Playing step... CreateOtherSectionInvoices
Playing step... Tic
Playing step... ConfirmAccountingPeriod
Playing step... Tic
Playing step... DeliverAccountingPeriodE
Starting New Sequence 1...
Playing step... CreateCurrencies
Playing step... CreateEntities
Playing step... CreateAccounts
Playing step... CreateAccountingPeriod
Playing step... OpenAccountingPeriod
Playing step... Tic
Playing step... UseInvalidDates
Playing step... CreateInvoices
Playing step... CheckStopInvoicesRefusedE
Starting New Sequence 1...
Playing step... CreateEntities
Playing step... CreateAccounts
Playing step... CreateAccountingTransactionAndCheckMirrorAccount.
Starting New Sequence 1...
Playing step... CreateCurrencies
Playing step... CreateEntities
Playing step... CreateAccounts
Playing step... CreateInvoices
Playing step... Tic
Playing step... CheckAccountBalanceLocalCurrency
Playing step... CheckAccountBalanceExternalCurrency
Playing step... CheckAccountBalanceConvertedCurrency.
======================================================================
ERROR: Basic test for Accounting Periods
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 591, in test_AccountingPeriod
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 186, in stepDeliverAccountingPeriod
'close_action' )
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 221, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 227, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 18, in AccountingPeriod_DeliverTransactions
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in Base_translateString
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 312, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 334, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/Localizer.py", line 64, in Localizer_translate
translated_str = catalog_obj.gettext(msgid, **params)
File "/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py", line 214, in gettext
lang = lang_negotiator(available_languages)
File "/usr/lib/zope/lib/python/Products/Localizer/Utils.py", line 43, in lang_negotiator
request, response = context.request, context.response
AttributeError: 'NoneType' object has no attribute 'request'
======================================================================
ERROR: Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 652, in test_AccountingPeriodNotStoppedTransactions
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 186, in stepDeliverAccountingPeriod
'close_action' )
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 221, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 227, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 18, in AccountingPeriod_DeliverTransactions
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in Base_translateString
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 312, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 334, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/Localizer.py", line 64, in Localizer_translate
translated_str = catalog_obj.gettext(msgid, **params)
File "/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py", line 214, in gettext
lang = lang_negotiator(available_languages)
File "/usr/lib/zope/lib/python/Products/Localizer/Utils.py", line 43, in lang_negotiator
request, response = context.request, context.response
AttributeError: 'NoneType' object has no attribute 'request'
======================================================================
ERROR: Accounting Periods prevents transactions to be validated
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 617, in test_AccountingPeriodRefusesWrongDateTransactionValidation
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 65, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 467, in stepCheckStopInvoicesRefused
invoice, 'stop_action')
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 148, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 13, in validateTransactionLines
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 69, in validateTransaction
File "Script (Python)", line 9, in raiseError
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in Base_translateString
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 312, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 334, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/Localizer.py", line 64, in Localizer_translate
translated_str = catalog_obj.gettext(msgid, **params)
File "/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py", line 214, in gettext
lang = lang_negotiator(available_languages)
File "/usr/lib/zope/lib/python/Products/Localizer/Utils.py", line 43, in lang_negotiator
request, response = context.request, context.response
AttributeError: 'NoneType' object has no attribute 'request'
----------------------------------------------------------------------
Ran 5 tests in 264.989s
FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.104s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.168s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.065s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.025s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.025s)
Installing CMFCore ... done (0.024s)
Installing CMFDefault ... done (0.020s)
Installing CMFTopic ... done (0.012s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.538s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.755s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.035s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_apparel business template ...
Adding erp5_accounting business template ...
Logout ...
done (160.315s)
Ran Unit test of Invoices
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRule
Playing step... CreateEntities
Playing step... CreateCurrency
Playing step... CreateOrder
Playing step... SetOrderProfile
Playing step... SetOrderPriceCurrency
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... CheckOrderRule
Playing step... CheckOrderSimulation
Playing step... CheckDeliveryBuilding
Playing step... AddPackingListContainer
Playing step... AddPackingListContainerLine
Playing step... SetContainerLineFullQuantity
Playing step... Tic
Playing step... CheckPackingListIsPacked
Playing step... SetReadyPackingList
Playing step... Tic
Playing step... StartPackingList
Playing step... CheckInvoicingRule
Playing step... Tic
Playing step... CheckInvoiceBuilding
Playing step... RebuildAndCheckNothingIsCreated.
----------------------------------------------------------------------
Ran 1 test in 194.864s
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.113s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.248s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.034s)
Installing ZMailIn ... done (0.027s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.013s)
Installing PythonScripts ... done (0.012s)
Installing ExternalMethod ... done (0.019s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.581s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.458s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.244s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_bdd68989015459083990e9664c49d828 ERP5 Site ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3806, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3763, 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 1684, in install
obj = p.unrestrictedTraverse(path[:-1])
File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
o=object[name]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Sequence 1...
Playing step... CreateResourceE
Starting New Pricing Case 0...
Creating product...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 1...
Creating product...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 2...
Creating product...
Creating supply line...
Set additional_price on supply line with value 1...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 3...
Creating product...
Creating supply line...
Set surcharge_ratio on supply line with value 0.5...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 4...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 5...
Creating product...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.5...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 6...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.5...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.75...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 7...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.75...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 8...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.75...
Creating supply line...
Set surcharge_ratio on supply line with value 1...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 9...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.75...
Creating supply line...
Set surcharge_ratio on supply line with value 1...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Commit transaction...
Tic...
Check product price....
Starting New Option Pricing Case 1...
Creating fake product...
Creating supply line...
Creating product...
Creating supply line...
Commit transaction...
Tic...
Check product price without option...
Check product price with option: industrial_phase/phase1...
Check product price with option: industrial_phase/phase2...
Check product price with options: industrial_phase/phase1 industrial_phase/phase2....
======================================================================
ERROR: test_01_getVariationBaseCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 254, in test_01_getVariationBaseCategoryList
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
======================================================================
ERROR: test_02_getVariationRangeCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 309, in test_02_getVariationRangeCategoryList
self.genericTest('CheckGetVariationRangeCategoryList')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
======================================================================
ERROR: test_03_getVariationRangeCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 329, in test_03_getVariationRangeCategoryItemList
self.genericTest('CheckGetVariationRangeCategoryItemList')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
======================================================================
ERROR: test_04_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 348, in test_04_getVariationCategoryList
self.genericTest('CheckGetVariationCategoryList')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
======================================================================
ERROR: test_05_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 373, in test_05_getVariationCategoryList
self.genericTest('CheckGetVariationCategoryListWithoutOmit')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
======================================================================
ERROR: test_06_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 391, in test_06_getVariationCategoryItemList
self.genericTest('CheckGetVariationCategoryItemList')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
======================================================================
ERROR: test_07_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 410, in test_07_getVariationCategoryItemList
self.genericTest('CheckGetVariationCategoryItemListWithoutOmit')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 302, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
======================================================================
ERROR: test_08_variationPropertyList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 449, in test_08_variationPropertyList
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 152, in stepCreateResource
resource_module = self.portal.getDefaultModule(self.resource_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Apparel Model
----------------------------------------------------------------------
Ran 10 tests in 110.533s
FAILED (errors=8)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.118s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.223s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.011s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.529s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.721s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ...
Adding erp5_base business template ...
Logout ...
done (46.912s)
Ran Unit test of Interaction Workflow
No Interactions .
Interactions On Edit .
Interactions, Edit Set Description and also After Script .
Interactions, Automatic Workflow Method .
Interactions, Automatic Workflow Method With Extra Base Category .
Interactions, Check If There Is Only One Call .
Interactions, Check If The Return Value Is Not Altered .
Interactions, Check If Multiple method_id Can Be Hooked .
Interactions, Check if the same method_id can be hooked by two Interactions .
Interactions, check if multiple scripts can be called .
----------------------------------------------------------------------
Ran 10 tests in 59.815s
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.101s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.054s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.167s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.546s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.741s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_2c2ef0955a7689e4c2be023abee65aed ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_trade business template ...
Adding erp5_banking_core business template ...
Adding erp5_banking_cash_transfer business template ...
Logout ...
done (112.506s)
Ran Unit test of ERP5BankingCashTransfer
Starting New Sequence 1...
Playing step... Tic
Playing step... CheckObjects
Playing step... Tic
Playing step... CheckInitialInventory
Playing step... CheckSource
Playing step... CheckDestination
Playing step... CreateCashTransfer
Playing step... CreateValidLine1
Playing step... CheckSubTotal
Playing step... CreateValidLine2
Playing step... CheckTotal
Playing step... TryConfirmCashTransferWithBadUser
Playing step... CheckSource
Playing step... CheckDestination
Playing step... CreateInvalidLine
Playing step... TryConfirmCashTransferWithBadInventory
Playing step... DelInvalidLine
Playing step... Tic
Playing step... CheckTotal
Playing step... ConfirmCashTransfer
Playing step... CheckSourceDebitPlanned
Playing step... CheckDestinationCreditPlanned
Playing step... TryDeliverCashTransferWithBadUser
Playing step... CheckSourceDebitPlanned
Playing step... CheckDestinationCreditPlanned
Playing step... DeliverCashTransfer
Playing step... CheckSourceDebit
Playing step... CheckDestinationCredit.
----------------------------------------------------------------------
Ran 1 test in 139.069s
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.168s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.213s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.011s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.011s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.532s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.458s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.279s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.045s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_apparel business template ...
Logout ...
done (118.825s)
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 150.095s
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.109s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.049s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.243s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.061s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.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.022s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.567s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.440s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.278s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.034s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_21f0b1a3870de5748b8d6db9b875806e ERP5 Site ...
Adding e business template ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 352, in setupERP5Site
portal.portal_templates.download(url, id=id)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 295, in download
file, headers = urlretrieve(url, temppath)
File "/usr/lib/python2.4/urllib.py", line 84, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.4/urllib.py", line 212, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.4/urllib.py", line 180, in open
return getattr(self, name)(url)
File "/usr/lib/python2.4/urllib.py", line 409, in open_file
return self.open_local_file(url)
File "/usr/lib/python2.4/urllib.py", line 419, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: 'e.bt5'
EEEEEEEE
======================================================================
ERROR: test_01 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_02 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_03 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_04 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_05 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_06 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_07 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_08 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 113, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
----------------------------------------------------------------------
Ran 8 tests in 55.385s
FAILED (errors=8)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.098s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.099s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.080s)
Installing ZSQLCatalog ... done (0.038s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.555s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.712s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_apparel business template ...
Logout ...
done (118.940s)
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... Commit
Playing step... CheckDeliveryBuilding.
----------------------------------------------------------------------
Ran 15 tests in 853.598s
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.163s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.125s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.013s)
Installing TimerService ... done (0.017s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.534s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.435s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.491s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.059s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_apparel business template ...
Logout ...
done (117.492s)
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... CheckPackingListIsNotDivergent
Playing step... Tic
Playing step... CheckSimulationDestinationUpdated.
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... SetContainerLineFullQuantity
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... AddPackingListContainer
Playing step... AddPackingListContainerLine
Playing step... SetContainerLineSmallQuantity
Playing step... CheckPackingListIsNotPacked
Playing step... SetContainerLineFullQuantity
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.
----------------------------------------------------------------------
Ran 10 tests in 233.724s
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.146s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.050s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.150s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.041s)
Installing CMFPhoto ... done (0.022s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.531s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.452s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.266s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_apparel business template ...
Logout ...
done (120.501s)
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 261.530s
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.091s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.056s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.157s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.062s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.538s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.439s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.325s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.034s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_apparel business template ...
Adding erp5_mrp business template ...
Logout ...
done (130.536s)
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 168.122s
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.116s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.056s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.164s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.019s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.539s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.438s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.374s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.015s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.034s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_62da2b0d4126dd67865d0f82ac9a17c8 ERP5 Site ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3806, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3763, 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 1684, in install
obj = p.unrestrictedTraverse(path[:-1])
File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
o=object[name]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
Starting New Sequence 1...
Playing step... CreateOrganisationListE
Starting New Sequence 1...
Playing step... CreateOrganisationsForModuleE
======================================================================
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 1564, in test_01_getInventory
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 244, in stepCreateOrganisationList
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 200, in stepCreateOrganisation
organisation_module = portal.getDefaultModule( \
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Organisation
======================================================================
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 1591, in test_02_InventoryModule
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 145, in stepCreateOrganisationsForModule
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 200, in stepCreateOrganisation
organisation_module = portal.getDefaultModule( \
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Organisation
----------------------------------------------------------------------
Ran 2 tests in 77.048s
FAILED (errors=2)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.198s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.147s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.542s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.698s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ...
Adding erp5_base business template ...
Adding erp5_pdm business template ...
Adding erp5_trade business template ...
Adding erp5_apparel business template ...
Logout ...
done (117.964s)
Ran Unit test of Inventory Module
Test Not Variated Inventory
Starting New Sequence 1...
Playing step... CreateNotVariatedResource
Playing step... CreateOrganisation
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... CreateOrganisation
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... CreateOrganisation
Playing step... CreateItem
Playing step... CreateItem
Playing step... CreateFirstVariatedAggregatedInventory
Playing step... Tic
Playing step... CheckFirstVariatedAggregatedInventory
Playing step... CreateSecondVariatedAggregatedInventory
Playing step... Tic
Playing step... CheckSecondVariatedAggregatedInventory.
----------------------------------------------------------------------
Ran 3 tests in 140.722s
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.107s)
Installing ExtFile ... done (0.073s)
Installing Photo ... done (0.077s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.140s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.527s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
done (0.431s)
Installing ERP5Form ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.298s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.104s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c2b1b0ccfd558f175874be40ec322f68 ERP5 Site ...
Adding e business template ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 352, in setupERP5Site
portal.portal_templates.download(url, id=id)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 295, in download
file, headers = urlretrieve(url, temppath)
File "/usr/lib/python2.4/urllib.py", line 84, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.4/urllib.py", line 212, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.4/urllib.py", line 180, in open
return getattr(self, name)(url)
File "/usr/lib/python2.4/urllib.py", line 409, in open_file
return self.open_local_file(url)
File "/usr/lib/python2.4/urllib.py", line 419, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: 'e.bt5'
Starting New Sequence 1...
Playing step... CreateOrganisationE
Starting New Sequence 1...
Playing step... CreatePersonE
Starting New Sequence 1...
Playing step... CreatePersonE
======================================================================
ERROR: test_01_Organisation (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 696, in test_01_Organisation
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 285, in stepCreateOrganisation
organisation_module = self.portal.getDefaultModule(portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Organisation
======================================================================
ERROR: test_02_Person (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 712, in test_02_Person
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 477, in stepCreatePerson
person_module = self.portal.getDefaultModule(portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Person
======================================================================
ERROR: test_03_Subordination (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 728, in test_03_Subordination
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 477, in stepCreatePerson
person_module = self.portal.getDefaultModule(portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 711, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 701, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Person
----------------------------------------------------------------------
Ran 3 tests in 45.978s
FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.114s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.057s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.172s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.061s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.019s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.571s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.026s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.016s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.056s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.759s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.034s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_bdf820d675e8ffc8de9b0a2722dd3e81 ERP5 Site ...
Adding e business template ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 352, in setupERP5Site
portal.portal_templates.download(url, id=id)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 295, in download
file, headers = urlretrieve(url, temppath)
File "/usr/lib/python2.4/urllib.py", line 84, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.4/urllib.py", line 212, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.4/urllib.py", line 180, in open
return getattr(self, name)(url)
File "/usr/lib/python2.4/urllib.py", line 409, in open_file
return self.open_local_file(url)
File "/usr/lib/python2.4/urllib.py", line 419, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: 'e.bt5'
EEEEE
======================================================================
ERROR: test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_02_areActivitiesWellLaunchedByCategoryEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_03_areActivitiesWellLaunchedByPropertySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_04_areActivitiesWellLaunchedByCategorySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_05_getPropertyWithoutPropertySheet (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
----------------------------------------------------------------------
Ran 5 tests in 30.185s
FAILED (errors=5)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.111s)
Installing ExtFile ... done (0.057s)
Installing Photo ... done (0.053s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.229s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.020s)
Installing DCWorkflow ... done (0.021s)
Installing CMFCalendar ... done (0.036s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.529s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.029s)
Installing PluggableAuthService ... done (0.020s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.742s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_cddae782639ff372ae0a50578b5521ea ERP5 Site ...
Logout ...
done (33.065s)
Ran Unit test of Business Template
Test Check New Site
Starting New Sequence 1...
Playing step... UseCoreBusinessTemplate
Playing step... CheckTools
Playing step... CheckBuiltBuildingState
Playing step... CheckInstalledInstallationState
Playing step... CheckSkinsLayersF
Test Business Template With Portal Types
Starting New Sequence 1...
Playing step... CreatePortalType/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py:259: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py:264: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Module', typeinfo_name='ERP5Type: ERP5 Folder')
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPortalTypeToBusinessTemplate
Playing step... FillPortalTypesFields
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePortalType
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Skin Folder
Starting New Sequence 1...
Playing step... CreateSkinFolder
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddSkinFolderToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveSkinFolder
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Workflow
Starting New Sequence 1...
Playing step... CreateWorkflow
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddWorkflowToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveWorkflow
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Module
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Business Template With Base Category
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddBaseCategoryToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveBaseCategory
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With One Action
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Business Template With Two Actions
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Business Template With A Simple Path
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddBaseCategoryAsPathToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveBaseCategory
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Path And Joker *
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateCategories
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddCategoriesAsPathToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveCategories
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Path And Joker **
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateCategories
Playing step... CreateSubCategories
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddSubCategoriesAsPathToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveCategories
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Catalog Method, Related Key, Result Key And Table
Starting New Sequence 1...
Playing step... CreateCatalogMethod
Playing step... CreateKeysAndTable
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddCatalogMethodToBusinessTemplate
Playing step... AddKeysAndTableToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate/usr/lib/python2.4/pickle.py:362: DeprecationWarning: __basicnew__ special case is deprecated
DeprecationWarning)
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveCatalogMethod
Playing step... RemoveKeysAndTable
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Role
Starting New Sequence 1...
Playing step... CreateRole
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddRoleToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveRole
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With Local Roles
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Business Template With Property Sheet
Starting New Sequence 1...
Playing step... CreatePropertySheet
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPropertySheetToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePropertySheet
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayersF
Test Business Template With All Items
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Upgrade Of Business Template Keeps Subobjects
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Upgrade Business Template With All Items
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Check Update of Business Template Workflows is working
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Check Update of Tool is working
Starting New Sequence 1...
Playing step... CreatePortalTypeE
======================================================================
ERROR: test_05_BusinessTemplateWithModule (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1688, in test_05_BusinessTemplateWithModule
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_07_BusinessTemplateWithOneAction (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1779, in test_07_BusinessTemplateWithOneAction
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_08_BusinessTemplateWithTwoActions (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1829, in test_08_BusinessTemplateWithTwoActions
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_14_BusinessTemplateWithLocalRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2105, in test_14_BusinessTemplateWithLocalRoles
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2246, in test_16_BusinessTemplateWithAllItems
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2325, in test_17_SubobjectsAfterUpgradOfBusinessTemplate
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2446, in test_18_upgradeBusinessTemplateWithAllItems
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2533, in test_19_checkUpdateBusinessTemplateWorkflow
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2631, in test_20_checkUpdateTool
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 259, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
FAIL: test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1504, in test_01_checkNewSite
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_02_BusinessTemplateWithPortalTypes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1549, in test_02_BusinessTemplateWithPortalTypes
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_03_BusinessTemplateWithSkins (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1593, in test_03_BusinessTemplateWithSkins
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_04_BusinessTemplateWithWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1637, in test_04_BusinessTemplateWithWorkflow
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_06_BusinessTemplateWithBaseCategory (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1732, in test_06_BusinessTemplateWithBaseCategory
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_09_BusinessTemplateWithPath (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1873, in test_09_BusinessTemplateWithPath
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_10_BusinessTemplateWithPathAndJoker1 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1919, in test_10_BusinessTemplateWithPathAndJoker1
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_11_BusinessTemplateWithPathAndJoker2 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1967, in test_11_BusinessTemplateWithPathAndJoker2
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_12_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2015, in test_12_BusinessTemplateWithCatalogMethod
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_13_BusinessTemplateWithRole (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2058, in test_13_BusinessTemplateWithRole
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
======================================================================
FAIL: test_15_BusinessTemplateWithPropertySheet (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2148, in test_15_BusinessTemplateWithPropertySheet
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 223, in stepCheckSkinsLayers
self.failIf('erp5_csv_style' not in selection)
AssertionError
----------------------------------------------------------------------
Ran 20 tests in 61.379s
FAILED (failures=11, errors=9)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.128s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.049s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.130s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.014s)
Installing TimerService ... done (0.029s)
Installing CMFCore ... done (0.027s)
Installing CMFDefault ... done (0.021s)
Installing CMFTopic ... done (0.014s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.020s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.582s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.758s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ...
Logout ...
done (32.671s)
Ran Unit test of Trash Tool
Test Check TrashBin Creation
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable.
Test Check Backup Without Save
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable
Playing step... AddBaseCategory
Playing step... AddCategories
Playing step... Tic
Playing step... BackupObjectsWithoutSave
Playing step... CheckObjectNotBackup.
Test Check Backup With Save
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable
Playing step... AddBaseCategory
Playing step... AddCategories
Playing step... Tic
Playing step... BackupObjectsWithSave
Playing step... Tic
Playing step... CheckObjectBackupWithoutSubObjects.
Test Check Backup Without Subobjects
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable
Playing step... AddBaseCategory
Playing step... AddCategories
Playing step... Tic
Playing step... BackupObjectsWithKeepingSubobjects
Playing step... Tic
Playing step... CheckObjectBackupWithSubObjects.
----------------------------------------------------------------------
Ran 4 tests in 40.151s
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.108s)
Installing ExtFile ... done (0.059s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.123s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.059s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.022s)
Installing Localizer ... done (0.021s)
Installing TimerService ... done (0.028s)
Installing CMFCore ... done (0.026s)
Installing CMFDefault ... done (0.018s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.020s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.543s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.012s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.711s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_7d78b63be95e422cfd4ccedfad376e48 ERP5 Site ...
Logout ...
done (32.784s)
Ran Unit test of ERP5Type
..F.....E.EE
======================================================================
ERROR: test_02_AqDynamic (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 103, in test_02_AqDynamic
person = module.newContent(id='1', portal_type='Person')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: test_04_CategoryAccessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 131, in test_04_CategoryAccessors
region_category = self.getPortal().portal_categories.region
AttributeError: region
======================================================================
ERROR: test_04_setProperty (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 196, in test_04_setProperty
organisation = module.newContent(id='1', portal_type='Organisation')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
FAIL: testCommonHasImageType (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 70, in testCommonHasImageType
self.failUnless(getattr(self.getTypeTool(), 'Image', None) != None)
AssertionError
----------------------------------------------------------------------
Ran 12 tests in 33.245s
FAILED (failures=1, errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.107s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.049s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.138s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.061s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.039s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.597s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.702s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_27661e9717edf957b357f01fd11acfb6 ERP5 Site ...
Adding erp5_trade business template ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 353, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3806, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3763, 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 1684, in install
obj = p.unrestrictedTraverse(path[:-1])
File "/usr/lib/zope/lib/python/OFS/Traversable.py", line 185, in unrestrictedTraverse
o=object[name]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
Test Rename Cell Range .
Test Set Cell Range And Catalog With Activities .
Test Set Cell Range And Catalog Without Activities .
----------------------------------------------------------------------
Ran 3 tests in 89.655s
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)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.056s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.301s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.061s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.019s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.541s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.028s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.808s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.034s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_828fdaf8835e1ab89b599655f40534d4 ERP5 Site ...
Logout ...
done (32.875s)
Ran Unit test of Constraint
EEEEEEE
======================================================================
ERROR: test_01_Constraint (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_02_PropertyExistence (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_03_PropertyTypeValidity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_04_AttributeEquality (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_05_CategoryExistence (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_06_CategoryMembershipArity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_07_CategoryRelatedMembershipArity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 210, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
----------------------------------------------------------------------
Ran 7 tests in 33.178s
FAILED (errors=7)
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.245s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.056s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.127s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.539s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.843s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ...
Adding erp5_base business template ...
Logout ...
done (47.847s)
Ran Unit test of CMFCategory
Test Has Everything .
Test Single Category .
Test Multiple Category .
Test Category Value .
Test Return None .
Test Single Acquisition .
Test List Acquisition .
Test Subordination Value .
Test Subordination Multiple Value .
Test Get Category Parent Uid List .
Test Fallback Base Category .
Test Parent Acquisition .
Test Get Related Value And Value List .
Test Category Renaming.
Test multiple Portal Types for a same category.
Test Sort Child Values.
Test Get Related Values.
Test Domain Selection and Categories.
----------------------------------------------------------------------
Ran 18 tests in 60.952s
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.142s)
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.185s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.544s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.027s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.709s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.065s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ...
Adding erp5_base business template ...
Logout ...
done (46.891s)
Ran Unit test of ERP5Catalog
Test Has Everything .
Test Everything Catalogued.
Test Create And Delete Objects .
Search Folder With Deleted Objects .
Search Folder With Immediate Reindex Object .
Search Folder With Recursive Immediate Reindex Object .
Clear Catalog And Test New Content .
Clear Catalog And Test Recursive Immediate Reindex Object .
Clear Catalog And Test Immediate Reindex Object .
Ordered Search Folder .
Cast String As Int With Order By .
Transactional Uid Buffer .
ERP5Site_reindexAll .
Reindexing an object with 1 broken category must not affect other valid categories .
getObject .
newUid .
getCreationDate, getModificationDate ..
----------------------------------------------------------------------
Ran 18 tests in 67.632s
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.151s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.048s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.210s)
Installing ZSQLMethods ... done (0.012s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.023s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.016s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.019s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.591s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.050s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.029s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.715s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.034s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ...
Logout ...
done (32.127s)
Ran Unit test of Portal Preference
Test enabling preferencesE
Test methods on portal_preference.
Test getPreference.
Test setting preferences.
Test different users preferences are independants.
======================================================================
ERROR: tests preference workflow
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 125, in test_EnablePreferences
portal_workflow.doActionFor(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 221, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 227, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 18, in disableOtherPreferences
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in Base_translateString
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 312, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/usr/lib/zope/lib/python/AccessControl/ZopeGuards.py", line 334, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/Localizer.py", line 64, in Localizer_translate
translated_str = catalog_obj.gettext(msgid, **params)
File "/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py", line 214, in gettext
lang = lang_negotiator(available_languages)
File "/usr/lib/zope/lib/python/Products/Localizer/Utils.py", line 43, in lang_negotiator
request, response = context.request, context.response
AttributeError: 'NoneType' object has no attribute 'request'
----------------------------------------------------------------------
Ran 5 tests in 36.085s
FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.181s)
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.055s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.135s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.060s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.024s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.018s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.535s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.051s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.031s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.928s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:832: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.033s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c10fb6706c7f4c1602e58b22f6d4e655 ERP5 Site ...
Adding e business template ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 352, in setupERP5Site
portal.portal_templates.download(url, id=id)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 295, in download
file, headers = urlretrieve(url, temppath)
File "/usr/lib/python2.4/urllib.py", line 84, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.4/urllib.py", line 212, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.4/urllib.py", line 180, in open
return getattr(self, name)(url)
File "/usr/lib/python2.4/urllib.py", line 409, in open_file
return self.open_local_file(url)
File "/usr/lib/python2.4/urllib.py", line 419, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: 'e.bt5'
Test Has Everything .
Test Add a Publication .
Test Add First Subscription .
Test Add Second Subscription .
Test getSynchronizationList .
Test getObjectList E
Test Export and Import E
Test First Synchronization E
Test First Synchronization With Long Lines E
Test getObjectFromGid E
Test getSynchronizationState E
Test Update Simple Data E
Test Get Conflict List E
Test Get Publisher And Subscriber Document EEEEEEEEEE
Test Synchronize With Strange Gid EEEEE
Test Broken Message E
Test Get Synchronization Type EE
Test Add One Way Subscription .
Test One Way Sync E
======================================================================
ERROR: test_06_GetObjectList (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 269, in test_06_GetObjectList
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_07_ExportImport (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 297, in test_07_ExportImport
self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_08_FirstSynchronization (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_09_FirstSynchronizationWithLongLines (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 438, in test_09_FirstSynchronizationWithLongLines
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_10_GetObjectFromGid (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 468, in test_10_GetObjectFromGid
self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_11_GetSynchronizationState (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 483, in test_11_GetSynchronizationState
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_12_UpdateSimpleData (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 556, in test_12_UpdateSimpleData
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_13_GetConflictList (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 603, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_14_GetPublisherAndSubscriberDocument (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 631, in test_14_GetPublisherAndSubscriberDocument
self.test_13_GetConflictList(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 603, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_15_ApplyPublisherValue (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 649, in test_15_ApplyPublisherValue
self.test_13_GetConflictList(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 603, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_16_ApplySubscriberValue (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 672, in test_16_ApplySubscriberValue
self.test_13_GetConflictList(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 603, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_17_AddSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 733, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_18_UpdateSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 767, in test_18_UpdateSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 733, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_19_DeleteObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 795, in test_19_DeleteObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_20_DeleteSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 827, in test_20_DeleteSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 733, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_21_GetConflictListOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 853, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 733, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_22_ApplyPublisherDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 886, in test_22_ApplyPublisherDocumentOnSubObject
self.test_21_GetConflictListOnSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 853, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 733, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_23_ApplySubscriberDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 916, in test_23_ApplySubscriberDocumentOnSubObject
self.test_21_GetConflictListOnSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 853, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 733, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_24_SynchronizeWithStrangeGid (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 952, in test_24_SynchronizeWithStrangeGid
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_25_MultiNodeConflict (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 993, in test_25_MultiNodeConflict
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_26_SynchronizeWorkflowHistory (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 1059, in test_26_SynchronizeWorkflowHistory
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_27_UpdateLocalRole (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 1085, in test_27_UpdateLocalRole
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_28_PartialData (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 1119, in test_28_PartialData
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_29_BrokenMessage (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 1163, in test_29_BrokenMessage
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_30_GetSynchronizationType (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 1190, in test_30_GetSynchronizationType
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_31_UpdateLocalPermission (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 1226, in test_31_UpdateLocalPermission
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 391, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_33_OneWaySync (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5SyncML.py", line 1286, in test_33_OneWaySync
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 201, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
----------------------------------------------------------------------
Ran 33 tests in 31.536s
FAILED (errors=27)
More information about the Erp5-report
mailing list