[Erp5-report] ERP5 Unit Test

seb at nexedi.com seb at nexedi.com
Thu Sep 28 15:51:25 CEST 2006


Date : 2006-09-28

Revision: 10393
Ran Unit test of CMFActivity
Ran 66 tests in 64.933s
OK

Ran Unit test of CMFCategory
Ran 24 tests in 52.981s
OK

Ran Unit test of ERP5Catalog
Ran 37 tests in 62.802s
OK

Ran Unit test of ListBox
Ran 6 tests in 43.201s
OK

Ran Unit test of Portal Preference
Ran 7 tests in 36.118s
OK

Ran Unit test of ERP5 Security
Ran 11 tests in 48.234s
OK

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

Ran Unit test of ERP5 Accounting l10n M9 (installation failed)
Ran 10 tests in 151.041s
FAILED (errors=10)

Ran Unit test of Accounting
Ran 15 tests in 382.776s
OK

Ran Unit test of Accounting Rules
Ran 14 tests in 166.943s
FAILED (errors=10)

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

Ran Unit test of Amount
Ran 1 test in 102.892s
OK

Ran Unit test of Base
Ran 19 tests in 56.983s
OK

Ran Unit test of Business Template
Ran 33 tests in 127.514s
OK

Ran Unit test of Domain Tool
Ran 5 tests in 126.499s
FAILED (errors=1)

Ran Unit test of ERP5 Budget
Ran 4 tests in 148.013s
FAILED (errors=1)

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

Ran Unit test of ERP5Core
Ran 1 test in 32.721s
OK

Ran Unit test of ERP5 HR
Ran 4 tests in 66.834s
OK

Ran Unit test of Gis
Ran 2 tests in 44.777s
OK

Ran Unit test of Immobilisation
Ran 21 tests in 219.560s
FAILED (errors=18)

Ran Unit test of Interaction Workflow
Ran 13 tests in 55.005s
OK

Ran Unit test of Tests getInventory methods.
Ran Unit test of Tests Movement history list methods.
Ran 37 tests in 161.062s
OK

Ran Unit test of Inventory Module
Ran 4 tests in 325.519s
FAILED (errors=3)

Ran Unit test of Inventory
Ran 2 tests in 356.355s
FAILED (errors=2)

Ran Unit test of Invoices
Ran 15 tests in 233.788s
FAILED (errors=14)

Ran Unit test of Invoices and VAT
Ran 4 tests in 135.255s
FAILED (errors=4)

Ran Unit test of Order
Ran 18 tests in 132.340s
FAILED (errors=14)

Ran Unit test of Packing List
Ran 13 tests in 138.798s
FAILED (errors=12)

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

Ran Unit test of Production Order
Ran 3 tests in 191.710s
FAILED (errors=3)

Ran Unit test of Resource
Ran 12 tests in 123.644s
FAILED (errors=3)

Ran Unit test of Transformation
Ran 1 test in 121.564s
FAILED (errors=1)

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

Ran Unit test of Constraint
Ran 9 tests in 52.621s
OK

Ran Unit test of ERP5Type
Ran 25 tests in 61.955s
OK

Ran Unit test of Folder
Ran 6 tests in 33.404s
OK

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

