[Erp5-report] ERP5 Unit Test
seb at nexedi.com
seb at nexedi.com
Tue Aug 8 10:30:14 CEST 2006
Date : 2006-08-08
Ran Unit test of CMFActivity
Ran 65 tests in 1048.016s
FAILED (errors=24)
Ran Unit test of Alarm
Ran 12 tests in 344.196s
OK
Ran Unit test of Accounting Rules
Ran 14 tests in 868.996s
FAILED (errors=12)
Ran Unit test of Accounting
Ran 14 tests in 393.907s
FAILED (errors=14)
Ran Unit test of Amount
Ran 1 test in 291.605s
FAILED (failures=1)
Ran Unit test of Invoices
Ran 9 tests in 496.731s
FAILED (errors=9)
Ran Unit test of Invoices and VAT
Ran 4 tests in 1294.932s
FAILED (errors=4)
Ran Unit test of Resource
Ran 11 tests in 442.502s
FAILED (errors=7)
Ran Unit test of Interaction Workflow
Ran 12 tests in 158.534s
OK
Ran Unit test of Immobilisation
Ran 21 tests in 2194.443s
FAILED (errors=21)
Ran Unit test of Domain Tool
Ran 5 tests in 334.928s
FAILED (errors=5)
Ran Unit test of ERP5 Categories
Ran 8 tests in 177.334s
FAILED (errors=8)
Ran Unit test of Order
Ran 15 tests in 305.116s
FAILED (errors=14)
Ran Unit test of Packing List
Ran 12 tests in 297.162s
FAILED (errors=12)
Ran Unit test of Transformation
Ran 1 test in 221.383s
FAILED (errors=1)
Ran Unit test of Production Order
Ran 3 tests in 460.338s
FAILED (errors=3)
Ran Unit test of Inventory
Ran 2 tests in 503.793s
FAILED (errors=2)
Ran Unit test of Tests getInventory methods.
Ran 8 tests in 220.292s
OK
Ran Unit test of Inventory Module
Ran 4 tests in 962.672s
FAILED (errors=3)
Ran Unit test of ERP5 HR
Ran 3 tests in 203.845s
OK
Ran Unit test of Base
Ran 8 tests in 133.331s
FAILED (failures=2)
Ran Unit test of Business Template
Ran 29 tests in 473.448s
FAILED (errors=12)
Ran Unit test of Trash Tool
Ran 4 tests in 155.875s
OK
Ran Unit test of ERP5Type
Ran 15 tests in 113.150s
OK
Ran Unit test of XMLMatrix
Ran 3 tests in 205.549s
OK
Ran Unit test of Constraint
Ran 7 tests in 122.212s
OK
Ran Unit test of CMFCategory
Ran 20 tests in 255.452s
FAILED (errors=5)
Ran Unit test of ERP5Catalog
Ran 20 tests in 288.240s
FAILED (errors=14)
Ran Unit test of Portal Preference
Ran 6 tests in 87.814s
FAILED (errors=5)
Ran Unit test of ERP5 SyncML
Ran 33 tests in 172.655s
OK
Ran Unit test of Predicates
Ran 6 tests in 100.235s
OK
Ran 5 tests in 80.822s
FAILED (errors=2)
-------------- next part --------------
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (12.731s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.120s)
Installing Photo ... done (0.538s)
Installing Formulator ... done (1.487s)
Installing ZSQLMethods ... done (0.026s)
Installing ZMySQLDA ... done (0.607s)
Installing ZSQLCatalog ... done (0.632s)
Installing ZMailIn ... done (0.395s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.094s)
Installing MailHost ... done (0.337s)
Installing PageTemplates ... done (0.153s)
Installing PythonScripts ... done (0.175s)
Installing ExternalMethod ... done (0.112s)
Installing iHotfix ... done (0.036s)
Installing Localizer ... done (0.511s)
Installing TimerService ... done (0.085s)
Installing CMFCore ... done (0.115s)
Installing CMFDefault ... done (0.088s)
Installing CMFTopic ... done (0.026s)
Installing DCWorkflow ... done (0.078s)
Installing CMFCalendar ... done (0.121s)
Installing CMFPhoto ... done (0.039s)
Installing BTreeFolder2 ... done (0.029s)
Installing CMFReportTool ... done (1.296s)
Installing CMFMailIn ... done (0.040s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.153s)
Installing PluggableAuthService ... done (0.114s)
Installing ERP5Security ... done (0.074s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.175s)
Installing ERP5Catalog ... done (0.168s)
Installing ERP5Type ... done (0.098s)
Installing ERP5Form ... done (6.156s)
Installing ERP5SyncML ... done (0.594s)
Installing CMFCategory ... done (0.085s)
Installing ERP5 ... done (0.052s)
Installing ZMySQLDDA ... done (0.072s)
Installing ERP5OOo ... done (0.103s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ... done (94.110s)
Adding erp5_base business template ... done (32.476s)
Logout ...
done (169.163s)
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 E
Try Rename Object With SQL Queue E
Try Rename Object With RAM Dict E
Try Rename Object With RAM Queue EEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_42_TryRenameObjectWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 1006, in test_42_TryRenameObjectWithSQLDict
self.DeferedSetTitleWithRenamedObject('SQLDict')
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 393, in DeferedSetTitleWithRenamedObject
organisation.edit(id=self.company_id2)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1020, in setId
self.flushActivity(invoke=1)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActiveObject.py", line 130, in flushActivity
activity_tool.flush(self, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActivityTool.py", line 645, in flush
activity.flush(self, object_path, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/Activity/SQLDict.py", line 415, in flush
raise ActivityFlushError, (
ActivityFlushError: Could not evaluate updateRelatedContent on /erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Coramy
======================================================================
ERROR: test_43_TryRenameObjectWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 1015, in test_43_TryRenameObjectWithSQLQueue
self.DeferedSetTitleWithRenamedObject('SQLQueue')
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 393, in DeferedSetTitleWithRenamedObject
organisation.edit(id=self.company_id2)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1020, in setId
self.flushActivity(invoke=1)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActiveObject.py", line 130, in flushActivity
activity_tool.flush(self, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActivityTool.py", line 645, in flush
activity.flush(self, object_path, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/Activity/SQLDict.py", line 415, in flush
raise ActivityFlushError, (
ActivityFlushError: Could not evaluate updateRelatedContent on /erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Coramy
======================================================================
ERROR: test_44_TryRenameObjectWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 1024, in test_44_TryRenameObjectWithRAMDict
self.DeferedSetTitleWithRenamedObject('RAMDict')
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 393, in DeferedSetTitleWithRenamedObject
organisation.edit(id=self.company_id2)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1020, in setId
self.flushActivity(invoke=1)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActiveObject.py", line 130, in flushActivity
activity_tool.flush(self, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActivityTool.py", line 645, in flush
activity.flush(self, object_path, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/Activity/SQLDict.py", line 415, in flush
raise ActivityFlushError, (
ActivityFlushError: Could not evaluate updateRelatedContent on /erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Coramy
======================================================================
ERROR: test_45_TryRenameObjectWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 1033, in test_45_TryRenameObjectWithRAMQueue
self.DeferedSetTitleWithRenamedObject('RAMQueue')
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 393, in DeferedSetTitleWithRenamedObject
organisation.edit(id=self.company_id2)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1020, in setId
self.flushActivity(invoke=1)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActiveObject.py", line 130, in flushActivity
activity_tool.flush(self, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActivityTool.py", line 645, in flush
activity.flush(self, object_path, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/Activity/SQLDict.py", line 415, in flush
raise ActivityFlushError, (
ActivityFlushError: Could not evaluate updateRelatedContent on /erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Coramy
======================================================================
ERROR: test_46_TryActiveProcessWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_47_TryActiveProcessWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_48_TryActiveProcessWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_49_TryActiveProcessWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_50_TryActiveProcessInsideActivityWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_51_TryActiveProcessInsideActivityWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_52_TryActiveProcessInsideActivityWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_53_TryActiveProcessInsideActivityWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_54_TryAfterMethodIdWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_55_TryAfterMethodIdWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_56_TryCallActivityWithRightUser (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_57_ExpandedMethodWithDeletedSubObject (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_58_ExpandedMethodWithDeletedObject (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_59_TryAfterTagWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_60_TryAfterTagWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_61_CheckSchedulingWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_62_CheckSchedulingWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_63_CheckClearActivitiesWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: test_64_CheckClearActivitiesWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
======================================================================
ERROR: after_method_id and failed activities.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 120, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e/organisation/Nexedi', '_setTitle', 1, 0)]
----------------------------------------------------------------------
Ran 65 tests in 1048.016s
FAILED (errors=24)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (9.975s)
/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.170s)
Installing Photo ... done (0.425s)
Installing Formulator ... done (1.449s)
Installing ZSQLMethods ... done (0.031s)
Installing ZMySQLDA ... done (0.507s)
Installing ZSQLCatalog ... done (0.323s)
Installing ZMailIn ... done (0.120s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.029s)
Installing MailHost ... done (0.077s)
Installing PageTemplates ... done (0.041s)
Installing PythonScripts ... done (0.052s)
Installing ExternalMethod ... done (0.081s)
Installing iHotfix ... done (0.019s)
Installing Localizer ... done (0.053s)
Installing TimerService ... done (0.059s)
Installing CMFCore ... done (0.143s)
Installing CMFDefault ... done (0.057s)
Installing CMFTopic ... done (0.029s)
Installing DCWorkflow ... done (0.050s)
Installing CMFCalendar ... done (0.115s)
Installing CMFPhoto ... done (0.064s)
Installing BTreeFolder2 ... done (0.090s)
Installing CMFReportTool ... done (1.814s)
Installing CMFMailIn ... done (0.044s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.208s)
Installing PluggableAuthService ... done (0.099s)
Installing ERP5Security ... done (0.052s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.332s)
Installing ERP5Catalog ... done (0.252s)
Installing ERP5Type ... done (0.178s)
Installing ERP5Form ... done (5.753s)
Installing ERP5SyncML ... done (1.041s)
Installing CMFCategory ... done (0.071s)
Installing ERP5 ... done (0.057s)
Installing ZMySQLDDA ... done (0.121s)
Installing ERP5OOo ... done (0.246s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ... done (95.704s)
Logout ...
done (109.521s)
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 344.196s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (9.223s)
/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.164s)
Installing Photo ... done (0.472s)
Installing Formulator ... done (1.310s)
Installing ZSQLMethods ... done (0.054s)
Installing ZMySQLDA ... done (0.854s)
Installing ZSQLCatalog ... done (0.418s)
Installing ZMailIn ... done (0.099s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.106s)
Installing MailHost ... done (0.214s)
Installing PageTemplates ... done (0.116s)
Installing PythonScripts ... done (0.130s)
Installing ExternalMethod ... done (0.219s)
Installing iHotfix ... done (0.088s)
Installing Localizer ... done (0.167s)
Installing TimerService ... done (0.203s)
Installing CMFCore ... done (0.221s)
Installing CMFDefault ... done (0.208s)
Installing CMFTopic ... done (0.026s)
Installing DCWorkflow ... done (0.135s)
Installing CMFCalendar ... done (0.227s)
Installing CMFPhoto ... done (0.182s)
Installing BTreeFolder2 ... done (0.210s)
Installing CMFReportTool ... done (2.338s)
Installing CMFMailIn ... done (0.261s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.290s)
Installing PluggableAuthService ... done (0.069s)
Installing ERP5Security ... done (0.037s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.482s)
Installing ERP5Catalog ... done (0.335s)
Installing ERP5Type ... done (0.098s)
Installing ERP5Form ... done (4.552s)
Installing ERP5SyncML ... done (1.000s)
Installing CMFCategory ... done (0.237s)
Installing ERP5 ... done (0.082s)
Installing ZMySQLDDA ... done (0.212s)
Installing ERP5OOo ... done (0.341s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... done (62.278s)
Adding erp5_base business template ... done (36.574s)
Adding erp5_pdm business template ... done (21.092s)
Adding erp5_trade business template ... done (95.476s)
Adding erp5_accounting business template ... done (71.364s)
Logout ...
done (352.115s)
Ran Unit test of Accounting Rules
.EEEEEEEEEEEE.
======================================================================
ERROR: test edition of matrix and rule.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1431, in test_02_UpdateInvoiceTransactionRuleMatrix
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 302, in stepUpdateSaleInvoiceTransactionRuleMatrix
invoice_transaction_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test predicates for the cells of invoice transaction rule
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1453, in test_03_invoiceTransactionRule_getMatchingCell
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 217, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1481, in test_04_SimpleInvoice
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1512, in test_04b_SimpleInvoiceConfirm
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1542, in test_04c_SimpleInvoiceTwoLines
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1572, in test_04d_SimpleInvoiceTwoCells
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1605, in test_05a_SimpleInvoiceReExpandAddLine
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1636, in test_05b_SimpleInvoiceReExpandEditLine
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1667, in test_05c_SimpleInvoiceReExpandDeleteLine
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1700, in test_05d_SimpleInvoiceReExpandCreateCell
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1755, in test_05e_SimpleInvoiceExpandManyTimes
""", quiet=quiet )
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1769, in test_06_MultiLineInvoice
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 230, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
----------------------------------------------------------------------
Ran 14 tests in 868.996s
FAILED (errors=12)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (10.516s)
/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.117s)
Installing Photo ... done (0.287s)
Installing Formulator ... done (1.954s)
Installing ZSQLMethods ... done (0.031s)
Installing ZMySQLDA ... done (0.415s)
Installing ZSQLCatalog ... done (0.184s)
Installing ZMailIn ... done (0.162s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.037s)
Installing MailHost ... done (0.115s)
Installing PageTemplates ... done (0.058s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.045s)
Installing iHotfix ... done (0.036s)
Installing Localizer ... done (0.048s)
Installing TimerService ... done (0.096s)
Installing CMFCore ... done (0.079s)
Installing CMFDefault ... done (0.042s)
Installing CMFTopic ... done (0.022s)
Installing DCWorkflow ... done (0.063s)
Installing CMFCalendar ... done (0.281s)
Installing CMFPhoto ... done (0.036s)
Installing BTreeFolder2 ... done (0.073s)
Installing CMFReportTool ... done (1.361s)
Installing CMFMailIn ... done (0.028s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.107s)
Installing PluggableAuthService ... done (0.058s)
Installing ERP5Security ... done (0.078s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.229s)
Installing ERP5Catalog ... done (0.195s)
Installing ERP5Type ... done (0.239s)
Installing ERP5Form ... done (4.838s)
Installing ERP5SyncML ... done (0.742s)
Installing CMFCategory ... done (0.091s)
Installing ERP5 ... done (0.093s)
Installing ZMySQLDDA ... done (0.177s)
Installing ERP5OOo ... done (0.168s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... done (99.982s)
Adding erp5_base business template ... done (37.060s)
Adding erp5_pdm business template ... done (21.053s)
Adding erp5_trade business template ... done (88.489s)
Adding erp5_accounting business template ... done (70.882s)
Logout ...
done (380.076s)
Ran Unit test of Accounting
EEEEEEEEEEEEEE
======================================================================
ERROR: Basic test for Accounting Periods
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1052, in test_AccountingPeriod
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1098, in test_AccountingPeriodNotStoppedTransactions
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1116, in test_AccountingPeriodOtherSections
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Accounting Periods prevents transactions to be validated
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1079, in test_AccountingPeriodRefusesWrongDateTransactionValidation
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1189, in test_AccountingTransactionValidationAccounts
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1202, in test_AccountingTransactionValidationBalanced
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1178, in test_AccountingTransactionValidationCurrency
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1156, in test_AccountingTransactionValidationDate
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1213, in test_AccountingTransactionValidationPayment
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Transaction validation removes empty lines
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1225, in test_AccountingTransactionValidationRemoveEmptyLines
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1167, in test_AccountingTransactionValidationSection
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1147, in test_Acquisition
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 610, in stepCheckAcquisition
self.failUnless('Site Error' not in accounting_module.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Tests using an account on one sides uses the mirror account
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1137, in test_MirrorAccounts
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1038, in test_MultiCurrencyInvoice
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 294, in stepCreateAccounts
self.failUnless('Site Error' not in account.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 255, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 14 tests in 393.907s
FAILED (errors=14)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (5.329s)
/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.098s)
Installing Photo ... done (0.155s)
Installing Formulator ... done (1.325s)
Installing ZSQLMethods ... done (0.023s)
Installing ZMySQLDA ... done (0.194s)
Installing ZSQLCatalog ... done (0.050s)
Installing ZMailIn ... done (0.054s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.080s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.035s)
Installing ExternalMethod ... done (0.045s)
Installing iHotfix ... done (0.020s)
Installing Localizer ... done (0.063s)
Installing TimerService ... done (0.046s)
Installing CMFCore ... done (0.084s)
Installing CMFDefault ... done (0.063s)
Installing CMFTopic ... done (0.030s)
Installing DCWorkflow ... done (0.168s)
Installing CMFCalendar ... done (0.122s)
Installing CMFPhoto ... done (0.024s)
Installing BTreeFolder2 ... done (0.022s)
Installing CMFReportTool ... done (0.904s)
Installing CMFMailIn ... done (0.021s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.063s)
Installing PluggableAuthService ... done (0.066s)
Installing ERP5Security ... done (0.024s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.100s)
Installing ERP5Catalog ... done (0.086s)
Installing ERP5Type ... done (0.102s)
Installing ERP5Form ... done (3.447s)
Installing ERP5SyncML ... done (0.369s)
Installing CMFCategory ... done (0.038s)
Installing ERP5 ... done (0.041s)
Installing ZMySQLDDA ... done (0.059s)
Installing ERP5OOo ... done (0.099s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_0d7bd79f7d0b231461cc179eb8177e5b ERP5 Site ... done (64.682s)
Adding erp5_base business template ... done (29.865s)
Adding erp5_pdm business template ... done (13.703s)
Adding erp5_trade business template ... done (73.743s)
Adding erp5_apparel business template ... done (39.439s)
Logout ...
done (288.035s)
Ran Unit test of Amount
Starting New Sequence 1...
Playing step... CreateAmount
Playing step... CheckEmptyGetVariationPropertyDict
Playing step... CheckEmptySetVariationPropertyDict
Starting New Sequence 2...
Playing step... CreateResource
Playing step... CreateAmount
Playing step... SetAmountResource
Playing step... CheckGetVariationPropertyDict
Playing step... SetVariationPropertyDict
Playing step... CheckGetVariationPropertyDictF
======================================================================
FAIL: test_01_variationProperty (testAmount.TestAmount)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAmount.py", line 237, in test_01_variationProperty
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAmount.py", line 172, in stepCheckGetVariationPropertyDict
self.assertEquals(vpd[key], sequence.get('variation_property_dict')[key])
AssertionError: None != 'azertyuio'
----------------------------------------------------------------------
Ran 1 test in 291.605s
FAILED (failures=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.602s)
/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.128s)
Installing Photo ... done (0.322s)
Installing Formulator ... done (1.469s)
Installing ZSQLMethods ... done (0.023s)
Installing ZMySQLDA ... done (0.290s)
Installing ZSQLCatalog ... done (0.190s)
Installing ZMailIn ... done (0.104s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.053s)
Installing MailHost ... done (0.130s)
Installing PageTemplates ... done (0.039s)
Installing PythonScripts ... done (0.055s)
Installing ExternalMethod ... done (0.069s)
Installing iHotfix ... done (0.033s)
Installing Localizer ... done (0.080s)
Installing TimerService ... done (0.092s)
Installing CMFCore ... done (0.083s)
Installing CMFDefault ... done (0.048s)
Installing CMFTopic ... done (0.030s)
Installing DCWorkflow ... done (0.046s)
Installing CMFCalendar ... done (0.097s)
Installing CMFPhoto ... done (0.027s)
Installing BTreeFolder2 ... done (0.089s)
Installing CMFReportTool ... done (1.426s)
Installing CMFMailIn ... done (0.038s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.072s)
Installing PluggableAuthService ... done (0.077s)
Installing ERP5Security ... done (0.051s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.142s)
Installing ERP5Catalog ... done (0.128s)
Installing ERP5Type ... done (1.482s)
Installing ERP5Form ... done (2.729s)
Installing ERP5SyncML ... done (0.450s)
Installing CMFCategory ... done (0.071s)
Installing ERP5 ... done (0.154s)
Installing ZMySQLDDA ... done (0.080s)
Installing ERP5OOo ... done (0.150s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... done (81.673s)
Adding erp5_base business template ... done (32.361s)
Adding erp5_pdm business template ... done (17.797s)
Adding erp5_trade business template ... done (87.918s)
Adding erp5_apparel business template ... done (44.393s)
Adding erp5_accounting business template ... done (77.519s)
Logout ...
done (423.601s)
Ran Unit test of Invoices
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
Starting New Sequence 1...
Playing step... CreateSaleInvoiceTransactionRuleE
======================================================================
ERROR: Checks that a Simple Invoice is created from a Packing List
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 910, in test_01_SimpleInvoice
self.playSequence(
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: This test was created for the following bug:
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 934, in test_02_TwoInvoicesFromTwoPackingList
self.playSequence(
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Invoice Rule should not be applied on invoice lines created from Packing List.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 963, in test_03_InvoiceEditAndInvoiceRule
self.playSequence(
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Delivery Rule should not be applied on packing list lines created from Order.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 982, in test_04_PackingListEditAndInvoiceRule
self.playSequence(
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Checks that editing a Packing List Line still creates a correct
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 994, in test_05_InvoiceEditPackingListLine
self.playSequence(
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Checks that deleting a Packing List Line still creates a correct
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1013, in test_06_InvoiceDeletePackingListLine
self.playSequence(
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Checks that adding a Packing List Line still creates a correct
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1032, in test_07_InvoiceAddPackingListLine
self.playSequence(
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Change the quantity of a Invoice Line,
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1074, in test_08_InvoiceDecreaseQuantity
self.playSequence(sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Change the start_date of a Invoice Line,
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1104, in test_09_InvoiceChangeStartDate
self.playSequence(sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 211, in stepCreateSaleInvoiceTransactionRule
invoice_rule.updateMatrix()
File "/home/seb/zope/unit_test/Products/ERP5/Document/PredicateMatrix.py", line 84, in updateMatrix
self._updateCellRange(base_id) # calls PT dependant script.
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 15, in InvoiceTransactionRule_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 9 tests in 496.731s
FAILED (errors=9)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (9.022s)
/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.174s)
Installing Photo ... done (0.339s)
Installing Formulator ... done (1.399s)
Installing ZSQLMethods ... done (0.040s)
Installing ZMySQLDA ... done (0.448s)
Installing ZSQLCatalog ... done (0.141s)
Installing ZMailIn ... done (0.067s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.024s)
Installing MailHost ... done (0.107s)
Installing PageTemplates ... done (0.039s)
Installing PythonScripts ... done (0.047s)
Installing ExternalMethod ... done (0.093s)
Installing iHotfix ... done (0.040s)
Installing Localizer ... done (0.036s)
Installing TimerService ... done (0.096s)
Installing CMFCore ... done (0.166s)
Installing CMFDefault ... done (0.039s)
Installing CMFTopic ... done (0.042s)
Installing DCWorkflow ... done (0.045s)
Installing CMFCalendar ... done (0.114s)
Installing CMFPhoto ... done (0.132s)
Installing BTreeFolder2 ... done (0.044s)
Installing CMFReportTool ... done (1.545s)
Installing CMFMailIn ... done (0.026s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.079s)
Installing PluggableAuthService ... done (0.144s)
Installing ERP5Security ... done (0.082s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.249s)
Installing ERP5Catalog ... done (0.195s)
Installing ERP5Type ... done (2.070s)
Installing ERP5Form ... done (2.805s)
Installing ERP5SyncML ... done (0.624s)
Installing CMFCategory ... done (0.067s)
Installing ERP5 ... done (0.057s)
Installing ZMySQLDDA ... done (0.137s)
Installing ERP5OOo ... done (0.177s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_a5cda8653174ac2532ca143c067402a9 ERP5 Site ... done (101.119s)
Adding erp5_base business template ... done (34.853s)
Adding erp5_pdm business template ... done (17.567s)
Adding erp5_trade business template ... done (89.559s)
Adding erp5_accounting business template ... done (73.444s)
Logout ...
done (389.929s)
Ran Unit test of Invoices and VAT
E
Cancelling active message ('', 'erp5_portal_a5cda8653174ac2532ca143c067402a9', 'portal_rules', 'default_invoice_transaction_rule').updateMatrix()
E
Cancelling active message ('', 'erp5_portal_a5cda8653174ac2532ca143c067402a9', 'portal_rules', 'default_invoice_transaction_rule').updateMatrix()
E
Cancelling active message ('', 'erp5_portal_a5cda8653174ac2532ca143c067402a9', 'portal_rules', 'default_invoice_transaction_rule').updateMatrix()
E
Cancelling active message ('', 'erp5_portal_a5cda8653174ac2532ca143c067402a9', 'portal_rules', 'default_invoice_transaction_rule').updateMatrix()
======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 455, in test_InvoiceTwoLinesWithSameResource
( currency, resource, receivable_account, vat_account,
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 274, in _makeOnePackingList
income_account=income_account )
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 220, in _makeSimpleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a5cda8653174ac2532ca143c067402a9/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 485, in test_InvoiceTwoLinesWithSameResourceDifferentDate
( currency, resource, receivable_account, vat_account,
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 274, in _makeOnePackingList
income_account=income_account )
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 220, in _makeSimpleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a5cda8653174ac2532ca143c067402a9/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 366, in test_SimpleInvoice
( currency, resource, receivable_account, vat_account,
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 309, in _makeOneInvoice
income_account=income_account )
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 220, in _makeSimpleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a5cda8653174ac2532ca143c067402a9/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
======================================================================
ERROR: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 391, in test_SimpleInvoiceEmptyLines
( currency, resource, receivable_account, vat_account,
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 309, in _makeOneInvoice
income_account=income_account )
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 220, in _makeSimpleInvoiceTransactionRule
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a5cda8653174ac2532ca143c067402a9/portal_rules/default_invoice_transaction_rule', 'updateMatrix', -2, 6)]
----------------------------------------------------------------------
Ran 4 tests in 1294.932s
FAILED (errors=4)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (9.021s)
/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.101s)
Installing Photo ... done (0.256s)
Installing Formulator ... done (1.429s)
Installing ZSQLMethods ... done (0.022s)
Installing ZMySQLDA ... done (0.266s)
Installing ZSQLCatalog ... done (0.111s)
Installing ZMailIn ... done (0.074s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.034s)
Installing MailHost ... done (0.123s)
Installing PageTemplates ... done (0.458s)
Installing PythonScripts ... done (0.039s)
Installing ExternalMethod ... done (0.039s)
Installing iHotfix ... done (0.020s)
Installing Localizer ... done (0.047s)
Installing TimerService ... done (0.061s)
Installing CMFCore ... done (0.090s)
Installing CMFDefault ... done (0.048s)
Installing CMFTopic ... done (0.024s)
Installing DCWorkflow ... done (0.037s)
Installing CMFCalendar ... done (0.083s)
Installing CMFPhoto ... done (0.027s)
Installing BTreeFolder2 ... done (0.028s)
Installing CMFReportTool ... done (1.458s)
Installing CMFMailIn ... done (0.028s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.125s)
Installing PluggableAuthService ... done (0.056s)
Installing ERP5Security ... done (0.035s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.220s)
Installing ERP5Catalog ... done (0.341s)
Installing ERP5Type ... done (0.320s)
Installing ERP5Form ... done (5.482s)
Installing ERP5SyncML ... done (0.555s)
Installing CMFCategory ... done (0.055s)
Installing ERP5 ... done (0.057s)
Installing ZMySQLDDA ... done (0.075s)
Installing ERP5OOo ... done (0.163s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... done (84.331s)
Adding erp5_base business template ... done (37.431s)
Adding erp5_pdm business template ... done (20.184s)
Adding erp5_trade business template ... done (89.655s)
Adding erp5_apparel business template ... done (53.714s)
Logout ...
done (353.804s)
Ran Unit test of Resource
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationBaseCategoryList.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationRangeCategoryListE
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationRangeCategoryItemListE
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... CheckGetVariationCategoryListWithoutOmitE
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... CheckGetVariationCategoryItemListWithoutOmitE
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...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_02_getVariationRangeCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 312, in test_02_getVariationRangeCategoryList
self.genericTest('CheckGetVariationRangeCategoryList')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 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/testResource.py", line 194, in stepCheckGetVariationRangeCategoryList
vrcl = resource.getVariationRangeCategoryList()
File "/home/seb/zope/unit_test/Products/ERP5/Variated.py", line 328, in getVariationRangeCategoryList
current_category=current_category)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 122, in getVariationRangeCategoryItemList
sort_on=[('title','ascending')])
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_03_getVariationRangeCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 332, in test_03_getVariationRangeCategoryItemList
self.genericTest('CheckGetVariationRangeCategoryItemList')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 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/testResource.py", line 322, in stepCheckGetVariationRangeCategoryItemList
vrcl = resource.getVariationRangeCategoryList()
File "/home/seb/zope/unit_test/Products/ERP5/Variated.py", line 328, in getVariationRangeCategoryList
current_category=current_category)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 122, in getVariationRangeCategoryItemList
sort_on=[('title','ascending')])
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_05_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 376, in test_05_getVariationCategoryList
self.genericTest('CheckGetVariationCategoryListWithoutOmit')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 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/testResource.py", line 360, in stepCheckGetVariationCategoryListWithoutOmit
vcl = resource.getVariationCategoryList(omit_individual_variation=0)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 232, in getVariationCategoryList
omit_individual_variation=omit_individual_variation,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_07_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 413, in test_07_getVariationCategoryItemList
self.genericTest('CheckGetVariationCategoryItemListWithoutOmit')
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 305, in genericTest
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 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/testResource.py", line 403, in stepCheckGetVariationCategoryItemListWithoutOmit
vcl = resource.getVariationCategoryList(omit_individual_variation=0)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 232, in getVariationCategoryList
omit_individual_variation=omit_individual_variation,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_09_getPrice (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 582, in test_09_getPrice
self.assertEquals(config['price'], product.getPrice())
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 603, in test_10_getPriceWithOptions
supply_line.setSurchargeRatioQuantityStepList([])
File "/home/seb/zope/unit_test/Products/ERP5Type/Accessor/List.py", line 124, in __call__
method(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 70, in WorkflowTool_wrapWorkflowMethod
w.notifySuccess(ob, method_id, result, args=args, kw=kw)
File "/home/seb/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 282, in notifySuccess
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 3, in SupplyLine_updateOptionalSurchargeRatioCellRange
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 356, in updateCellRange
self._updateCellRange(base_id=base_id, script_id=script_id, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 50, in SupplyLine_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 228, in getVariationRangeCategoryList
base=base, **kw)]
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 213, in getVariationRangeCategoryItemList
result = resource.getVariationCategoryItemList(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_11_getPriceWithDestination (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 740, in test_11_getPriceWithDestination
product.getPrice(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 11 tests in 442.502s
FAILED (errors=7)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (8.052s)
/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.097s)
Installing Photo ... done (0.403s)
Installing Formulator ... done (1.381s)
Installing ZSQLMethods ... done (0.039s)
Installing ZMySQLDA ... done (0.324s)
Installing ZSQLCatalog ... done (0.082s)
Installing ZMailIn ... done (0.111s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.017s)
Installing MailHost ... done (0.140s)
Installing PageTemplates ... done (0.065s)
Installing PythonScripts ... done (0.058s)
Installing ExternalMethod ... done (0.154s)
Installing iHotfix ... done (0.034s)
Installing Localizer ... done (0.097s)
Installing TimerService ... done (0.068s)
Installing CMFCore ... done (0.130s)
Installing CMFDefault ... done (0.060s)
Installing CMFTopic ... done (0.021s)
Installing DCWorkflow ... done (0.057s)
Installing CMFCalendar ... done (0.121s)
Installing CMFPhoto ... done (0.040s)
Installing BTreeFolder2 ... done (0.077s)
Installing CMFReportTool ... done (0.963s)
Installing CMFMailIn ... done (0.054s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.152s)
Installing PluggableAuthService ... done (0.147s)
Installing ERP5Security ... done (0.021s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.127s)
Installing ERP5Catalog ... done (0.124s)
Installing ERP5Type ... done (1.433s)
Installing ERP5Form ... done (3.242s)
Installing ERP5SyncML ... done (0.488s)
Installing CMFCategory ... done (0.079s)
Installing ERP5 ... done (0.049s)
Installing ZMySQLDDA ... done (0.059s)
Installing ERP5OOo ... done (0.139s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ... done (81.122s)
Adding erp5_base business template ... done (32.517s)
Logout ...
done (140.160s)
Ran Unit test of Interaction Workflow
No Interactions .
Interactions On Edit .
Interactions, Edit Set Description and also After Script .
Interactions, Automatic Workflow Method .
Interactions, Automatic Workflow Method With Extra Base Category .
Interactions, Check If There Is Only One Call .
Interactions, Check If The Return Value Is Not Altered .
Interactions, Check If Multiple method_id Can Be Hooked .
Interactions, Check if the same method_id can be hooked by two Interactions .
Interactions, check if multiple scripts can be called .
Interactions, Test that the private accessor is called .
Interactions, Test that the private accessor is called, when using an Acquired Property .
----------------------------------------------------------------------
Ran 12 tests in 158.534s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.175s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.115s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.548s)
Installing CMFMailIn ... done (0.015s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.026s)
Installing PluggableAuthService ... done (0.020s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.087s)
Installing ERP5Catalog ... done (0.026s)
Installing ERP5Type ... done (0.028s)
Installing ERP5Form ... done (2.686s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ... done (58.111s)
Adding erp5_base business template ... done (18.528s)
Adding erp5_trade business template ... done (98.205s)
Adding erp5_pdm business template ... done (22.593s)
Adding erp5_accounting business template ... done (75.314s)
Adding erp5_apparel business template ... done (55.737s)
Adding erp5_immobilisation business template ... done (23.711s)
Logout ...
done (433.609s)
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... TicE
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... TicE
Test Complex Item Structure Immobilisation State Change
Starting New Sequence 1...
Playing step... DeleteAllPackingLists
Playing step... CreateComplexPackingListStructure
Playing step... TicE
Test Continuous Method Movement Validity
Starting New Sequence 1...
Playing step... SetTest04SequenceData
Playing step... DeleteAllPackingLists
Playing step... CreatePackingListsForContinuousAmortisationPeriodList
Playing step... TicE
Test Immobilisation Periods With Continuous Method During Continuous Time
Starting New Sequence 1...
Playing step... SetTest05SequenceData
Playing step... CreatePackingListsForContinuousAmortisationPeriodList
Playing step... TicEE
Test Immobilisation Periods With Uncontinuous Method During Continuous Time
Starting New Sequence 1...
Playing step... SetTest07SequenceData
Playing step... CreatePackingListsForContinuousAmortisationPeriodList
Playing step... TicE
Test Immobilisation Periods With Uncontinuous Method During Uncontinuous Time
Starting New Sequence 1...
Playing step... SetTest08SequenceData
Playing step... CreatePackingListsForUncontinuousAmortisationPeriodList
Playing step... TicE
Test Amortisation Price And Simulation For Linear Amortisation
Starting New Sequence 1...
Playing step... SetTest09SequenceData
Playing step... CreatePackingListsForSimpleItemImmobilisation
Playing step... TicE
Test Amortisation Price For Degressive Amortisation
Starting New Sequence 1...
Playing step... SetTest10SequenceData
Playing step... CreatePackingListsForSimpleItemImmobilisation
Playing step... TicE
Test Amortisation Price And Simulation For Uncontinuous Degressive Amortisation
Starting New Sequence 1...
Playing step... SetTest11SequenceData
Playing step... CreatePackingListsForSimpleItemImmobilisation
Playing step... TicEE
Test Amortisation Price For No Amortisation Method
Starting New Sequence 1...
Playing step... SetTest13SequenceData
Playing step... CreatePackingListsForSimpleItemImmobilisation
Playing step... TicE
Test Owner Change Simulation For Continuous Amortisation Method
Starting New Sequence 1...
Playing step... SetTest14SequenceData
Playing step... CreatePackingListsForSimulationTest
Playing step... TicE
Test Owner Change Simulation For Uncontinuous Amortisation Method
Starting New Sequence 1...
Playing step... SetTest15SequenceData
Playing step... CreatePackingListsForSimulationTest
Playing step... TicE
Test Owner Change Simulation For Continuous Amortisation Method
Starting New Sequence 1...
Playing step... SetTest16SequenceData
Playing step... CreatePackingListsForNoChangeMethodSimulationTest
Playing step... TicE
Test Monthly Amortisation
Starting New Sequence 1...
Playing step... SetTest17SequenceData
Playing step... CreatePackingListsForMonthlyAmortisationTest
Playing step... TicEE
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... AggregateItems
Playing step... TicE
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... AggregateItems
Playing step... TicE
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... AggregateItems
Playing step... TicE
======================================================================
ERROR: test_01_singlePackingListImmobilisationStateChange (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 2701, in test_01_singlePackingListImmobilisationStateChange
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/1', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item1', 'immediateExpandAmortisation', -2, 6)]
======================================================================
ERROR: test_02_singleItemImmobilisationStateChange (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 2738, in test_02_singleItemImmobilisationStateChange
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/1', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/2', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/3', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item2', 'immediateExpandAmortisation', -2, 6)]
======================================================================
ERROR: test_03_complexItemStructureImmobilisationStateChange (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 2791, in test_03_complexItemStructureImmobilisationStateChange
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/3', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/4', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/5', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/6', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item1', 'immediateExpandAmortisation', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item2', 'immediateExpandAmortisation', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item4', 'immediateExpandAmortisation', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item3', 'immediateExpandAm
ortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/6', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/7', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/8', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/9', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/10', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/11', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item5', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/12', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/13', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/14', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/15', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/16', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/17', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item6', 'immediateExpandAmortisation', -2, 6)]
======================================================================
ERROR: test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 136, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item6', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/18', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/19', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/20', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/21', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/22', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/23', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item8', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/24', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/25', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/26', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/27', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/28', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/29', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item9', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/30', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/31', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item10', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/32', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/33', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item11', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/34', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/35', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item12', 'immediateExpandAmortisation', -2, 6)]
======================================================================
ERROR: test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 136, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item12', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/36', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/37', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item14', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/38', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/39', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item15', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/40', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/41', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item16', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/42', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/43', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item17', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/44', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/45', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/46', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/47', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/48', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item18', 'immediateExpandAmortisation', -2, 6)]
======================================================================
ERROR: test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 268, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 136, in afterSetUp
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item18', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/48', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item1', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/48', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item1', 'immediateExpandAmortisation', -2, 6)]
======================================================================
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/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/sale_packing_list_module/48', 'updateImmobilisationState', -2, 6), ('/erp5_portal_97ad677fdc3692c02e03838b9465053d/apparel_fabric_item_module/item1', 'immediateExpandAmortisation', -2, 6)]
----------------------------------------------------------------------
Ran 21 tests in 2194.443s
FAILED (errors=21)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.527s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.106s)
Installing Photo ... done (0.387s)
Installing Formulator ... done (1.413s)
Installing ZSQLMethods ... done (0.019s)
Installing ZMySQLDA ... done (0.318s)
Installing ZSQLCatalog ... done (0.182s)
Installing ZMailIn ... done (0.090s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.130s)
Installing MailHost ... done (0.071s)
Installing PageTemplates ... done (0.092s)
Installing PythonScripts ... done (0.040s)
Installing ExternalMethod ... done (0.055s)
Installing iHotfix ... done (0.020s)
Installing Localizer ... done (0.039s)
Installing TimerService ... done (0.084s)
Installing CMFCore ... done (0.089s)
Installing CMFDefault ... done (0.042s)
Installing CMFTopic ... done (0.028s)
Installing DCWorkflow ... done (0.052s)
Installing CMFCalendar ... done (0.129s)
Installing CMFPhoto ... done (0.029s)
Installing BTreeFolder2 ... done (0.040s)
Installing CMFReportTool ... done (1.234s)
Installing CMFMailIn ... done (0.027s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.084s)
Installing PluggableAuthService ... done (0.067s)
Installing ERP5Security ... done (0.034s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.171s)
Installing ERP5Catalog ... done (0.169s)
Installing ERP5Type ... done (2.572s)
Installing ERP5Form ... done (2.734s)
Installing ERP5SyncML ... done (0.682s)
Installing CMFCategory ... done (0.084s)
Installing ERP5 ... done (0.058s)
Installing ZMySQLDDA ... done (0.070s)
Installing ERP5OOo ... done (0.089s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... done (79.774s)
Adding erp5_base business template ... done (31.435s)
Adding erp5_pdm business template ... done (18.428s)
Adding erp5_trade business template ... done (82.014s)
Adding erp5_apparel business template ... done (47.741s)
Logout ...
done (308.807s)
Ran Unit test of Domain Tool
Search Predicate List With No Test E
Search Predicate List With Test E
Generate Mapped Value E
Generate Mapped Value With Ranges E
Generate Mapped Value With Variation E
======================================================================
ERROR: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 300, in test_01_SearchPredidateListWithNoTest
self.checkPredicate(test=0)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 167, in checkPredicate
predicate_list = domain_tool.searchPredicateList(order_line,test=test)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 307, in test_02_SearchPredidateListWithTest
self.checkPredicate(test=1)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 167, in checkPredicate
predicate_list = domain_tool.searchPredicateList(order_line,test=test)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_03_GenerateMappedValue (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 325, in test_03_GenerateMappedValue
mapped_value = domain_tool.generateMappedValue(context)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_04_GenerateMappedValueWithRanges (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 351, in test_04_GenerateMappedValueWithRanges
mapped_value = domain_tool.generateMappedValue(order_line,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
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 372, in test_05_GenerateMappedValueWithVariation
self.supply_line.updateCellRange(base_id='path')
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 356, in updateCellRange
self._updateCellRange(base_id=base_id, script_id=script_id, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 50, in SupplyLine_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 228, in getVariationRangeCategoryList
base=base, **kw)]
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 213, in getVariationRangeCategoryItemList
result = resource.getVariationCategoryItemList(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 5 tests in 334.928s
FAILED (errors=5)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.865s)
/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.093s)
Installing Photo ... done (0.178s)
Installing Formulator ... done (1.257s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.196s)
Installing ZSQLCatalog ... done (0.103s)
Installing ZMailIn ... done (0.058s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.024s)
Installing MailHost ... done (0.116s)
Installing PageTemplates ... done (0.068s)
Installing PythonScripts ... done (0.041s)
Installing ExternalMethod ... done (0.042s)
Installing iHotfix ... done (0.026s)
Installing Localizer ... done (0.039s)
Installing TimerService ... done (0.054s)
Installing CMFCore ... done (0.094s)
Installing CMFDefault ... done (0.047s)
Installing CMFTopic ... done (0.019s)
Installing DCWorkflow ... done (0.045s)
Installing CMFCalendar ... done (0.087s)
Installing CMFPhoto ... done (0.059s)
Installing BTreeFolder2 ... done (0.029s)
Installing CMFReportTool ... done (1.065s)
Installing CMFMailIn ... done (0.029s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.058s)
Installing PluggableAuthService ... done (0.071s)
Installing ERP5Security ... done (0.050s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.310s)
Installing ERP5Catalog ... done (0.202s)
Installing ERP5Type ... done (1.799s)
Installing ERP5Form ... done (2.642s)
Installing ERP5SyncML ... done (0.511s)
Installing CMFCategory ... done (0.081s)
Installing ERP5 ... done (0.035s)
Installing ZMySQLDDA ... done (0.056s)
Installing ERP5OOo ... done (0.234s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 ERP5 Site ... done (72.711s)
Adding erp5_base business template ... done (32.378s)
Logout ...
done (105.542s)
Ran Unit test of ERP5 Categories
Rename Category E
Rename Category Tree E
Rename Related Object E
Rename Object With a related Sub Object E
Rename Membership Criterion Category E
Rename Module With an Object Related to an Object it Contains E
Rename a Base Category with a Person Related to a Sub-Sub-Sub-Category E
Rename a Module with Contained Objects Refering to Other Objects inside the Same Module E
======================================================================
ERROR: test_01 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 160, in test_01
portal_categories[self.base_cat]['1'].edit(id='3')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_02 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 171, in test_02
portal_categories[self.base_cat]['1'].edit(id='3')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_03 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 183, in test_03
organisation2.edit(id='new_id')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_04 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 197, in test_04
organisation2.edit(id='new_id')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_05 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 210, in test_05
portal_categories[self.base_cat]['1'].edit(id='3')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_06 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 222, in test_06
organisation_module.edit(id='new_id')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 52, in WorkflowTool_wrapWorkflowMethod
return apply(func, args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_07 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 232, in test_07
self.efg_l1.edit(id='new_id')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_08 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 246, in test_08
om.edit(id='new_id')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 52, in WorkflowTool_wrapWorkflowMethod
return apply(func, args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1037, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1001, in _edit
self.setId(kw['id'], reindex=reindex_object)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1017, in setId
self.aq_parent.manage_renameObject, (self.id, id), {}, CopyError)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 355, in tryMethodCallWithTemporaryPermission
return method(*method_argv, **method_kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 117, in manage_renameObject
return OriginalCopyContainer.manage_renameObject(self, id=id, new_id=new_id, REQUEST=REQUEST)
File "/usr/lib/zope/lib/python/OFS/CopySupport.py", line 270, in manage_renameObject
ob._postCopy(self, op=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/CopySupport.py", line 342, in _postCopy
self.getRelativeUrl())
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1029, in updateRelatedContent
previous_category_url, new_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 132, in updateRelatedContent
new_category_url)
File "/home/seb/zope/unit_test/Products/CMFCategory/CategoryTool.py", line 1255, in updateRelatedContent
new_o_category_url)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/CategoryTool.py", line 139, in updateRelatedContent
object_list = portal_catalog(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 8 tests in 177.334s
FAILED (errors=8)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.199s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.048s)
Installing Formulator ... done (1.146s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.473s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.773s)
Installing ERP5SyncML ... done (0.071s)
Installing CMFCategory ... done (0.015s)
Installing ERP5 ... done (0.028s)
Installing ZMySQLDDA ... done (0.036s)
Installing ERP5OOo ... done (0.027s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... done (49.364s)
Adding erp5_base business template ... done (18.153s)
Adding erp5_pdm business template ... done (16.248s)
Adding erp5_trade business template ... done (73.408s)
Adding erp5_apparel business template ... done (41.214s)
Logout ...
done (246.051s)
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... CheckOrderLineVRCLE
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCIL
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCILE.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVCIL
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... SetOrderLineHalfVCLE
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... SetOrderLineFullVCLE
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
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... Tic
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... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... CheckOrderInitialState
Playing step... CreateOrderLine
Playing step... Tic
Playing step... CheckOrderLineState
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CheckOrder
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... CheckOrderLineAcquisition
Playing step... SetOrderLineResource
Playing step... 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... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValuesE
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... Tic
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... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... Tic
Playing step... CreateOrder
Playing step... SetOrderProfileE
======================================================================
ERROR: test_01_OrderLine_getVariationRangeCategoryList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 967, in test_01_OrderLine_getVariationRangeCategoryList
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 407, in stepCheckOrderLineVRCL
vrcl = order_line.getVariationRangeCategoryList()
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 228, in getVariationRangeCategoryList
base=base, **kw)]
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 213, in getVariationRangeCategoryItemList
result = resource.getVariationCategoryItemList(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_02_OrderLine_getVariationRangeCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 996, in test_02_OrderLine_getVariationRangeCategoryItemList
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 421, in stepCheckOrderLineVRCIL
vrcl = order_line.getVariationRangeCategoryList()
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 228, in getVariationRangeCategoryList
base=base, **kw)]
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 213, in getVariationRangeCategoryItemList
result = resource.getVariationCategoryItemList(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_04_OrderLine_getVariationCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1026, in test_04_OrderLine_getVariationCategoryItemList
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 316, in stepSetOrderLineHalfVCL
omit_individual_variation=0))
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 232, in getVariationCategoryList
omit_individual_variation=omit_individual_variation,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_05_OrderLine_Matrix (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1081, in test_05_OrderLine_Matrix
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 331, in stepSetOrderLineFullVCL
resource_vcl = list(resource.getVariationCategoryList(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 232, in getVariationCategoryList
omit_individual_variation=omit_individual_variation,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_06_OrderLine_getTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1152, in test_06_OrderLine_getTotalQuantity
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_07_OrderLine_getTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1191, in test_07_OrderLine_getTotalPrice
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_08_Order_testTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1250, in test_08_Order_testTotalQuantity
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_09_Order_testTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1308, in test_09_Order_testTotalPrice
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_10_Order_testSimulationState (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1338, in test_10_Order_testSimulationState
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_11_testPropertiesAcquisition (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1363, in test_11_testPropertiesAcquisition
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_12_testAppliedRuleGeneration (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1487, in test_12_testAppliedRuleGeneration
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_13_testAppliedRuleUpdate (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1547, in test_13_testAppliedRuleUpdate
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 445, in stepSetOrderLineDefaultValues
price=self.default_price)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 115, in edit
return self._edit(REQUEST=REQUEST, force_update=force_update, reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryLine.py", line 107, in _edit
force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_15_deliveryBuilder (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1691, in test_15_deliveryBuilder
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1730, in test_16_deliveryBuilderWithNoTic
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 15 tests in 305.116s
FAILED (errors=14)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.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.364s)
Installing Photo ... done (0.892s)
Installing Formulator ... done (1.537s)
Installing ZSQLMethods ... done (0.023s)
Installing ZMySQLDA ... done (0.522s)
Installing ZSQLCatalog ... done (0.108s)
Installing ZMailIn ... done (0.118s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.035s)
Installing MailHost ... done (0.162s)
Installing PageTemplates ... done (0.069s)
Installing PythonScripts ... done (0.079s)
Installing ExternalMethod ... done (0.045s)
Installing iHotfix ... done (0.043s)
Installing Localizer ... done (0.060s)
Installing TimerService ... done (0.095s)
Installing CMFCore ... done (0.093s)
Installing CMFDefault ... done (0.046s)
Installing CMFTopic ... done (0.035s)
Installing DCWorkflow ... done (0.063s)
Installing CMFCalendar ... done (0.239s)
Installing CMFPhoto ... done (0.063s)
Installing BTreeFolder2 ... done (0.062s)
Installing CMFReportTool ... done (1.551s)
Installing CMFMailIn ... done (0.026s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.095s)
Installing PluggableAuthService ... done (0.077s)
Installing ERP5Security ... done (0.037s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.209s)
Installing ERP5Catalog ... done (0.160s)
Installing ERP5Type ... done (1.775s)
Installing ERP5Form ... done (2.813s)
Installing ERP5SyncML ... done (0.484s)
Installing CMFCategory ... done (0.052s)
Installing ERP5 ... done (0.057s)
Installing ZMySQLDDA ... done (0.061s)
Installing ERP5OOo ... done (0.321s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... done (78.169s)
Adding erp5_base business template ... done (30.844s)
Adding erp5_pdm business template ... done (15.421s)
Adding erp5_trade business template ... done (74.023s)
Adding erp5_apparel business template ... done (38.968s)
Logout ...
done (284.872s)
Ran Unit test of Packing List
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfileE
======================================================================
ERROR: test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 612, in test_01_PackingListDecreaseQuantity
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_02_PackingListChangeDestination (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 630, in test_02_PackingListChangeDestination
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 651, in test_03_PackingListChangeStartDate
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_04_PackingListDeleteLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 670, in test_04_PackingListDeleteLine
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 692, in test_05_SimulationChangeQuantity
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 714, in test_06_SimulationChangeStartDate
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 738, in test_07_SimulationChangeStartDateWithTwoOrderLine
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_08_AddContainers (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 760, in test_08_AddContainers
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 782, in test_09_AddContainersWithVariatedResources
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 804, in test_10_PackingListIncreaseQuantity
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 836, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 855, in test_12_PackingListLineChangeResource
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 766, in stepSetOrderProfile
self.failUnless('Site Error' not in order.view())
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 117, in view
return self()
File "/usr/lib/zope/lib/python/Products/CMFCore/PortalContent.py", line 109, in __call__
return method()
File "/home/seb/zope/unit_test/Products/ERP5Form/Form.py", line 377, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
self.interpret(self.program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 650, in do_defineMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
self.interpret(macro)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
self.interpret(program)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
handlers[opcode](self, args)
File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/zope/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
actions = self.listActions(object=object)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 246, in listActions
a = wf.listGlobalActions(info)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 127, in DCWorkflowDefinition_listGlobalActions
return _listGlobalActions(user=user, id=self.id, portal_path=self._getPortalRoot().getPhysicalPath())
File "/home/seb/zope/unit_test/Products/ERP5Type/Cache.py", line 139, in __call__
obj.result = self.method(*args, **kwd)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 100, in _listGlobalActions
searchres_len = int(apply(catalog.countResults, (), dict)[0][0])
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 425, in countResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 12 tests in 297.162s
FAILED (errors=12)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.412s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.040s)
Installing Formulator ... done (1.105s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.070s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.501s)
Installing CMFMailIn ... done (0.013s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.024s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.075s)
Installing ERP5Catalog ... done (0.026s)
Installing ERP5Type ... done (0.473s)
Installing ERP5Form ... done (2.378s)
Installing ERP5SyncML ... done (0.065s)
Installing CMFCategory ... done (0.015s)
Installing ERP5 ... done (0.020s)
Installing ZMySQLDDA ... done (0.036s)
Installing ERP5OOo ... done (0.029s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... done (47.080s)
Adding erp5_base business template ... done (18.407s)
Adding erp5_pdm business template ... done (10.464s)
Adding erp5_trade business template ... done (56.390s)
Adding erp5_apparel business template ... done (25.150s)
Logout ...
done (207.599s)
Ran Unit test of Transformation
Starting New Sequence 1...
Playing step... CreateComponentDictE
======================================================================
ERROR: test_01_getAggregatedAmountList (testTransformation.TestTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testTransformation.py", line 720, in test_01_getAggregatedAmountList
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 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 135, in stepCreateComponentDict
supply_line.updateCellRange(base_id = 'path')
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 356, in updateCellRange
self._updateCellRange(base_id=base_id, script_id=script_id, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/XMLMatrix.py", line 345, in _updateCellRange
cell_range = script(base_id=base_id, matrixbox=0, **kw)
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 50, in SupplyLine_asCellRange
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 228, in getVariationRangeCategoryList
base=base, **kw)]
File "/home/seb/zope/unit_test/Products/ERP5/Document/Amount.py", line 213, in getVariationRangeCategoryItemList
result = resource.getVariationCategoryItemList(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 176, in getVariationCategoryItemList
other_variations = self.searchFolder(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 1 test in 221.383s
FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.199s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.023s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (1.067s)
Installing ZSQLMethods ... done (0.013s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.013s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.429s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.027s)
Installing ERP5Security ... done (0.023s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.021s)
Installing ERP5Type ... done (0.546s)
Installing ERP5Form ... done (2.280s)
Installing ERP5SyncML ... done (0.067s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.017s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.028s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... done (49.433s)
Adding erp5_base business template ... done (19.886s)
Adding erp5_pdm business template ... done (11.286s)
Adding erp5_trade business template ... done (70.659s)
Adding erp5_apparel business template ... done (62.786s)
Adding erp5_mrp business template ... done (20.128s)
Logout ...
done (287.557s)
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 876, 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 "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_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 902, 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 "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_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 929, 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 "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 131, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_445eec84cfafcd54035971a79b90526e/production_order_module/1', 'expand', -2, 6)]
----------------------------------------------------------------------
Ran 3 tests in 460.338s
FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.944s)
/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.150s)
Installing Photo ... done (0.205s)
Installing Formulator ... done (1.406s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.396s)
Installing ZSQLCatalog ... done (0.100s)
Installing ZMailIn ... done (0.060s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.094s)
Installing PageTemplates ... done (0.033s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.036s)
Installing iHotfix ... done (0.021s)
Installing Localizer ... done (0.054s)
Installing TimerService ... done (0.092s)
Installing CMFCore ... done (0.090s)
Installing CMFDefault ... done (0.042s)
Installing CMFTopic ... done (0.026s)
Installing DCWorkflow ... done (0.057s)
Installing CMFCalendar ... done (0.091s)
Installing CMFPhoto ... done (0.033s)
Installing BTreeFolder2 ... done (0.027s)
Installing CMFReportTool ... done (1.297s)
Installing CMFMailIn ... done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.170s)
Installing PluggableAuthService ... done (0.137s)
Installing ERP5Security ... done (0.032s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.130s)
Installing ERP5Catalog ... done (0.192s)
Installing ERP5Type ... done (1.984s)
Installing ERP5Form ... done (2.773s)
Installing ERP5SyncML ... done (0.689s)
Installing CMFCategory ... done (0.054s)
Installing ERP5 ... done (0.051s)
Installing ZMySQLDDA ... done (0.073s)
Installing ERP5OOo ... done (0.109s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_2007b7d0ea09f77195204bf0c30be51b ERP5 Site ... done (81.613s)
Adding erp5_base business template ... done (34.313s)
Adding erp5_pdm business template ... done (19.085s)
Adding erp5_trade business template ... done (86.837s)
Adding erp5_apparel business template ... done (49.940s)
Adding erp5_accounting business template ... done (72.235s)
Logout ...
done (414.312s)
Ran Unit test of Inventory
Starting New Sequence 1...
Playing step... CreateOrganisationList
Playing step... CreateOrder
Playing step... CreateVariatedResourceList
Playing step... CreatePackingListListE
Starting New Sequence 1...
Playing step... CreateOrganisationsForModule
Playing step... CreateVariatedResource
Playing step... CreateItemList
Playing step... CreatePackingListForModuleE
======================================================================
ERROR: test_01_getInventory (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1691, in test_01_getInventory
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 448, in stepCreatePackingListList
variation_category_list = resource_value.getVariationRangeCategoryList(base_category_list=['size']) + \
File "/home/seb/zope/unit_test/Products/ERP5/Variated.py", line 328, in getVariationRangeCategoryList
current_category=current_category)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 122, in getVariationRangeCategoryItemList
sort_on=[('title','ascending')])
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_02_InventoryModule (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1718, in test_02_InventoryModule
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 234, in stepCreatePackingListForModule
self.tic() # acceptable here because this is not the job
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_2007b7d0ea09f77195204bf0c30be51b/sale_packing_list_module/1', 'expand', -2, 6)]
----------------------------------------------------------------------
Ran 2 tests in 503.793s
FAILED (errors=2)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.162s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.098s)
Installing Photo ... done (0.214s)
Installing Formulator ... done (1.831s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.220s)
Installing ZSQLCatalog ... done (0.110s)
Installing ZMailIn ... done (0.060s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.088s)
Installing PageTemplates ... done (0.036s)
Installing PythonScripts ... done (0.042s)
Installing ExternalMethod ... done (0.037s)
Installing iHotfix ... done (0.019s)
Installing Localizer ... done (0.048s)
Installing TimerService ... done (0.069s)
Installing CMFCore ... done (0.090s)
Installing CMFDefault ... done (0.207s)
Installing CMFTopic ... done (0.020s)
Installing DCWorkflow ... done (0.081s)
Installing CMFCalendar ... done (0.092s)
Installing CMFPhoto ... done (0.027s)
Installing BTreeFolder2 ... done (0.029s)
Installing CMFReportTool ... done (1.260s)
Installing CMFMailIn ... done (0.028s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.118s)
Installing PluggableAuthService ... done (0.075s)
Installing ERP5Security ... done (0.033s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.146s)
Installing ERP5Catalog ... done (0.213s)
Installing ERP5Type ... done (2.112s)
Installing ERP5Form ... done (2.680s)
Installing ERP5SyncML ... done (0.675s)
Installing CMFCategory ... done (0.047s)
Installing ERP5 ... done (0.067s)
Installing ZMySQLDDA ... done (0.194s)
Installing ERP5OOo ... done (0.105s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 ERP5 Site ... done (77.294s)
Adding erp5_base business template ... done (31.629s)
Adding erp5_dummy_movement business template ... done (0.790s)
Logout ...
done (132.552s)
Ran Unit test of Tests getInventory methods.
........
----------------------------------------------------------------------
Ran 8 tests in 220.292s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.735s)
/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.184s)
Installing Photo ... done (0.214s)
Installing Formulator ... done (1.306s)
Installing ZSQLMethods ... done (0.050s)
Installing ZMySQLDA ... done (0.272s)
Installing ZSQLCatalog ... done (0.093s)
Installing ZMailIn ... done (0.075s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.088s)
Installing PageTemplates ... done (0.036s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.069s)
Installing iHotfix ... done (0.038s)
Installing Localizer ... done (0.052s)
Installing TimerService ... done (0.066s)
Installing CMFCore ... done (0.096s)
Installing CMFDefault ... done (0.172s)
Installing CMFTopic ... done (0.038s)
Installing DCWorkflow ... done (0.541s)
Installing CMFCalendar ... done (0.128s)
Installing CMFPhoto ... done (0.063s)
Installing BTreeFolder2 ... done (0.043s)
Installing CMFReportTool ... done (1.306s)
Installing CMFMailIn ... done (0.039s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.172s)
Installing PluggableAuthService ... done (0.065s)
Installing ERP5Security ... done (0.041s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.263s)
Installing ERP5Catalog ... done (0.135s)
Installing ERP5Type ... done (1.665s)
Installing ERP5Form ... done (2.641s)
Installing ERP5SyncML ... done (0.535s)
Installing CMFCategory ... done (0.057s)
Installing ERP5 ... done (0.038s)
Installing ZMySQLDDA ... done (0.087s)
Installing ERP5OOo ... done (0.114s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... done (75.135s)
Adding erp5_base business template ... done (23.931s)
Adding erp5_pdm business template ... done (17.418s)
Adding erp5_trade business template ... done (84.064s)
Adding erp5_apparel business template ... done (49.380s)
Logout ...
done (296.857s)
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
return self._edit(**kwd)
File "/home/seb/zope/unit_test/Products/ERP5/Document/InventoryCell.py", line 71, in _edit
DeliveryCell._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
Predicate._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
return self.aq_parent.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
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
return self._edit(**kwd)
File "/home/seb/zope/unit_test/Products/ERP5/Document/InventoryCell.py", line 71, in _edit
DeliveryCell._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
Predicate._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
return self.aq_parent.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
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
return self._edit(**kwd)
File "/home/seb/zope/unit_test/Products/ERP5/Document/InventoryCell.py", line 71, in _edit
DeliveryCell._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 262, in _edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/MappedValue.py", line 90, in _edit
Predicate._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 992, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5/Document/DeliveryCell.py", line 117, in getProperty
return self.aq_parent.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 805, in getProperty
return method(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 221, in getPrice
local_price = self._getPrice(self.asContext(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Movement.py", line 200, 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 4, in Movement_lookupPrice
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 654, in getPrice
price_parameter_dict = self._getPriceParameterDict(
File "/home/seb/zope/unit_test/Products/ERP5/Document/Resource.py", line 604, in _getPriceParameterDict
has_cell_content=0, **tmp_kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 204, in generateMappedValue
predicate_list = self.searchPredicateList(context, test=test, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/DomainTool.py", line 167, in searchPredicateList
sql_result_list = portal_catalog.searchResults(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 4 tests in 962.672s
FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (8.429s)
/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.112s)
Installing Photo ... done (0.466s)
Installing Formulator ... done (1.445s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.331s)
Installing ZSQLCatalog ... done (0.082s)
Installing ZMailIn ... done (0.060s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.015s)
Installing MailHost ... done (0.080s)
Installing PageTemplates ... done (0.039s)
Installing PythonScripts ... done (0.034s)
Installing ExternalMethod ... done (0.059s)
Installing iHotfix ... done (0.024s)
Installing Localizer ... done (0.059s)
Installing TimerService ... done (0.069s)
Installing CMFCore ... done (0.197s)
Installing CMFDefault ... done (0.056s)
Installing CMFTopic ... done (0.039s)
Installing DCWorkflow ... done (0.072s)
Installing CMFCalendar ... done (0.120s)
Installing CMFPhoto ... done (0.025s)
Installing BTreeFolder2 ... done (0.033s)
Installing CMFReportTool ... done (1.205s)
Installing CMFMailIn ... done (0.027s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.132s)
Installing PluggableAuthService ... done (0.117s)
Installing ERP5Security ... done (0.031s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.354s)
Installing ERP5Catalog ... done (0.172s)
Installing ERP5Type ... done (3.183s)
Installing ERP5Form ... done (2.667s)
Installing ERP5SyncML ... done (0.658s)
Installing CMFCategory ... done (0.199s)
Installing ERP5 ... done (0.115s)
Installing ZMySQLDDA ... done (0.101s)
Installing ERP5OOo ... done (0.110s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ... done (83.679s)
Adding erp5_base business template ... done (40.426s)
Logout ...
done (150.843s)
Ran Unit test of ERP5 HR
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... SetOrganisationCategories
Playing step... ResetOrganisationCategories
Playing step... SetOrganisationAddress.
Starting New Sequence 1...
Playing step... CreatePerson
Playing step... CreateOrganisation
Playing step... SetPersonCareer
Playing step... CheckPersonCareer.
Starting New Sequence 1...
Playing step... CreatePerson
Playing step... CreateOrganisation
Playing step... SetPersonCareer
Playing step... AddCareerStepInAnotherOrganisation
Playing step... CheckCareerSubordination.
----------------------------------------------------------------------
Ran 3 tests in 203.845s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (5.400s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.056s)
Installing Formulator ... done (1.138s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.071s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.049s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.457s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.720s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... done (50.961s)
Adding erp5_base business template ... done (23.706s)
Logout ...
done (97.452s)
Ran Unit test of Base
Starting New Sequence 1...
Playing step... RemoveWorkflowsRelated
Playing step... CreateObject
Playing step... Tic
Playing step... CheckTitleValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentTitleValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameTitleValueWithEdit
Playing step... CheckTitleValue
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentTitleValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2...
Playing step... AssociateWorkflows
Playing step... CreateObject
Playing step... Tic
Playing step... CheckTitleValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentTitleValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameTitleValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentTitleValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 3...
Playing step... AssociateWorkflowsExcludingEdit
Playing step... CreateObject
Playing step... Tic
Playing step... CheckTitleValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentTitleValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameTitleValueWithEdit
Playing step... CheckIfMessageQueueIsEmpty
Playing step... CheckTitleValue
Playing step... SetDifferentTitleValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1...
Playing step... RemoveWorkflowsRelated
Playing step... CreateObject
Playing step... Tic
Playing step... CheckGroupValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentGroupValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameGroupValueWithEdit
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentGroupValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2...
Playing step... AssociateWorkflows
Playing step... CreateObject
Playing step... Tic
Playing step... CheckGroupValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentGroupValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameGroupValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentGroupValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 3...
Playing step... AssociateWorkflowsExcludingEdit
Playing step... CreateObject
Playing step... Tic
Playing step... CheckGroupValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentGroupValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameGroupValueWithEdit
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentGroupValueWithEdit
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1...
Playing step... RemoveWorkflowsRelated
Playing step... CreateObject
Playing step... Tic
Playing step... CheckTitleValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentTitleValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameTitleValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentTitleValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2...
Playing step... AssociateWorkflows
Playing step... CreateObject
Playing step... Tic
Playing step... CheckTitleValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentTitleValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameTitleValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentTitleValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckTitleValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1...
Playing step... RemoveWorkflowsRelated
Playing step... CreateObject
Playing step... Tic
Playing step... CheckGroupValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentGroupValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameGroupValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentGroupValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Starting New Sequence 2...
Playing step... AssociateWorkflows
Playing step... CreateObject
Playing step... Tic
Playing step... CheckGroupValue
Playing step... MakeImmediateReindexObjectCrashing
Playing step... SetDifferentGroupValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetSameGroupValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty
Playing step... SetDifferentGroupValueWithSetter
Playing step... CheckIfActivitiesAreCreated
Playing step... CheckGroupValue
Playing step... Tic
Playing step... CheckIfMessageQueueIsEmpty.
Starting New Sequence 1...
Playing step... CreateObject
Playing step... SetObjectNotDefinedProperty
Playing step... CheckNotDefinedPropertySaved
Playing step... CheckGetNotDefinedProperty
Starting New Sequence 2...
Playing step... CreateTempObject
Playing step... CheckObjectPortalType
Playing step... SetObjectNotDefinedProperty
Playing step... CheckNotDefinedPropertySaved
Playing step... CheckGetNotDefinedProperty.
Starting New Sequence 1...
Playing step... CreateTempClass
Playing step... CheckTempClassPortalType
Playing step... SetObjectDefinedProperty
Playing step... CheckDefinedPropertySaved
Playing step... CheckGetDefinedProperty
Playing step... SetObjectNotDefinedProperty
Playing step... CheckNotDefinedPropertySaved
Playing step... CheckGetNotDefinedProperty
Playing step... SetObjectNotRelatedProperty
Playing step... CheckNotRelatedPropertySaved
Playing step... CheckGetNotRelatedPropertyF
Starting New Sequence 1...
Playing step... CreateObject
Playing step... CheckEditMethod
Playing step... SetEditProperty
Playing step... CheckEditMethodF
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... SetBadTalesExpression
Playing step... CheckTalesExpression
Playing step... SetGoodTalesExpression
Playing step... CheckTalesExpression.
======================================================================
FAIL: test_06_getPropertyOnTempClass (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 766, in test_06_getPropertyOnTempClass
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 741, in stepCheckGetNotRelatedProperty
object_instance.getProperty(
AssertionError: 'a_great_index' != None
======================================================================
FAIL: test_07_setEditProperty (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 803, in test_07_setEditProperty
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 779, in stepCheckEditMethod
self.assertEquals(old_edit_method, edit_method)
AssertionError: <bound method ImplicitAcquirerWrapper.(?) of <Organisation at /erp5_portal_727747cf82e06a68e4b85b45326f6050/organisation_module/12>> != "now this object is 'read only !!!'"
----------------------------------------------------------------------
Ran 8 tests in 133.331s
FAILED (failures=2)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.673s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.021s)
Installing Photo ... done (0.034s)
Installing Formulator ... done (1.066s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.056s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.570s)
Installing CMFMailIn ... done (0.021s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.041s)
Installing PluggableAuthService ... done (0.021s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.046s)
Installing ERP5Type ... done (0.042s)
Installing ERP5Form ... done (3.303s)
Installing ERP5SyncML ... done (0.166s)
Installing CMFCategory ... done (0.022s)
Installing ERP5 ... done (0.022s)
Installing ZMySQLDDA ... done (0.038s)
Installing ERP5OOo ... done (0.029s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... done (52.575s)
Adding erp5_csv_style business template ... done (1.059s)
Adding erp5_pdf_style business template ... done (1.375s)
Logout ...
done (67.352s)
Ran Unit test of Business Template
...........EEEEEEEEEE....EE..
======================================================================
ERROR: test_12_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2248, in test_12_BusinessTemplateWithCatalogMethod
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/testBusinessTemplate.py", line 104, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5052d51039b979b3e050891c12342c2c/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_13_BusinessTemplateWithRole (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2291, in test_13_BusinessTemplateWithRole
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/testBusinessTemplate.py", line 104, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5052d51039b979b3e050891c12342c2c/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_14_BusinessTemplateWithLocalRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2338, in test_14_BusinessTemplateWithLocalRoles
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/testBusinessTemplate.py", line 104, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5052d51039b979b3e050891c12342c2c/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_155_BusinessTemplateUpdateWithPropertySheet (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2449, in test_155_BusinessTemplateUpdateWithPropertySheet
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/testBusinessTemplate.py", line 104, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5052d51039b979b3e050891c12342c2c/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_15_BusinessTemplateWithPropertySheet (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2381, in test_15_BusinessTemplateWithPropertySheet
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/testBusinessTemplate.py", line 104, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5052d51039b979b3e050891c12342c2c/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2546, in test_16_BusinessTemplateWithAllItems
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/testBusinessTemplate.py", line 919, in stepCreateCatalogMethod
addSQLMethod(id=method_id,title='', connection_id='test test', arguments='', template='')
File "/usr/lib/zope/lib/python/Products/ZSQLMethods/SQL.py", line 68, in manage_addZSQLMethod
self._setObject(id, SQL(id, title, connection_id, arguments, template))
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "z_fake_method" is invalid - it is already in use.
======================================================================
ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2625, in test_17_SubobjectsAfterUpgradOfBusinessTemplate
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/testBusinessTemplate.py", line 1497, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4043, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3977, in _install
item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1023, in install
ps.manage_skinLayers(skinpath = tuple(new_selection), skinname = skin_name, add_skin = 1)
File "/usr/lib/zope/lib/python/Products/CMFCore/SkinsTool.py", line 141, in manage_skinLayers
self.testSkinPath(skinpath)
File "/usr/lib/zope/lib/python/Products/CMFCore/SkinsTool.py", line 230, in testSkinPath
self.getSkinByPath(p, raise_exc=1)
File "/usr/lib/zope/lib/python/Products/CMFCore/SkinsContainer.py", line 75, in getSkinByPath
raise SkinPathError('Name not found: %s' % part_path)
SkinPathError: Name not found: erp5_geek
======================================================================
ERROR: test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2746, in test_18_upgradeBusinessTemplateWithAllItems
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/testBusinessTemplate.py", line 919, in stepCreateCatalogMethod
addSQLMethod(id=method_id,title='', connection_id='test test', arguments='', template='')
File "/usr/lib/zope/lib/python/Products/ZSQLMethods/SQL.py", line 68, in manage_addZSQLMethod
self._setObject(id, SQL(id, title, connection_id, arguments, template))
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "z_fake_method" is invalid - it is already in use.
======================================================================
ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2833, in test_19_checkUpdateBusinessTemplateWorkflow
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/testBusinessTemplate.py", line 919, in stepCreateCatalogMethod
addSQLMethod(id=method_id,title='', connection_id='test test', arguments='', template='')
File "/usr/lib/zope/lib/python/Products/ZSQLMethods/SQL.py", line 68, in manage_addZSQLMethod
self._setObject(id, SQL(id, title, connection_id, arguments, template))
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "z_fake_method" is invalid - it is already in use.
======================================================================
ERROR: test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2931, in test_20_checkUpdateTool
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/testBusinessTemplate.py", line 919, in stepCreateCatalogMethod
addSQLMethod(id=method_id,title='', connection_id='test test', arguments='', template='')
File "/usr/lib/zope/lib/python/Products/ZSQLMethods/SQL.py", line 68, in manage_addZSQLMethod
self._setObject(id, SQL(id, title, connection_id, arguments, template))
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "z_fake_method" is invalid - it is already in use.
======================================================================
ERROR: test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 3049, in test_25_CheckNoMissingDependency
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/testBusinessTemplate.py", line 1504, in stepInstallCurrentBusinessTemplate
current_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4043, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3977, in _install
item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1023, in install
ps.manage_skinLayers(skinpath = tuple(new_selection), skinname = skin_name, add_skin = 1)
File "/usr/lib/zope/lib/python/Products/CMFCore/SkinsTool.py", line 141, in manage_skinLayers
self.testSkinPath(skinpath)
File "/usr/lib/zope/lib/python/Products/CMFCore/SkinsTool.py", line 230, in testSkinPath
self.getSkinByPath(p, raise_exc=1)
File "/usr/lib/zope/lib/python/Products/CMFCore/SkinsContainer.py", line 75, in getSkinByPath
raise SkinPathError('Name not found: %s' % part_path)
SkinPathError: Name not found: erp5_geek
======================================================================
ERROR: test_26_ImportWithDoubleSlashes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 3094, in test_26_ImportWithDoubleSlashes
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/testBusinessTemplate.py", line 104, in stepTic
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5052d51039b979b3e050891c12342c2c/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
----------------------------------------------------------------------
Ran 29 tests in 473.448s
FAILED (errors=12)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (6.266s)
/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.132s)
Installing Photo ... done (0.231s)
Installing Formulator ... done (1.518s)
Installing ZSQLMethods ... done (0.020s)
Installing ZMySQLDA ... done (0.346s)
Installing ZSQLCatalog ... done (0.089s)
Installing ZMailIn ... done (0.098s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.055s)
Installing MailHost ... done (0.091s)
Installing PageTemplates ... done (0.045s)
Installing PythonScripts ... done (0.044s)
Installing ExternalMethod ... done (0.054s)
Installing iHotfix ... done (0.023s)
Installing Localizer ... done (0.040s)
Installing TimerService ... done (0.059s)
Installing CMFCore ... done (0.083s)
Installing CMFDefault ... done (0.042s)
Installing CMFTopic ... done (0.022s)
Installing DCWorkflow ... done (0.045s)
Installing CMFCalendar ... done (0.075s)
Installing CMFPhoto ... done (0.025s)
Installing BTreeFolder2 ... done (0.032s)
Installing CMFReportTool ... done (1.214s)
Installing CMFMailIn ... done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.100s)
Installing PluggableAuthService ... done (0.076s)
Installing ERP5Security ... done (0.036s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.331s)
Installing ERP5Catalog ... done (0.519s)
Installing ERP5Type ... done (0.364s)
Installing ERP5Form ... done (8.624s)
Installing ERP5SyncML ... done (1.401s)
Installing CMFCategory ... done (0.396s)
Installing ERP5 ... done (0.086s)
Installing ZMySQLDDA ... done (0.070s)
Installing ERP5OOo ... done (0.235s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... done (124.949s)
Logout ...
done (135.522s)
Ran Unit test of Trash Tool
Test Check TrashBin Creation
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable.
Test Check Backup Without Save
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable
Playing step... AddBaseCategory
Playing step... AddCategories
Playing step... Tic
Playing step... BackupObjectsWithoutSave
Playing step... CheckObjectNotBackup.
Test Check Backup With Save
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable
Playing step... AddBaseCategory
Playing step... AddCategories
Playing step... Tic
Playing step... BackupObjectsWithSave
Playing step... Tic
Playing step... CheckObjectBackupWithoutSubObjects.
Test Check Backup Without Subobjects
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBin
Playing step... CheckTrashBinIndexable
Playing step... AddBaseCategory
Playing step... AddCategories
Playing step... Tic
Playing step... BackupObjectsWithKeepingSubobjects
Playing step... Tic
Playing step... CheckObjectBackupWithSubObjects.
----------------------------------------------------------------------
Ran 4 tests in 155.875s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (2.787s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.095s)
Installing Photo ... done (0.154s)
Installing Formulator ... done (1.202s)
Installing ZSQLMethods ... done (0.016s)
Installing ZMySQLDA ... done (0.310s)
Installing ZSQLCatalog ... done (0.094s)
Installing ZMailIn ... done (0.097s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.042s)
Installing MailHost ... done (0.100s)
Installing PageTemplates ... done (0.269s)
Installing PythonScripts ... done (0.112s)
Installing ExternalMethod ... done (0.119s)
Installing iHotfix ... done (0.136s)
Installing Localizer ... done (0.144s)
Installing TimerService ... done (0.104s)
Installing CMFCore ... done (0.158s)
Installing CMFDefault ... done (0.137s)
Installing CMFTopic ... done (0.028s)
Installing DCWorkflow ... done (0.088s)
Installing CMFCalendar ... done (0.200s)
Installing CMFPhoto ... done (0.022s)
Installing BTreeFolder2 ... done (0.194s)
Installing CMFReportTool ... done (1.503s)
Installing CMFMailIn ... done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.184s)
Installing PluggableAuthService ... done (0.071s)
Installing ERP5Security ... done (0.037s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.131s)
Installing ERP5Catalog ... done (0.135s)
Installing ERP5Type ... done (0.097s)
Installing ERP5Form ... done (3.915s)
Installing ERP5SyncML ... done (0.316s)
Installing CMFCategory ... done (0.054s)
Installing ERP5 ... done (0.040s)
Installing ZMySQLDDA ... done (0.060s)
Installing ERP5OOo ... done (0.118s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... done (51.724s)
Adding erp5_base business template ... done (31.641s)
Logout ...
done (104.976s)
Ran Unit test of ERP5Type
...............
----------------------------------------------------------------------
Ran 15 tests in 113.150s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.237s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.061s)
Installing ZSQLMethods ... done (0.017s)
Installing ZMySQLDA ... done (0.056s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.017s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.485s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.070s)
Installing ERP5Catalog ... done (0.035s)
Installing ERP5Type ... done (0.029s)
Installing ERP5Form ... done (2.895s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e ERP5 Site ... done (47.129s)
Adding erp5_base business template ... done (17.981s)
Adding erp5_trade business template ... done (81.946s)
Logout ...
done (180.057s)
Ran Unit test of XMLMatrix
Test Rename Cell Range .
Test Set Cell Range And Catalog With Activities .
Test Set Cell Range And Catalog Without Activities .
----------------------------------------------------------------------
Ran 3 tests in 205.549s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (2.681s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.021s)
Installing Photo ... done (0.056s)
Installing Formulator ... done (1.186s)
Installing ZSQLMethods ... done (0.012s)
Installing ZMySQLDA ... done (0.158s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.022s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.037s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.592s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.029s)
Installing ERP5Security ... done (0.014s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.057s)
Installing ERP5Catalog ... done (0.022s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.998s)
Installing ERP5SyncML ... done (0.063s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.023s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... done (48.868s)
Adding erp5_base business template ... done (17.364s)
Logout ...
done (87.277s)
Ran Unit test of Constraint
Starting New Sequence 1...
Playing step... CreateObject
Playing step... CreateConstraint
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1...
Playing step... CreateObject
Playing step... CreatePropertyExistence0
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2...
Playing step... CreateObject
Playing step... CreatePropertyExistence1
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 3...
Playing step... CreateObject
Playing step... SetObjectNoneTitle
Playing step... CreatePropertyExistence2
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 4...
Playing step... CreateObject
Playing step... SetObjectEmptyTitle
Playing step... CreatePropertyExistence2
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5...
Playing step... CreateObject
Playing step... SetObjectTitle
Playing step... CreatePropertyExistence2
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1...
Playing step... CreateObject
Playing step... CreatePropertyTypeValidity
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2...
Playing step... CreateObject
Playing step... SetObjectNoneTitle
Playing step... CreatePropertyTypeValidity
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 3...
Playing step... CreateObject
Playing step... SetObjectEmptyTitle
Playing step... CreatePropertyTypeValidity
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 4...
Playing step... CreateObject
Playing step... SetObjectTitle
Playing step... CreatePropertyTypeValidity
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5...
Playing step... CreateObject
Playing step... SetObjectBadTypedProperty
Playing step... CreatePropertyTypeValidity
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 6...
Playing step... CreateObject
Playing step... SetObjectIntTitle
Playing step... CreatePropertyTypeValidity
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 7...
Playing step... CreateObject
Playing step... SetObjectBadTypedProperty
Playing step... CreatePropertyTypeValidity
Playing step... CallFixConsistency
Playing step... CheckIfConstraintFailed
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 8...
Playing step... CreateObject
Playing step... SetObjectIntLocalProperty
Playing step... CreatePropertyTypeValidity
Playing step... CallFixConsistency
Playing step... CheckIfConstraintFailed
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1...
Playing step... CreateObject
Playing step... CreateAttributeEquality0
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2...
Playing step... CreateObject
Playing step... SetObjectNoneTitle
Playing step... CreateAttributeEquality1
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 3...
Playing step... CreateObject
Playing step... SetObjectEmptyTitle
Playing step... CreateAttributeEquality1
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 4...
Playing step... CreateObject
Playing step... SetObjectTitle
Playing step... CreateAttributeEquality1
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1...
Playing step... CreateObject
Playing step... CreateCategoryExistence0
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2...
Playing step... CreateObject
Playing step... CreateCategoryExistence1
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 3...
Playing step... CreateObject
Playing step... CreateCategoryExistence2
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 4...
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryExistence2
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5...
Playing step... CreateObject
Playing step... CreateCategoryExistence3
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 6...
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryExistence3
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 7...
Playing step... CreateObject
Playing step... SetObjectGroupOrganisation
Playing step... CreateCategoryExistence3
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1...
Playing step... CreateObject
Playing step... CreateCategoryMembershipArity0
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2...
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryMembershipArity0
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 3...
Playing step... CreateObject
Playing step... SetObjectGroupList
Playing step... CreateCategoryMembershipArity0
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 4...
Playing step... CreateObject
Playing step... CreateCategoryMembershipArity1
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 5...
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryMembershipArity1
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 6...
Playing step... CreateObject
Playing step... SetObjectGroupList
Playing step... CreateCategoryMembershipArity1
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 7...
Playing step... CreateObject
Playing step... CreateCategoryMembershipArity2
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 8...
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryMembershipArity2
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 9...
Playing step... CreateObject
Playing step... SetObjectGroupList
Playing step... CreateCategoryMembershipArity2
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 10...
Playing step... CreateObject
Playing step... CreateCategoryMembershipArity3
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 11...
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryMembershipArity3
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 12...
Playing step... CreateObject
Playing step... SetObjectGroupList
Playing step... CreateCategoryMembershipArity3
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 13...
Playing step... CreateObject
Playing step... CreateCategoryMembershipArity4
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 14...
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryMembershipArity4
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 15...
Playing step... CreateObject
Playing step... SetObjectGroupList
Playing step... CreateCategoryMembershipArity4
Playing step... Tic
Playing step... CallCheckConsistency
Playing step... CheckIfConstraintSucceeded.
Starting New Sequence 1...
Playing step... DeleteObjectModuleContent
Playing step... CreateObject
Playing step... CreateCategoryRelatedMembershipArity0
Playing step... Tic
Playing step... CallRelatedCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 2...
Playing step... DeleteObjectModuleContent
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryRelatedMembershipArity0
Playing step... Tic
Playing step... CallRelatedCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 3...
Playing step... DeleteObjectModuleContent
Playing step... CreateObject
Playing step... CreateCategoryRelatedMembershipArity1
Playing step... Tic
Playing step... CallRelatedCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 4...
Playing step... DeleteObjectModuleContent
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryRelatedMembershipArity1
Playing step... Tic
Playing step... CallRelatedCheckConsistency
Playing step... CheckIfConstraintSucceeded
Starting New Sequence 5...
Playing step... DeleteObjectModuleContent
Playing step... CreateObject
Playing step... CreateCategoryRelatedMembershipArity2
Playing step... Tic
Playing step... CallRelatedCheckConsistency
Playing step... CheckIfConstraintFailed
Starting New Sequence 6...
Playing step... DeleteObjectModuleContent
Playing step... CreateObject
Playing step... SetObjectGroup
Playing step... CreateCategoryRelatedMembershipArity2
Playing step... Tic
Playing step... CallRelatedCheckConsistency
Playing step... CheckIfConstraintFailed.
----------------------------------------------------------------------
Ran 7 tests in 122.212s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.198s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.103s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.441s)
Installing CMFMailIn ... done (0.014s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.025s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.014s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.840s)
Installing ERP5SyncML ... done (0.087s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.029s)
Installing ERP5OOo ... done (0.023s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ... done (47.584s)
Adding erp5_base business template ... done (17.654s)
Logout ...
done (85.818s)
Ran Unit test of CMFCategory
Test Has Everything .
Test Single Category .
Test Multiple Category .
Test Category Value .
Test Return None .
Test Single Acquisition .
Test List Acquisition .
Test Subordination Value .
Test Subordination Multiple Value .
Test Get Category Parent Uid List .
Test Fallback Base Category .
Test Parent Acquisition .
Test Get Related Value And Value List .
Test Category RenamingE
Test Category Renaming with cut n pasteE
Test Category Renaming with cut n paste, copy n paste doesnt changeE
Test multiple Portal Types for a same category.
Test Sort Child Values.
Test Get Related ValuesE
Test Domain Selection and CategoriesE
======================================================================
ERROR: test_13_RenameCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 394, in test_13_RenameCategory
west.setId("ouest")
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 1020, in setId
self.flushActivity(invoke=1)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActiveObject.py", line 130, in flushActivity
activity_tool.flush(self, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/ActivityTool.py", line 645, in flush
activity.flush(self, object_path, invoke=invoke, **kw)
File "/home/seb/zope/unit_test/Products/CMFActivity/Activity/SQLDict.py", line 415, in flush
raise ActivityFlushError, (
ActivityFlushError: Could not evaluate updateRelatedContent on /erp5_portal_4e6c82e480d59da035cd5dd757d7af09/portal_categories/region/europe/ouest
======================================================================
ERROR: test_13b_RenameCategoryUsingCutAndPaste (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 424, in test_13b_RenameCategoryUsingCutAndPaste
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_4e6c82e480d59da035cd5dd757d7af09/portal_categories/region/west', 'updateRelatedContent', -2, 6)]
======================================================================
ERROR: test_13c_RenameCategoryUsingCutAndPasteButNotCopy (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 447, in test_13c_RenameCategoryUsingCutAndPasteButNotCopy
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_4e6c82e480d59da035cd5dd757d7af09/portal_categories/region/west', 'updateRelatedContent', -2, 6)]
======================================================================
ERROR: Checks on getting related values
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 561, in test_16_GetRelatedValues
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_4e6c82e480d59da035cd5dd757d7af09/portal_categories/region/west', 'updateRelatedContent', -2, 6)]
======================================================================
ERROR: Tests Categories and Domain Selection
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 595, in test_17_CategoriesAndDomainSelection
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_4e6c82e480d59da035cd5dd757d7af09/portal_categories/region/west', 'updateRelatedContent', -2, 6)]
----------------------------------------------------------------------
Ran 20 tests in 255.452s
FAILED (errors=5)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.174s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.042s)
Installing Formulator ... done (1.176s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.049s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.450s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.015s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.025s)
Installing ERP5Type ... done (0.023s)
Installing ERP5Form ... done (2.789s)
Installing ERP5SyncML ... done (0.060s)
Installing CMFCategory ... done (0.021s)
Installing ERP5 ... done (0.024s)
Installing ZMySQLDDA ... done (0.016s)
Installing ERP5OOo ... done (0.029s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... done (47.817s)
Adding erp5_base business template ... done (24.536s)
Logout ...
done (95.347s)
Ran Unit test of ERP5Catalog
.E.EEEEEEEE.EE..E.EE
======================================================================
ERROR: test_02_EverythingCatalogued (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 120, in test_02_EverythingCatalogued
organisation_module_list = portal_catalog(portal_type='Organisation Module')
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_04_SearchFolderWithDeletedObjects (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 165, in test_04_SearchFolderWithDeletedObjects
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_05_SearchFolderWithImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 185, in test_05_SearchFolderWithImmediateReindexObject
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_06_SearchFolderWithRecursiveImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 208, in test_06_SearchFolderWithRecursiveImmediateReindexObject
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_07_ClearCatalogAndTestNewContent (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 234, in test_07_ClearCatalogAndTestNewContent
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_08_ClearCatalogAndTestRecursiveImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 253, in test_08_ClearCatalogAndTestRecursiveImmediateReindexObject
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_09_ClearCatalogAndTestImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 272, in test_09_ClearCatalogAndTestImmediateReindexObject
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_10_OrderedSearchFolder (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 294, in test_10_OrderedSearchFolder
folder_object_list = [x.getObject().getId()
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_11_CastStringAsInt (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 325, in test_11_CastStringAsInt
folder_object_list = [x.getObject().getTitle() for x in person_module.searchFolder(sort_on=[('title','ascending')])]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_13_ERP5Site_reindexAll (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 389, in test_13_ERP5Site_reindexAll
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_14_ReindexWithBrokenCategory (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 410, in test_14_ReindexWithBrokenCategory
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_17_CreationDate_ModificationDate (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 506, in test_17_CreationDate_ModificationDate
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
======================================================================
ERROR: test_19_SearchFolderWithNonAsciiCharacter (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 659, in test_19_SearchFolderWithNonAsciiCharacter
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: test_20_SearchFolderWithDynamicRelatedKey (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 694, in test_20_SearchFolderWithDynamicRelatedKey
self.tic()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 358, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/portal_simulation', 'InventoryModule_reindexMovementList', -2, 6)]
----------------------------------------------------------------------
Ran 20 tests in 288.240s
FAILED (errors=14)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (2.093s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.034s)
Installing Formulator ... done (1.069s)
Installing ZSQLMethods ... done (0.017s)
Installing ZMySQLDA ... done (0.122s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.013s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.012s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.020s)
Installing iHotfix ... done (0.011s)
Installing Localizer ... done (0.013s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.036s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... done (0.589s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.037s)
Installing PluggableAuthService ... done (0.050s)
Installing ERP5Security ... done (0.016s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.022s)
Installing ERP5Type ... done (0.023s)
Installing ERP5Form ... done (4.770s)
Installing ERP5SyncML ... done (0.704s)
Installing CMFCategory ... done (0.054s)
Installing ERP5 ... done (0.043s)
Installing ZMySQLDDA ... done (0.090s)
Installing ERP5OOo ... done (0.408s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ... done (60.692s)
Logout ...
done (72.161s)
Ran Unit test of Portal Preference
Test allowed content types.
Test enabling preferencesE
Test methods on portal_preferenceE
Test getPreferenceE
Test setting preferencesE
Test different users preferences are independantsE
======================================================================
ERROR: tests preference workflow
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 118, in test_EnablePreferences
person1.portal_workflow.doActionFor(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 258, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 264, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 10, in disableOtherPreferences
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: checks that preference methods can be called 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/ERP5Form/tests/testPreferences.py", line 225, in test_GetAttr
portal_workflow.doActionFor(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 258, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 264, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 10, in disableOtherPreferences
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: checks that getPreference returns the good preferred value
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 153, in test_GetPreference
portal_workflow.doActionFor(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 258, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 264, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 10, in disableOtherPreferences
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: check setting a preference modifies
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 262, in test_SetPreference
portal_workflow.doActionFor(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 258, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 264, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 10, in disableOtherPreferences
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: check that the preferences are related to the user.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 303, in test_UserIndependance
portal_workflow.doActionFor(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
return self._invokeWithNotification(
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 258, in DCWorkflowDefinition_executeTransition
script()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 326, in wrapWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 264, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
result = f(*args, **kw)
File "Script (Python)", line 10, in disableOtherPreferences
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 6 tests in 87.814s
FAILED (errors=5)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.201s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.022s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.197s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.016s)
Installing CMFReportTool ... done (0.490s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.021s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.597s)
Installing ERP5SyncML ... done (0.070s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.015s)
Installing ZMySQLDDA ... done (0.017s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ... done (47.366s)
Adding erp5_base business template ... done (27.286s)
Logout ...
done (98.422s)
Ran Unit test of ERP5 SyncML
Test Has Everything .
Test Add a Publication .
Test Add First Subscription .
Test Add Second Subscription .
Test getSynchronizationList .
Test getObjectList .
Test Export and Import .
Test First Synchronization .
Test First Synchronization With Long Lines .
Test getObjectFromGid .
Test getSynchronizationState .
Test Update Simple Data .
Test Get Conflict List .
Test Get Publisher And Subscriber Document .
Test Apply Publisher Value .
Test Apply Subscriber Value .
Test Add Sub Object .
Test Update Sub Object .
Test Delete Object .
Test Delete Sub Object .
Test Get Conflict List On Sub Object .
Test Apply Publisher Document On Sub Object .
Test Apply Subscriber Document On Sub Object .
Test Synchronize With Strange Gid .
Test Multi Node Conflict .
Test Synchronize WorkflowHistory .
Test Update Local Role .
Test Partial Data .
Test Broken Message .
Test Get Synchronization Type .
Test Update Local Permission .
Test Add One Way Subscription .
Test One Way Sync .
----------------------------------------------------------------------
Ran 33 tests in 172.655s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.307s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.022s)
Installing Photo ... done (0.075s)
Installing Formulator ... done (1.369s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.088s)
Installing ZSQLCatalog ... done (0.067s)
Installing ZMailIn ... done (0.039s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.027s)
Installing MailHost ... done (0.041s)
Installing PageTemplates ... done (0.019s)
Installing PythonScripts ... done (0.019s)
Installing ExternalMethod ... done (0.035s)
Installing iHotfix ... done (0.018s)
Installing Localizer ... done (0.023s)
Installing TimerService ... done (0.018s)
Installing CMFCore ... done (0.026s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.483s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.023s)
Installing ERP5Type ... done (0.023s)
Installing ERP5Form ... done (2.621s)
Installing ERP5SyncML ... done (0.104s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.017s)
Installing ZMySQLDDA ... done (0.018s)
Installing ERP5OOo ... done (0.029s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ... done (50.632s)
Adding erp5_base business template ... done (18.226s)
Logout ...
done (91.236s)
Ran Unit test of Predicates
......
----------------------------------------------------------------------
Ran 6 tests in 100.235s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.176s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.154s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.061s)
Installing CMFPhoto ... done (0.024s)
Installing BTreeFolder2 ... done (0.018s)
Installing CMFReportTool ... done (0.436s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.697s)
Installing ERP5SyncML ... done (0.092s)
Installing CMFCategory ... done (0.023s)
Installing ERP5 ... done (0.027s)
Installing ZMySQLDDA ... done (0.021s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_27fd033bf95fdc3939b1d537bd566a59 ERP5 Site ... done (47.356s)
Adding erp5_ui_test business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 458, in setupERP5Site
portal.portal_templates[id_].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 116, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4043, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3977, in _install
item.install(local_configuration, force=force, object_to_update=object_to_update, trashbin=trashbin)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 579, in install
container._setObject(object_id, obj)
AttributeError: _setObject
E...E
======================================================================
ERROR: test_01_CheckListBoxLinesWithStat (testListBox.TestListBox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testListBox.py", line 149, in test_01_CheckListBoxLinesWithStat
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/ERP5Form/tests/testListBox.py", line 103, in stepRenderList
REQUEST = request)
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 2902, in get_value
render_format=kw.get('render_format'))
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 389, in render
return renderer()
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 1644, in __call__
return self.render(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 2660, in render
for line in self.query():
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 1575, in query
report_section_list = self.getReportSectionList()
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 1553, in getReportSectionList
object_list = selection(method = list_method, context = context, REQUEST = self.request)
File "/home/seb/zope/unit_test/Products/ERP5Form/Selection.py", line 204, in __call__
result = method(selection=self, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
======================================================================
ERROR: Listbox edits selection with request parameters. Special care must be
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testListBox.py", line 256, in test_05_EditSelectionWithFileUpload
listbox.get_value('default', render_format='list', REQUEST=request)
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 2902, in get_value
render_format=kw.get('render_format'))
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 389, in render
return renderer()
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 1644, in __call__
return self.render(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 2660, in render
for line in self.query():
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 1575, in query
report_section_list = self.getReportSectionList()
File "/home/seb/zope/unit_test/Products/ERP5Form/ListBox.py", line 1553, in getReportSectionList
object_list = selection(method = list_method, context = context, REQUEST = self.request)
File "/home/seb/zope/unit_test/Products/ERP5Form/Selection.py", line 204, in __call__
result = method(selection=self, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 180, in searchFolder
return method(**kw2)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 402, in searchResults
kw[ 'allowedRolesAndUsers' ] = self.getAllowedRolesAndUsers(**kw) # XXX allowedRolesAndUsers naming is wrong
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 375, in getAllowedRolesAndUsers
allowedRolesAndUsers = self._listAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/ERP5Catalog/CatalogTool.py", line 280, in _listAllowedRolesAndUsers
result = CMFCoreCatalogTool._listAllowedRolesAndUsers(self, user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 212, in _listAllowedRolesAndUsers
return _getAllowedRolesAndUsers(user)
File "/home/seb/zope/unit_test/Products/NuxUserGroups/CatalogToolWithGroups.py", line 203, in _getAllowedRolesAndUsers
groups = user.getGroups() + ('role:Anonymous',)
TypeError: can only concatenate list (not "tuple") to list
----------------------------------------------------------------------
Ran 5 tests in 80.822s
FAILED (errors=2)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.271s)
Traceback (most recent call last):
File "/home/seb/zope/Products/ERP5Type/tests/runUnitTest.py", line 200, in ?
main()
File "/home/seb/zope/Products/ERP5Type/tests/runUnitTest.py", line 196, in main
result = runUnitTestList(test_list=test_list)
File "/home/seb/zope/Products/ERP5Type/tests/runUnitTest.py", line 147, in runUnitTestList
m = __import__(test_module)
ImportError: No module named testERP5Security
More information about the Erp5-report
mailing list