-------------- next part --------------
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.134s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.925s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.029s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.529s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.269s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.085s)

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

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

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.100s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.918s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.522s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.142s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ... done (29.914s)
Adding erp5_base business template ... done (10.729s)
Logout ... 
done (43.711s)
Ran Unit test of CMFCategory
........................
----------------------------------------------------------------------
Ran 24 tests in 52.981s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.112s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.917s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.137s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.088s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... done (29.963s)
Adding erp5_base business template ... done (10.822s)
Logout ... 
done (43.911s)
Ran Unit test of ERP5Catalog
.....................................
----------------------------------------------------------------------
Ran 37 tests in 62.802s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.912s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.023s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.033s)
Installing ERP5Form ... done (2.141s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_27fd033bf95fdc3939b1d537bd566a59 ERP5 Site ... done (29.941s)
Adding erp5_ui_test business template ... done (6.014s)
Logout ... 
done (38.510s)
Ran Unit test of ListBox
......
----------------------------------------------------------------------
Ran 6 tests in 43.201s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.913s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.524s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.178s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.010s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ... done (29.836s)
Logout ... 
done (31.861s)
Ran Unit test of Portal Preference
.......
----------------------------------------------------------------------
Ran 7 tests in 36.118s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.106s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.964s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.568s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.141s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.010s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d4f97a61db612fdada2586538e284446 ERP5 Site ... done (29.903s)
Adding erp5_base business template ... done (10.797s)
Logout ... 
done (43.787s)
Ran Unit test of ERP5 Security
...........
----------------------------------------------------------------------
Ran 11 tests in 48.234s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.127s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.930s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.518s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.150s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.089s)

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

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

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.915s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.516s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.133s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e95bc12f89154ad644e2510c93f4b035 ERP5 Site ... done (29.921s)
Adding erp5_base business template ... done (10.804s)
Adding erp5_trade business template ... done (32.138s)
Adding erp5_pdm business template ... done (6.417s)
Adding erp5_pdf_style business template ... done (0.595s)
Adding erp5_accounting business template ... done (27.978s)
Adding erp5_accounting_l10n_fr_m9 business template ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 519, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4092, in install
    return self._install(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4021, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 917, in install
    prop_value = obj.getProperty(prop, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined
Ran Unit test of ERP5 Accounting l10n M9 (installation failed)
EEEEEEEEEE
======================================================================
ERROR: test_AccountTypeConstaintFixForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 519, in setupERP5Site
    portal.portal_templates[id_].install(light_install=light_install)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4092, in install
    return self._install(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4021, in _install
    item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 917, in install
    prop_value = obj.getProperty(prop, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_AccountTypeConstaintFixForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintFixForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Tests that the accounting plan is well installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Simple use case for a transmission sheet.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Transmission sheet cannot be emitted if it doesn't contain any invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Checks the purchase invoice transmission sheet module is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 300, in setUp
    hot_reindexing=hot_reindexing)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

----------------------------------------------------------------------
Ran 10 tests in 151.041s

FAILED (errors=10)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.096s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.173s)
Installing Photo ... done (0.178s)
Installing Formulator ... done (1.056s)
Installing FCKeditor ... done (0.216s)
Installing ZSQLMethods ... done (0.009s)
Installing ZMySQLDA ... done (0.189s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.021s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.027s)
Installing PageTemplates ... done (0.009s)
Installing PythonScripts ... done (0.069s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.009s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.015s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.011s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.982s)
Installing CMFMailIn ... done (0.010s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.216s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.448s)
Installing ERP5Form ... done (1.838s)
Installing ERP5SyncML ... done (0.080s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.019s)
Installing ERP5OOo ... done (0.073s)
Installing ERP5Subversion ... done (0.152s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... done (30.273s)
Adding erp5_base business template ... done (10.820s)
Adding erp5_pdm business template ... done (6.320s)
Adding erp5_trade business template ... done (32.021s)
Adding erp5_accounting business template ... done (28.191s)
Logout ... 
done (115.564s)
Ran Unit test of Accounting
...............
----------------------------------------------------------------------
Ran 15 tests in 382.776s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.313s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.923s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.155s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... done (30.076s)
Adding erp5_base business template ... done (10.869s)
Adding erp5_pdm business template ... done (6.371s)
Adding erp5_trade business template ... done (32.132s)
Adding erp5_accounting business template ... done (28.321s)
Logout ... 
done (115.695s)
Ran Unit test of Accounting Rules
...EEEEEEEEEE.
======================================================================
ERROR: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1482, in test_04_SimpleInvoice
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 577, in stepCreateSimpleSaleInvoice
    self.assertEqual(invoice_line.getTotalPrice(), 100)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

======================================================================
ERROR: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1513, in test_04b_SimpleInvoiceConfirm
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 577, in stepCreateSimpleSaleInvoice
    self.assertEqual(invoice_line.getTotalPrice(), 100)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

======================================================================
ERROR: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1543, in test_04c_SimpleInvoiceTwoLines
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 709, in stepCreateSimpleSaleInvoiceTwoLines
    self.assertEqual(invoice_line1.getTotalPrice()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

======================================================================
ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1573, in test_04d_SimpleInvoiceTwoCells
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 750, in stepCreateSimpleSaleInvoiceTwoCells
    self.stepAddCellsInInvoiceLine(sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 775, in stepAddCellsInInvoiceLine
    variation_category_list = cell_key)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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/Predicate.py", line 323, in edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1012, in _edit
    old_value = self.getProperty(key)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1606, in test_05a_SimpleInvoiceReExpandAddLine
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 634, in stepAddInvoiceLine
    price = 10
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1637, in test_05b_SimpleInvoiceReExpandEditLine
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 654, in stepEditInvoiceLine
    self.assertEqual(invoice_line.getTotalPrice(), 100)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

======================================================================
ERROR: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1668, in test_05c_SimpleInvoiceReExpandDeleteLine
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 577, in stepCreateSimpleSaleInvoice
    self.assertEqual(invoice_line.getTotalPrice(), 100)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

======================================================================
ERROR: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1701, in test_05d_SimpleInvoiceReExpandCreateCell
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 780, in stepAddCellsInInvoiceLine
    self.assertEqual(invoice_line.getTotalPrice(), 100)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

======================================================================
ERROR: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1756, in test_05e_SimpleInvoiceExpandManyTimes
    """, quiet=quiet )
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 577, in stepCreateSimpleSaleInvoice
    self.assertEqual(invoice_line.getTotalPrice(), 100)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

======================================================================
ERROR: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1770, in test_06_MultiLineInvoice
    self.playSequence("""
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 827, in stepCreateMultiLineSaleInvoice
    notebook_line.getTotalPrice() + barebone_line.getTotalPrice())
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 263, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
TypeError: _getTotalPrice() got an unexpected keyword argument 'default'

----------------------------------------------------------------------
Ran 14 tests in 166.943s

FAILED (errors=10)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.149s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.065s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.921s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.521s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.152s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.086s)

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

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

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.125s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.928s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.522s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.159s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_0d7bd79f7d0b231461cc179eb8177e5b ERP5 Site ... done (30.045s)
Adding erp5_base business template ... done (10.897s)
Adding erp5_pdm business template ... done (6.378s)
Adding erp5_trade business template ... done (32.194s)
Adding erp5_apparel business template ... done (15.513s)
Logout ... 
done (101.436s)
Ran Unit test of Amount

Starting New Sequence 1... 
  Playing step... CreateAmount
  Playing step... CheckEmptyGetVariationPropertyDict
  Playing step... CheckEmptySetVariationPropertyDict
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... CreateAmount
  Playing step... SetAmountResource
  Playing step... CheckGetVariationPropertyDict
  Playing step... SetVariationPropertyDict
  Playing step... CheckGetVariationPropertyDict
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... CreateAmount
  Playing step... SetAmountResource
  Playing step... SetWrongVariationPropertyDict
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... CreateAmount
  Playing step... SetAmountResource
  Playing step... CheckEdit
  Playing step... CheckGetVariationPropertyDict.
----------------------------------------------------------------------
Ran 1 test in 102.892s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.130s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.941s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.526s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.386s)
Installing ERP5Form ... done (1.816s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.088s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... done (30.117s)
Adding erp5_base business template ... done (10.819s)
Logout ... 
done (44.024s)
Ran Unit test of Base
...................
----------------------------------------------------------------------
Ran 19 tests in 56.983s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.105s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.915s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.029s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.524s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.168s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.010s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.086s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... done (29.932s)
Adding erp5_csv_style business template ... done (0.605s)
Adding erp5_pdf_style business template ... done (0.545s)
Logout ... 
done (32.958s)
Ran Unit test of Business Template
.................................
----------------------------------------------------------------------
Ran 33 tests in 127.514s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.136s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.917s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.038s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.518s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.216s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.089s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... done (30.161s)
Adding erp5_base business template ... done (10.939s)
Adding erp5_pdm business template ... done (6.363s)
Adding erp5_trade business template ... done (32.342s)
Adding erp5_apparel business template ... done (15.072s)
Logout ... 
done (101.555s)
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 E
======================================================================
ERROR: test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 409, in test_05_GenerateMappedValueWithVariation
    self.assertEquals(self.resource.getPrice( self.resource.asContext(categories=['resource/%s' % self.resource.getRelativeUrl(),'variation/%s/blue' % self.resource.getRelativeUrl()]),sort_method=sort_method),45)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 5 tests in 126.499s

FAILED (errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.122s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.920s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.521s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.034s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.386s)
Installing ERP5Form ... done (1.819s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.089s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_a8a4d6ea3b58ec3f7cdb7fc71a26e973 ERP5 Site ... done (30.271s)
Adding erp5_base business template ... done (10.944s)
Adding erp5_pdm business template ... done (6.383s)
Adding erp5_trade business template ... done (32.383s)
Adding erp5_accounting business template ... done (28.666s)
Adding erp5_budget business template ... done (5.100s)
Logout ... 
done (121.937s)
Ran Unit test of ERP5 Budget

Test Has Everything .
Test Has Budget Cells 
cell_0_0_1: financial_section/actif/actif_circulant/caisse, function/hq, group/world_company, 3000.0
cell_0_1_0: financial_section/actif/actif_immobilise/immobilisations_financieres, function/hq, group/world_company, 1000.0
 .
Test if there is enough budget before validating an accounting transaction 
confirmed 
confirmed .
Test if the transaction of budget is authorized E
======================================================================
ERROR: test_04_Transaction_of_budget (testERP5Budget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testERP5Budget.py", line 530, in test_04_Transaction_of_budget
    self.stepDeliverBudgetTransaction(self.budget_transaction1)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testERP5Budget.py", line 105, in stepDeliverBudgetTransaction
    wf_id='budget_transaction_workflow')
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 240, in DCWorkflowDefinition_executeTransition
    raise validation_exc
ValidationFailed: Please correct the following errors: Date is not defined.

----------------------------------------------------------------------
Ran 4 tests in 148.013s

FAILED (errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.115s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.934s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.539s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.387s)
Installing ERP5Form ... done (1.807s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

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

Rename Category .
Rename Category Tree .
Rename Related Object .
Rename Object With a related Sub Object .
Rename Membership Criterion Category .
Rename Module With an Object Related to an Object it Contains .
Rename a Base Category with a Person Related to a Sub-Sub-Sub-Category .
Rename a Module with Contained Objects Refering to Other Objects inside the Same Module .
----------------------------------------------------------------------
Ran 8 tests in 114.605s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.920s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.530s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.156s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.086s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_99235ecfa4a096fe03307aeab7a33fbd ERP5 Site ... done (30.143s)
Logout ... 
done (32.224s)
Ran Unit test of ERP5Core
.
----------------------------------------------------------------------
Ran 1 test in 32.721s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.120s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.918s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.541s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.034s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.147s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.062s)
Installing ERP5Subversion ... done (0.091s)

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

Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... SetOrganisationCategories
  Playing step... ResetOrganisationCategories
  Playing step... SetOrganisationAddress.
Starting New Sequence 1... 
  Playing step... CreatePerson
  Playing step... CreateOrganisation
  Playing step... SetPersonCareer
  Playing step... CheckPersonCareer.
Starting New Sequence 1... 
  Playing step... CreatePerson
  Playing step... CreateOrganisation
  Playing step... SetPersonCareer
  Playing step... AddCareerStepInAnotherOrganisation
  Playing step... CheckCareerSubordination.
Starting New Sequence 1... 
  Playing step... CreatePerson
  Playing step... CreateOrganisation
  Playing step... SetOrganisationAddress
  Playing step... SetPersonCareer
  Playing step... CheckChangePersonAddress.
----------------------------------------------------------------------
Ran 4 tests in 66.834s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.916s)
Installing FCKeditor ... done (0.058s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.029s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.041s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.160s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e381d50264f1774871fa07c9f53d9194 ERP5 Site ... done (29.746s)
Adding erp5_base business template ... done (10.792s)
Logout ... 
done (43.656s)
Ran Unit test of Gis

Starting New Sequence 1... 
  Playing step... CreateEntity
  Playing step... CreateAddress
  Playing step... SetTextAddressValue
  Playing step... CheckAddressText.
Starting New Sequence 1... 
  Playing step... CreateEntity
  Playing step... CreateAddress
  Playing step... SetTextAddressValue
  Playing step... CreateAsTextScript
  Playing step... CheckAddressAsTextScript.
----------------------------------------------------------------------
Ran 2 tests in 44.777s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.120s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.923s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.516s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.175s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.044s)
Installing ERP5Subversion ... done (0.090s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ... done (30.275s)
Adding erp5_base business template ... done (10.994s)
Adding erp5_trade business template ... done (32.703s)
Adding erp5_pdm business template ... done (6.492s)
Adding erp5_accounting business template ... done (28.514s)
Adding erp5_apparel business template ... done (15.247s)
Adding erp5_immobilisation business template ... done (12.790s)
Logout ... 
done (146.244s)
Ran Unit test of Immobilisation

Test Single Packing List Immobilisation State Change
Starting New Sequence 1... 
  Playing step... SetTest01SequenceData
  Playing step... CreatePackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... Tic
  Playing step... TestPackingListValidImmobilisationState
  Playing step... AggregateItems
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... Tic
  Playing step... TestPackingListValidImmobilisationState.
Test Single Item Immobilisation State Change
Starting New Sequence 1... 
  Playing step... SetTest02SequenceData
  Playing step... DeleteAllPackingLists
  Playing step... CreatePackingList
  Playing step... AggregateItems
  Playing step... CreatePackingList
  Playing step... AggregateItems
  Playing step... CreatePackingList
  Playing step... AggregateItems
  Playing step... Tic
  Playing step... UseSecondPackingList
  Playing step... EditPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... UseFirstPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseThirdPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... Tic
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseSecondPackingList
  Playing step... TestPackingListValidImmobilisationState.
Test Complex Item Structure Immobilisation State Change
Starting New Sequence 1... 
  Playing step... DeleteAllPackingLists
  Playing step... CreateComplexPackingListStructure
  Playing step... Tic
  Playing step... UseSecondPackingList
  Playing step... EditPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... UseFirstPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseThirdPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseFourthPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... Tic
  Playing step... UseFirstPackingList
  Playing step... EditPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... UseSecondPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseThirdPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... UseFourthPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... Tic
  Playing step... UseThirdPackingList
  Playing step... EditPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... UseFirstPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseSecondPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseFourthPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... Tic
  Playing step... EditPackingList
  Playing step... TestPackingListCalculatingImmobilisationState
  Playing step... UseFirstPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseSecondPackingList
  Playing step... TestPackingListValidImmobilisationState
  Playing step... UseThirdPackingList
  Playing step... TestPackingListValidImmobilisationState.
Test Continuous Method Movement Validity
Starting New Sequence 1... 
  Playing step... SetTest04SequenceData
  Playing step... DeleteAllPackingLists
  Playing step... CreatePackingListsForContinuousAmortisationPeriodListE
Test Immobilisation Periods With Continuous Method During Continuous Time
Starting New Sequence 1... 
  Playing step... SetTest05SequenceData
  Playing step... CreatePackingListsForContinuousAmortisationPeriodListE
Test Immobilisation Periods With Continuous Method During Uncontinuous Time
Starting New Sequence 1... 
  Playing step... SetTest06SequenceData
  Playing step... CreatePackingListsForUncontinuousAmortisationPeriodListE
Test Immobilisation Periods With Uncontinuous Method During Continuous Time
Starting New Sequence 1... 
  Playing step... SetTest07SequenceData
  Playing step... CreatePackingListsForContinuousAmortisationPeriodListE
Test Immobilisation Periods With Uncontinuous Method During Uncontinuous Time
Starting New Sequence 1... 
  Playing step... SetTest08SequenceData
  Playing step... CreatePackingListsForUncontinuousAmortisationPeriodListE
Test Amortisation Price And Simulation For Linear Amortisation
Starting New Sequence 1... 
  Playing step... SetTest09SequenceData
  Playing step... CreatePackingListsForSimpleItemImmobilisationE
Test Amortisation Price For Degressive Amortisation
Starting New Sequence 1... 
  Playing step... SetTest10SequenceData
  Playing step... CreatePackingListsForSimpleItemImmobilisationE
Test Amortisation Price And Simulation For Uncontinuous Degressive Amortisation
Starting New Sequence 1... 
  Playing step... SetTest11SequenceData
  Playing step... CreatePackingListsForSimpleItemImmobilisationE
Test Amortisation Price For Actual Use Amortisation
Starting New Sequence 1... 
  Playing step... SetTest12SequenceData
  Playing step... CreatePackingListsForSimpleItemImmobilisationE
Test Amortisation Price For No Amortisation Method
Starting New Sequence 1... 
  Playing step... SetTest13SequenceData
  Playing step... CreatePackingListsForSimpleItemImmobilisationE
Test Owner Change Simulation For Continuous Amortisation Method
Starting New Sequence 1... 
  Playing step... SetTest14SequenceData
  Playing step... CreatePackingListsForSimulationTestE
Test Owner Change Simulation For Uncontinuous Amortisation Method
Starting New Sequence 1... 
  Playing step... SetTest15SequenceData
  Playing step... CreatePackingListsForSimulationTestE
Test Owner Change Simulation For Continuous Amortisation Method
Starting New Sequence 1... 
  Playing step... SetTest16SequenceData
  Playing step... CreatePackingListsForNoChangeMethodSimulationTestE
Test Monthly Amortisation
Starting New Sequence 1... 
  Playing step... SetTest17SequenceData
  Playing step... CreatePackingListsForMonthlyAmortisationTestE
Test Simple Accounting Build
Starting New Sequence 1... 
  Playing step... SetTest18SequenceData
  Playing step... DeleteAllPackingLists
  Playing step... Tic
  Playing step... TestAllAppliedRulesAreEmpty
  Playing step... CreatePackingList
  Playing step... AggregateItemsE
Test Accounting Build And Divergence Behavior
Starting New Sequence 1... 
  Playing step... SetTest19SequenceData
  Playing step... DeleteAccounting
  Playing step... Tic
  Playing step... DeleteAllPackingLists
  Playing step... Tic
  Playing step... TestAllAppliedRulesAreEmpty
  Playing step... CreatePackingList
  Playing step... AggregateItemsE
Test Accounting Accept Decision Solver
Starting New Sequence 1... 
  Playing step... SetTest20SequenceData
  Playing step... DeleteAccounting
  Playing step... Tic
  Playing step... DeleteAllPackingLists
  Playing step... Tic
  Playing step... TestAllAppliedRulesAreEmpty
  Playing step... CreatePackingList
  Playing step... AggregateItemsE
Test Simulation Building With Validated Transactions
Starting New Sequence 1... 
  Playing step... SetTest21SequenceData
  Playing step... DeleteAccounting
  Playing step... Tic
  Playing step... DeleteAllPackingLists
  Playing step... Tic
  Playing step... TestAllAppliedRulesAreEmpty
  Playing step... CreatePackingList
  Playing step... AggregateItemsE
======================================================================
ERROR: test_04_TestContinuousMethodMovementValidity (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 2856, in test_04_TestContinuousMethodMovementValidity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 410, in stepCreatePackingListsForContinuousAmortisationPeriodList
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 2876, in test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 410, in stepCreatePackingListsForContinuousAmortisationPeriodList
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 2897, in test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 465, in stepCreatePackingListsForUncontinuousAmortisationPeriodList
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 2919, in test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 410, in stepCreatePackingListsForContinuousAmortisationPeriodList
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 2941, in test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 465, in stepCreatePackingListsForUncontinuousAmortisationPeriodList
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 2961, in test_09_TestAmortisationPriceAndSimulationForLinearAmortisation
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 526, in stepCreatePackingListsForSimpleItemImmobilisation
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_10_TestAmortisationPriceForDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 2981, in test_10_TestAmortisationPriceForDegressiveAmortisation
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 526, in stepCreatePackingListsForSimpleItemImmobilisation
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3002, in test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 526, in stepCreatePackingListsForSimpleItemImmobilisation
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3022, in test_12_TestAmortisationPriceForActualUseDegressiveAmortisation
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 526, in stepCreatePackingListsForSimpleItemImmobilisation
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_13_TestAmortisationPriceForNoAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3043, in test_13_TestAmortisationPriceForNoAmortisationMethod
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 526, in stepCreatePackingListsForSimpleItemImmobilisation
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3082, in test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 561, in stepCreatePackingListsForSimulationTest
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3108, in test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 561, in stepCreatePackingListsForSimulationTest
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3133, in test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 600, in stepCreatePackingListsForNoChangeMethodSimulationTest
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_17_TestMonthlyAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3152, in test_17_TestMonthlyAmortisation
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 657, in stepCreatePackingListsForMonthlyAmortisationTest
    self.stepAggregateItems(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3197, in test_18_TestAccountingBuilding
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3272, in test_19_TestAccountingBuildingAndDivergence
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3316, in test_20_TestAccountingAcceptDecisionSolver
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

======================================================================
ERROR: test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3395, in test_21_TestSimulationBuildingWithValidatedTransactions
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 364, in stepAggregateItems
    pl_line.edit(aggregate_value_list = item_list, **parameter_dict)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 826, in getProperty
    return method(**kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 148, in __call__
  File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/Category.py", line 157, in __call__
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1614, in _getDefaultAcquiredCategoryMembership
    spec=spec, filter=filter, portal_type=portal_type, base=base)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1564, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1027, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1045, in getAcquiredCategoryMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 773, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 786, in getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 794, in _getSingleCategoryAcquiredMembershipList
  File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 911, in _getSingleCategoryAcquiredMembershipList
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 259, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 271, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Cache.py", line 140, in __call__
    obj.result = self.method(*args, **kwd)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/Base.py", line 105, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 135, in compile
    return handler(type, expr, self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 135, in __init__
    add(SubPathExpr(path)._eval)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/Expressions.py", line 85, in __init__
    raise CompilerError, 'Invalid variable name "%s"' % base
CompilerError: Invalid variable name "[]"

----------------------------------------------------------------------
Ran 21 tests in 219.560s

FAILED (errors=18)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.127s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (0.918s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.519s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.384s)
Installing ERP5Form ... done (1.850s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.089s)

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

No Interactions .
Interactions On Edit .
Interactions, Edit Set Description and also After Script .
Interactions, Automatic Workflow Method .
Interactions, Automatic Workflow Method With Extra Base Category .
Interactions, Check If There Is Only One Call .
Interactions, Check If The Return Value Is Not Altered .
Interactions, Check If Multiple method_id Can Be Hooked .
Interactions, Check if the same method_id can be hooked by two Interactions .
Interactions, check if multiple scripts can be called .
Interactions, Test that the private accessor is called .
Interactions, Test that the private accessor is called, when using an Acquired Property .
Interactions, Check that edit does not detect the property modified in interaction script as modified by user .
----------------------------------------------------------------------
Ran 13 tests in 55.005s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.110s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
/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)
Installing ExtFile ... done (0.055s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.986s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.038s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.008s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.029s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.011s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.009s)
Installing CMFActivity ... done (0.019s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.198s)
Installing ERP5Form ... done (1.818s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 ERP5 Site ... done (29.754s)
Adding erp5_base business template ... done (10.826s)
Adding erp5_dummy_movement business template ... done (0.264s)
Logout ... 
done (43.990s)
Ran Unit test of Tests getInventory methods.
  
............
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 ERP5 Site ... done (29.299s)
Adding erp5_base business template ... done (10.094s)
Adding erp5_dummy_movement business template ... done (0.179s)
Logout ... 
done (42.989s)
Ran Unit test of Tests Movement history list methods.
  
.........................
----------------------------------------------------------------------
Ran 37 tests in 161.062s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.170s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.926s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.009s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.527s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.365s)
Installing ERP5Form ... done (1.826s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.088s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... done (30.112s)
Adding erp5_base business template ... done (10.924s)
Adding erp5_pdm business template ... done (6.364s)
Adding erp5_trade business template ... done (32.403s)
Adding erp5_apparel business template ... done (15.113s)
Logout ... 
done (101.553s)
Ran Unit test of Inventory Module

Test Not Variated Inventory 
Starting New Sequence 1... 
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateFirstNotVariatedInventory
  Playing step... Tic
  Playing step... CheckFirstNotVariatedInventory
  Playing step... CreateSecondNotVariatedInventory
  Playing step... Tic
  Playing step... CheckSecondNotVariatedInventory.
Test Variated Inventory 
Starting New Sequence 1... 
  Playing step... CreateVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateFirstVariatedInventoryE
Test Variated Aggregated Inventory 
Starting New Sequence 1... 
  Playing step... CreateVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateItem
  Playing step... CreateItem
  Playing step... CreateFirstVariatedAggregatedInventoryE
Test getInventoryList and Variated Aggregated Inventory 
Starting New Sequence 1... 
  Playing step... CreateVariatedResource
  Playing step... CreateOrganisation1
  Playing step... CreateInitialMovements
  Playing step... Tic
  Playing step... CreateItem
  Playing step... CreateItem
  Playing step... CreateFirstVariatedAggregatedInventoryE
======================================================================
ERROR: test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 368, in test_02_VariatedInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 278, in stepCreateFirstVariatedInventory
    sequence=sequence, quantity=quantity)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 262, in createVariatedInventoryLine
    variation_category_list=cell_key,)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/Predicate.py", line 323, in edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/InventoryCell.py", line 71, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1012, in _edit
    old_value = self.getProperty(key)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 530, in test_03_VariatedAggregatedInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 396, in stepCreateFirstVariatedAggregatedInventory
    sequence=sequence, quantity=quantity)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 262, in createVariatedInventoryLine
    variation_category_list=cell_key,)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/Predicate.py", line 323, in edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/InventoryCell.py", line 71, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1012, in _edit
    old_value = self.getProperty(key)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 558, in test_04_VariatedAggregatedInventoryGetInventoryList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 396, in stepCreateFirstVariatedAggregatedInventory
    sequence=sequence, quantity=quantity)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 262, in createVariatedInventoryLine
    variation_category_list=cell_key,)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/Predicate.py", line 323, in edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/InventoryCell.py", line 71, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1012, in _edit
    old_value = self.getProperty(key)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 4 tests in 325.519s

FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.924s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.038s)
Installing ZMailIn ... done (0.033s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.009s)
Installing MailHost ... done (0.021s)
Installing PageTemplates ... done (0.016s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.513s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.397s)
Installing ERP5Form ... done (1.815s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (3.830s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_2007b7d0ea09f77195204bf0c30be51b ERP5 Site ... done (30.060s)
Adding erp5_base business template ... done (10.864s)
Adding erp5_pdm business template ... done (6.336s)
Adding erp5_trade business template ... done (32.156s)
Adding erp5_apparel business template ... done (14.971s)
Adding erp5_accounting business template ... done (28.572s)
Logout ... 
done (132.523s)
Ran Unit test of Inventory

Starting New Sequence 1... 
  Playing step... CreateOrganisationList
  Playing step... CreateOrder
  Playing step... CreateVariatedResourceList
  Playing step... CreatePackingListList
  Playing step... Tic
  Playing step... CreateTestingCategories
  Playing step... Tic
  Playing step... TestGetInventoryOnNode
  Playing step... TestGetInventoryOnVariationCategory
  Playing step... TestGetInventoryOnPayment
  Playing step... TestGetInventoryOnSection
  Playing step... TestGetInventoryOnMirrorSection
  Playing step... TestGetInventoryOnResource
  Playing step... TestGetInventoryWithOmitInput
  Playing step... TestGetInventoryWithOmitOutput
  Playing step... TestGetInventoryOnSimulationStateE
Starting New Sequence 1... 
  Playing step... CreateOrganisationsForModule
  Playing step... CreateVariatedResource
  Playing step... CreateItemList
  Playing step... CreatePackingListForModuleE
======================================================================
ERROR: test_01_getInventory (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1687, in test_01_getInventory
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1090, in stepTestGetInventoryOnSimulationState
    self.stepTic()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
    self.tic()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 429, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_2007b7d0ea09f77195204bf0c30be51b/portal_deliveries/sale_invoice_builder', 'build', -2, 6)]

======================================================================
ERROR: test_02_InventoryModule (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1714, in test_02_InventoryModule
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventory.py", line 234, in stepCreatePackingListForModule
    self.tic() # acceptable here because this is not the job
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 429, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_2007b7d0ea09f77195204bf0c30be51b/sale_packing_list_module/5', 'updateCausalityState', 1, 1), ('/erp5_portal_2007b7d0ea09f77195204bf0c30be51b/portal_deliveries/sale_invoice_builder', 'build', -2, 6), ('/erp5_portal_2007b7d0ea09f77195204bf0c30be51b/sale_packing_list_module/5', 'expand', -2, 6)]

----------------------------------------------------------------------
Ran 2 tests in 356.355s

FAILED (errors=2)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.418s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.153s)
Installing Formulator ... done (0.924s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.012s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.029s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.525s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.417s)
Installing ERP5Form ... done (1.803s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.482s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... done (30.017s)
Adding erp5_base business template ... done (10.831s)
Adding erp5_pdm business template ... done (6.327s)
Adding erp5_trade business template ... done (32.190s)
Adding erp5_apparel business template ... done (14.994s)
Adding erp5_accounting business template ... done (28.574s)
Logout ... 
done (132.489s)
Ran Unit test of Invoices
.
Simple Invoice 
Starting New Sequence 1... 
  Playing step... CreateSaleInvoiceTransactionRule/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py:1195: FutureWarning: getParent implementation still returns the parent object, which is inconsistant with CMFCategory API. Use getParentValue instead
  "Use getParentValue instead", FutureWarning)

  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... SetOrderLineDefaultValuesE
Two Invoices from Two Packing List 
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... SetOrderLineDefaultValuesE
Invoice Edit 
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... SetOrderLineDefaultValuesE
Packing List Edit 
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... SetOrderLineDefaultValuesE
Packing List Line Edit 
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... SetOrderLineDefaultValuesE
Packing List Line Delete 
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... SetOrderLineDefaultValuesE
Packing List Line Add 
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... SetOrderLineDefaultValuesE
Invoice Decrease Qantity 
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... SetOrderLineDefaultValuesE
Invoice Change Sart Date 
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... SetOrderLineDefaultValuesE
InvoiceAcceptDecisionOnPackingList 
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... SetOrderLineDefaultValuesE
InvoiceAcceptDecisionOnPackingListAndInvoice 
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... SetOrderLineDefaultValuesE
InvoiceSplitPackingListAndAcceptInvoice 
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... SetOrderLineDefaultValuesE
InvoiceSplitAndDeferInvoice 
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... SetOrderLineDefaultValuesE
InvoiceAcceptDecisionOnInvoice 
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... SetOrderLineDefaultValuesE
======================================================================
ERROR: test_01_SimpleInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1069, in test_01_SimpleInvoice
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1102, in test_02_TwoInvoicesFromTwoPackingList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_03_InvoiceEditAndInvoiceRule (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1133, in test_03_InvoiceEditAndInvoiceRule
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_04_PackingListEditAndInvoiceRule (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1151, in test_04_PackingListEditAndInvoiceRule
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_05_InvoiceEditPackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1175, in test_05_InvoiceEditPackingListLine
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_06_InvoiceDeletePackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1200, in test_06_InvoiceDeletePackingListLine
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_07_InvoiceAddPackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1227, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_08_InvoiceDecreaseQuantity (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1264, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_09_InvoiceChangeStartDate (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1301, in test_09_InvoiceChangeStartDate
    self.playSequence(sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_10_AcceptDecisionOnPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1364, in test_10_AcceptDecisionOnPackingList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1445, in test_11_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1552, in test_12_SplitPackingListAndAcceptInvoice
    self.playSequence(sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_13_SplitAndDeferInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1619, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_14_AcceptDecisionOnInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1684, in test_14_AcceptDecisionOnInvoice
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 15 tests in 233.788s

FAILED (errors=14)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.106s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.915s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.029s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.514s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.382s)
Installing ERP5Form ... done (1.813s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.086s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_a5cda8653174ac2532ca143c067402a9 ERP5 Site ... done (29.957s)
Adding erp5_base business template ... done (10.761s)
Adding erp5_pdm business template ... done (6.310s)
Adding erp5_trade business template ... done (31.911s)
Adding erp5_accounting business template ... done (28.163s)
Logout ... 
done (115.035s)
Ran Unit test of Invoices and VAT
EEEE
======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 465, in test_InvoiceTwoLinesWithSameResource
    resource_value=resource )
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 497, in test_InvoiceTwoLinesWithSameResourceDifferentDate
    resource_value=resource )
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 67, in WorkflowTool_wrapWorkflowMethod
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 376, in test_SimpleInvoice
    resource_value=resource )
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 401, in test_SimpleInvoiceEmptyLines
    resource_value=resource )
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 4 tests in 135.255s

FAILED (errors=4)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.131s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.956s)
Installing FCKeditor ... done (0.059s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.522s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.140s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.089s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... done (30.171s)
Adding erp5_base business template ... done (10.967s)
Adding erp5_pdm business template ... done (6.413s)
Adding erp5_trade business template ... done (32.390s)
Adding erp5_apparel business template ... done (15.382s)
Logout ... 
done (101.680s)
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... CompleteOrderLineMatrixE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckOrderTotalQuantity
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrder
  Playing step... CheckOrderTotalPrice
Starting New Sequence 2... 
  Playing step... CreateOrder
  Playing step... CreateNotVariatedResource
  Playing step... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... CreateOrderLine
  Playing step... CheckOrder
  Playing step... CheckOrderInitialState
  Playing step... Tic
  Playing step... CheckOrderLineState
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... CreateOrderLine
  Playing step... CheckOrder
  Playing step... CheckOrderInitialState
  Playing step... CheckOrderLineAcquisition
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
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... CreateOrderLine
  Playing step... CheckOrderLineEmptyMatrix
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrganisation
  Playing step... CreateOrder
  Playing step... CreateVariatedResource
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  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... SetOrderLineDefaultValuesE
======================================================================
ERROR: test_05_OrderLine_Matrix (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1191, in test_05_OrderLine_Matrix
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 371, in stepCompleteOrderLineMatrix
    variation_category_list=cell_key)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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/Predicate.py", line 323, in edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
  File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1012, in _edit
    old_value = self.getProperty(key)
  File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_06_OrderLine_getTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1245, in test_06_OrderLine_getTotalQuantity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_07_OrderLine_getTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1266, in test_07_OrderLine_getTotalPrice
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1281, in test_07b_OrderLine_getTotalPriceAndQuantityFastParameter
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_08_Order_testTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1317, in test_08_Order_testTotalQuantity
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_08b_Order_testTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1334, in test_08b_Order_testTotalPriceAndQuantityFastParameter
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_09_Order_testTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1370, in test_09_Order_testTotalPrice
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_10_Order_testSimulationState (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1395, in test_10_Order_testSimulationState
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_11_testPropertiesAcquisition (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1415, in test_11_testPropertiesAcquisition
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_12_testAppliedRuleGeneration (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1512, in test_12_testAppliedRuleGeneration
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_13_testAppliedRuleUpdate (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1554, in test_13_testAppliedRuleUpdate
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_15_deliveryBuilder (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1686, in test_15_deliveryBuilder
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1721, in test_16_deliveryBuilderWithNoTic
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_17_orderExpand (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1794, in test_17_orderExpand
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 18 tests in 132.340s

FAILED (errors=14)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.127s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.951s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.022s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.040s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.523s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.383s)
Installing ERP5Form ... done (1.824s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... done (30.156s)
Adding erp5_base business template ... done (10.931s)
Adding erp5_pdm business template ... done (6.369s)
Adding erp5_trade business template ... done (32.355s)
Adding erp5_apparel business template ... done (15.084s)
Logout ... 
done (101.527s)
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
Starting New Sequence 1... 
  Playing step... CreateOrganisation1
  Playing step... CreateOrganisation2
  Playing step... CreateOrganisation3
  Playing step... CreateOrder
  Playing step... SetOrderProfile
  Playing step... CreateVariatedResource
  Playing step... Tic
  Playing step... CreateOrderLine
  Playing step... SetOrderLineResource
  Playing step... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE
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... SetOrderLineDefaultValuesE.
======================================================================
ERROR: test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 655, in test_01_PackingListDecreaseQuantity
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_02_PackingListChangeDestination (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 676, in test_02_PackingListChangeDestination
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 697, in test_03_PackingListChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_04_PackingListDeleteLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 716, in test_04_PackingListDeleteLine
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 738, in test_05_SimulationChangeQuantity
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 760, in test_06_SimulationChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 784, in test_07_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_08_AddContainers (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 806, in test_08_AddContainers
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 828, in test_09_AddContainersWithVariatedResources
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 856, in test_10_PackingListIncreaseQuantity
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 888, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 907, in test_12_PackingListLineChangeResource
    sequence_list.play(self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 444, in stepSetOrderLineDefaultValues
    price=self.default_price)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 121, in __call__
    (instance,) + args, kw)
  File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
  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 "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
    return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
    force_update = force_update, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 1010, in _edit
    old_value = self.getProperty(key, evaluate=0)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 812, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 240, in getPrice
    local_price = self._getPrice(context=self.asContext(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Movement.py", line 203, in _getPrice
    return context.Movement_lookupPrice()
  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 3, in Movement_lookupPrice
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 13 tests in 138.798s

FAILED (errors=12)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.110s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.918s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.516s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.381s)
Installing ERP5Form ... done (1.812s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ... done (29.956s)
Adding erp5_base business template ... done (10.805s)
Logout ... 
done (43.847s)
Ran Unit test of Predicates
......
----------------------------------------------------------------------
Ran 6 tests in 47.184s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.049s)
Installing Formulator ... done (0.916s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.082s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.522s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.161s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... done (30.154s)
Adding erp5_base business template ... done (10.958s)
Adding erp5_pdm business template ... done (6.397s)
Adding erp5_trade business template ... done (32.337s)
Adding erp5_apparel business template ... done (15.374s)
Adding erp5_mrp business template ... done (9.313s)
Logout ... 
done (111.298s)
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... TicE
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... TicE
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... TicE
======================================================================
ERROR: test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 878, in test_01_testProductionSimulationExpand
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
    self.tic()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 429, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_445eec84cfafcd54035971a79b90526e/production_order_module/1', 'expand', -2, 6)]

======================================================================
ERROR: test_02_testSourcingSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 904, in test_02_testSourcingSimulationExpand
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
    self.tic()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 429, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_445eec84cfafcd54035971a79b90526e/production_order_module/1', 'expand', -2, 6)]

======================================================================
ERROR: test_03_testIndustrialPhase (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 931, in test_03_testIndustrialPhase
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
    self.tic()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 429, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_445eec84cfafcd54035971a79b90526e/production_order_module/1', 'expand', -2, 6)]

----------------------------------------------------------------------
Ran 3 tests in 191.710s

FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.105s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.932s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.540s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.383s)
Installing ERP5Form ... done (1.814s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... done (30.188s)
Adding erp5_base business template ... done (10.928s)
Adding erp5_pdm business template ... done (6.399s)
Adding erp5_trade business template ... done (32.363s)
Adding erp5_apparel business template ... done (15.090s)
Logout ... 
done (101.578s)
Ran Unit test of Resource
.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationBaseCategoryList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationRangeCategoryItemList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryListWithoutOmit.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemList.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 2... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 3... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 4... 
  Playing step... CreateResource
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 5... 
  Playing step... CreateResource
  Playing step... SetCategoryVariation
  Playing step... SetIndividualVariationWithEmptyBase
  Playing step... SetIndividualVariationWithFillBase
  Playing step... Tic
  Playing step... CheckGetVariationCategoryItemListWithoutOmit.
Starting New Sequence 1... 
  Playing step... CreateResource
  Playing step... CheckGetVariationPropertyList
  Playing step... CheckSetVariationPropertyList
  Playing step... CheckGetVariationPropertyList.
Starting New Pricing Case 0...
  Creating product...
  Commit transaction...
  Tic...
  Check product price...E
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...E
  Creating generic fake supply ...
  Creating fake product 33...
  Creating fake node 11...
  Creating fake supply 11...
  Creating fake supply line 11...
  Creating fake node 12...
  Creating fake supply 12...
  Creating fake supply line 12...
  Creating fake node 13...
  Creating fake supply 13...
  Creating fake supply line 13...
  Creating generic fake supply line ...
  Creating fake product 34...
  Creating fake node 11...
  Creating fake supply 11...
  Creating fake supply line 11...
  Creating fake node 12...
  Creating fake supply 12...
  Creating fake supply line 12...
  Creating fake node 13...
  Creating fake supply 13...
  Creating fake supply line 13...
  Creating generic fake supply line ...
  Commit transaction...
  Tic...
  Check product AnotherFakeProduct33 with destination FakeNode3311E
======================================================================
ERROR: test_09_getPrice (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testResource.py", line 582, in test_09_getPrice
    self.assertEquals(config['price'], product.getPrice())
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testResource.py", line 651, in test_10_getPriceWithOptions
    self.assertEquals(1, product.getPrice(context=supply_line))
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

======================================================================
ERROR: test_11_getPriceWithDestination (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testResource.py", line 740, in test_11_getPriceWithDestination
    product.getPrice(
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 12 tests in 123.644s

FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.127s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (0.941s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.009s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.561s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.384s)
Installing ERP5Form ... done (1.829s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... done (30.113s)
Adding erp5_base business template ... done (10.892s)
Adding erp5_pdm business template ... done (6.359s)
Adding erp5_trade business template ... done (32.324s)
Adding erp5_apparel business template ... done (15.058s)
Logout ... 
done (101.337s)
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... VerifyTransformationAggregatedAmountListE
======================================================================
ERROR: test_01_getAggregatedAmountList (testTransformation.TestTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testTransformation.py", line 720, in test_01_getAggregatedAmountList
    sequence_list.play(self)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
    step.play(context, sequence=self, quiet=quiet)
  File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
    method(sequence=sequence)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testTransformation.py", line 467, in stepVerifyTransformationAggregatedAmountList
    self.verifyAggregatedAmountList(transformation, expected_list)
  File "/home/seb/zope/unit_test/Products/ERP5/tests/testTransformation.py", line 636, in verifyAggregatedAmountList
    a_price = a_amount.getTotalPrice()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Amount.py", line 384, in getTotalPrice
    resource_price = self.getResourcePrice()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Amount.py", line 350, in getResourcePrice
    return resource.getPrice(context=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/Resource.py", line 643, in getPrice
    if isinstance(default, Base) and context is None:
NameError: global name 'Base' is not defined

----------------------------------------------------------------------
Ran 1 test in 121.564s

FAILED (errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.103s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.958s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.009s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.014s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.548s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.382s)
Installing ERP5Form ... done (1.827s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.086s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... done (30.216s)
Logout ... 
done (32.258s)
Ran Unit test of Trash Tool
....
----------------------------------------------------------------------
Ran 4 tests in 37.164s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.121s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.945s)
Installing FCKeditor ... done (0.071s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.061s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.140s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.090s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... done (30.223s)
Adding erp5_base business template ... done (10.910s)
Logout ... 
done (44.212s)
Ran Unit test of Constraint
.........
----------------------------------------------------------------------
Ran 9 tests in 52.621s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.924s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.514s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.134s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.010s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.088s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... done (30.063s)
Adding erp5_base business template ... done (10.889s)
Logout ... 
done (44.074s)
Ran Unit test of ERP5Type
.........................
----------------------------------------------------------------------
Ran 25 tests in 61.955s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.122s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.916s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.524s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.139s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.089s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 ERP5 Site ... done (30.173s)
Logout ... 
done (32.222s)
Ran Unit test of Folder
......
----------------------------------------------------------------------
Ran 6 tests in 33.404s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/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.127s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.930s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.019s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.518s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.015s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.160s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.089s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e ERP5 Site ... done (30.089s)
Adding erp5_base business template ... done (10.866s)
Adding erp5_trade business template ... done (32.409s)
Logout ... 
done (78.358s)
Ran Unit test of XMLMatrix
...
----------------------------------------------------------------------
Ran 3 tests in 92.699s

OK


More information about the Erp5-report mailing list